The UNIX way.

Around the clock, across the globe. By Vladimir Legeza

Load Balance without dedicated equipment.

leave a comment »

A short video about how to use CARP (BSD) and ClusterIP (Linux) for balancing work load between a number of servers.

 

Advertisements

Written by Vladimir Legeza

December 13, 2010 at 8:52 am

Posted in BSD, CARP, Linux, Load Balance, Video

Sun T1000 on my operational table.

leave a comment »

Today I had moved out a lastest production service from one of our most importent servers. And now it’s ready to be transfered to another DataCenter.

Written by Vladimir Legeza

July 13, 2010 at 11:47 pm

Posted in Hardware, Sun/Oracle

Tagged with , , , ,

“! bad user” error for the LDAP (with TLS) account in /var/cron/log.

leave a comment »

The first of all, I found that each account should have a few objects of shadowAccount class. This is necessary because they are contains an information about account status (about expiration in this case).

objectClass: shadowAccount
shadowExpire:
shadowFlag:
0

After adding such objects for every single account, that might be used to perform tasks via cron daemon, I saw that these accounts become visible in shadow database as well as it was in passwd database before.

# ldaplist shadow mnt-indexer
dn: uid=mnt-indexer,ou=MNT Users,ou=Other Users,dc=rbcsoft,dc=ru
# ldaplist passwd mnt-indexer
dn: uid=mnt-indexer,ou=MNT Users,ou=Other Users,dc=rbcsoft,dc=ru

The second thing I found was that every process that makes request to LDAP with TLS trough pam_unix_account.so.1 should have a read access to the database that contains keys used to establish TLS connection (usually placed in /var/ldap in *.db files).
Read the rest of this entry »

Written by Vladimir Legeza

July 10, 2010 at 6:09 pm

Posted in LDAP, Solaris, Solaris

Tagged with , , ,

Installing Solaris 10 on to LSI MegaRaid 320-1

leave a comment »

Solaris 10 did not support LSI MegaRaid 320-1. I spent a lot of time searching for installation solution. After reading this forum’s thread and googling, I found that latest official lsimaga driver (compatible with 320-1. link) is now shipped with Solaris 10 and driver delivered with OpenSolaris recognize LSI 320-1 by default (link).

So, I just make driver configuration changes during installation.
Read the rest of this entry »

Written by Vladimir Legeza

July 9, 2010 at 11:00 pm

Posted in Solaris, Solaris

Tagged with

ZFS “promote”.

leave a comment »

Originally rpool/zones/p_l1 was created as rpool/zones/p_p1 clone.
And as a result of clone, we've got rpool/zones/p_p1@SUNWzone1 snapshot.

# zfs get all rpool/zones/p_l1
NAME              PROPERTY         VALUE                      SOURCE
rpool/zones/p_l1  type             filesystem                 -
rpool/zones/p_l1  creation         Tue Jul 28 13:22 2009      -
rpool/zones/p_l1  used             634M                       -
rpool/zones/p_l1  available        34.3G                      -
rpool/zones/p_l1  referenced       1.38G                      -
rpool/zones/p_l1  compressratio    1.00x                      -
rpool/zones/p_l1  mounted          yes                        -
rpool/zones/p_l1  origin           rpool/zones/p_p1@SUNWzone1 -
rpool/zones/p_l1  quota            none                       default
rpool/zones/p_l1  reservation      none                       default
rpool/zones/p_l1  recordsize       128K                       default
rpool/zones/p_l1  mountpoint       /zones/p_l1                inherited from rpool/zones
 Read the rest of this entry »

Written by Vladimir Legeza

April 28, 2010 at 3:53 pm

Posted in Solaris, Solaris, ZFS

Tagged with ,