sybha executable

The Adaptive Server High Availability Basic Services library calls sybha, which is located in $SYBASE/$SYBASE_ASE/bin. Before sybha can run, you must change its ownership and permissions. You must also edit a file named sybhauser in $SYBASE/$SYBASE_ASE/install 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 (the user that owns the $SYBASE directory) to this group. When the server is started, the sybase user runs the data server. If you have multiple servers running, and different users own the $SYBASE directory for each of them, each user must be added to the group.

  2. Add “sybase” user to the group “hacmp”. This group is created as part of HACMP Cluster Software installation.

  3. Change to the $SYBASE/$SYBASE_ASE/bin directory.

  4. Change the ownership of sybha to “root”:

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

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

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

    cd $SYBASE/$SYBASE_ASE/install
    
  8. 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
    
  9. Change the ownership of sybhauser to “root”:

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

    chmod 600 sybhauser