sybha executable

The sybha executable provides the ability for the Adaptive Server High Availability Basic Services Library to interact with each platform’s high availability cluster subsystem. The Adaptive Server High Availability Basic Services Library calls sybha, which is located in $SYBASE/$SYBASE_ASE/bin. Before you can sybha, you must change its ownership and permissions. You must also edit a file named sybhauser in $SYBASE/$SYBASE_ASE/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 on the cluster.

As “root”:

  1. Add a new group named sybhagrp. You can either add this group to the /etc/group file, or you can add it 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 and different users owning the $SYBASE directory for each of them, each of these users must be added to the group

  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/$SYBASE_ASE/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