Executing sybha

The sybha executable enables the Adaptive Server High Availability Basis Services library to interact with each platform’s high availability cluster subsystem. The library calls sybha, which is located in $SYBASE/ASE-12_5/bin. Before sybha can run, you must change its ownership and permissions. You must also edit a file named sybhauser in $SYBASE/ASE-12_5/install. sybhauser contains a list of the users who have System Administrator privileges on the cluster. Sybase strongly recommends that you limit the number of users who have System Administrator privileges.

As root, perform the following:

  1. Add a new group named sybhagrp. Either add this group to the /etc/group file, or to your NIS maps. Add the sybase user to this group (this is the user that owns the $SYBASE directory). When the server is started, the sybase user runs the data server. If you have multiple servers running with different users owning the $SYBASE directory, each of these users must be added to the sybhagrp.

  2. Change to the $SYBASE/$SYBASE_ASE/bin directory:

    cd $SYBASE/$SYBASE_ASE/bin
    
  3. Change the ownership of sybha to root:

    chown root sybha
    
  4. Change the group for the sybha program to sybhagrp:

    chgrp sybhagrp sybha
    
  5. Modify the file permissions for sybha to 4550:

    chmod 4550 sybha
    
  6. Change to the $SYBASE/$SYBASE_ASE/install directory:

    cd $SYBASE/ASE-12_5/install
    
  7. Add the sybase user to the sybhauser file. These logins must be in the format of UNIX login IDs, not Adaptive Server logins. For example:

    sybase
    coffeecup
    spooner
    venting
    howe
    
  8. Change the ownership of sybhauser to root:

    chown root sybhauser
    
  9. Modify the file permissions for sybhauser:

    chmod 600 sybhauser