InfoScale™ 9.0 Cluster Server Agent for Sybase Installation and Configuration Guide - AIX

Last Published:
Product(s): InfoScale & Storage Foundation (9.0)
Platform: AIX
  1. Introducing the Cluster Server agent for Sybase
    1.  
      About the Cluster Server agent for Sybase
    2.  
      Supported software for the VCS agent for Sybase
    3.  
      How the agent makes Sybase highly available
    4.  
      How the Sybase and SybaseBk agents support intelligent resource monitoring
    5. About the Sybase agent functions
      1.  
        Sybase agent functions
      2.  
        SybaseBk agent functions
      3.  
        Using the IPC Cleanup feature for the Sybase agent
    6.  
      Monitoring options for the Sybase agent
    7.  
      Action function for the VCS agent for Sybase
    8.  
      Typical Sybase configuration in a VCS cluster
  2. Installing and configuring Sybase
    1. VCS requirements for installing Sybase
      1.  
        Sybase installation directory
      2.  
        SYBASE directory on shared disks
      3.  
        System Group and User for Sybase home directory
      4.  
        Database dbspaces
      5.  
        Transparent TCP/IP failover
      6.  
        Changes required in Sybase RUN_Server file for AMF offline monitoring
      7.  
        Language settings for the Sybase agent
      8.  
        AMF kernel driver limitation for process offline event notification
    2.  
      Installing Sybase in a VCS environment
    3.  
      Configuring Sybase for detail monitoring
  3. Installing, upgrading, and removing the agent for Sybase
    1.  
      Before you install or upgrade the agent for Sybase
    2.  
      Installing the agent for Sybase
    3.  
      Disabling the agent for Sybase
    4.  
      Removing the agent for Sybase
    5.  
      Upgrading the agent for Sybase
  4. Configuring VCS service groups for Sybase
    1.  
      About configuring service groups for Sybase
    2. Before configuring the service group for Sybase
      1.  
        Importing the SybaseTypes.cf file
    3.  
      Configuring the service groups for Sybase
    4.  
      Configuring the service group for Sybase from Cluster Manager (Java console)
    5.  
      Configuring the service group for Sybase using the command line
    6.  
      Encrypting passwords for Sybase
    7. About setting up detail monitoring for the agent for Sybase
      1.  
        Enabling detail monitoring for the agent for Sybase
      2.  
        Disabling detail monitoring for the agent for Sybase
    8.  
      Enabling and disabling intelligent resource monitoring (IMF) for agents
    9.  
      Administering the AMF kernel driver
  5. Administering VCS service groups for Sybase
    1.  
      About administering service groups for Sybase
    2.  
      Bringing the Sybase service group online
    3.  
      Taking the Sybase service group offline
    4.  
      Switching the Sybase service group
    5.  
      Modifying the Sybase service group configuration
    6.  
      Viewing the agent log for Sybase
  6. Appendix A. Resource type definitions for Sybase
    1.  
      About the resource type and attribute definitions for Sybase
    2. Sybase resource type
      1.  
        Type definition for the Sybase agent
      2.  
        Attribute definitions for the Sybase agent
    3. SybaseBk resource type
      1.  
        Type definition for the SybaseBk agent
      2.  
        Attribute definitions for the SybaseBk agent
  7. Appendix B. Sample configurations for Sybase
    1.  
      About the sample configuration for the Sybase agent
    2.  
      Resource dependency graph for the Sybase agent
    3.  
      Sample configuration for a Sybase service group on AIX systems

Sample configuration for a Sybase service group on AIX systems

The following sample depicts a basic configuration with a Sybase service group configured with one NIC, one database instance configured with detail monitoring, and one backup instance.

   include "types.cf"
   include "SybaseTypes.cf"

   cluster vcscluster (
   UserNames = { admin = anoGniNkoJooMwoInl }
   Administrators = { admin }
   CounterInterval = 5
   )

   system system1 (
   )

   system system2 (
   )

   group Sybase_group (
   SystemList = { system1 = 0, system2 = 1 }
   AutoStartList = { system1, system2 }
   )

   DiskGroup dgres (
       DiskGroup = sybase
       )

   IP ipres (
       Device = en0
       Address = "16.9.1.9"
       NetMask = "255.255.0.0"
       )

   NIC nicres (
       Device = en0
       NetworkHosts = { "16.9.10.3", "16.9.10.4" }
       )

   Mount sybase_mastermount (
       MountPoint = "/sybdb"
       BlockDevice = "/dev/vx/dsk/sybase/sybdb"
       FSType = vxfs
       MountOpt = rw
       FsckOpt = "-n"
       )
   Mount sybase_mount (
       MountPoint = "/sybbin"
       BlockDevice = "/dev/vx/dsk/sybase/sybbin"
       FSType = vxfs
       MountOpt = rw
       FsckOpt = "-n"
       )

   Mount sybase_procsmount (
       MountPoint = "/sybprocsdb"
       BlockDevice = "/dev/vx/dsk/sybase/sybprocsdb"
       FSType = vxfs
       MountOpt = rw
       FsckOpt = "-n"
       )

   Mount sybase_usermount (
       MountPoint = "/sybuserdb"
       BlockDevice = "/dev/vx/dsk/sybase/sybuserdb"
       FSType = vxfs
       MountOpt = rw
       FsckOpt = "-n"
       )
 
   Sybase sybase_agent (
       Server = SYBASE_SERVER
       Owner = sybase
       Home @system1 = "/sybbin"
       Home @system2 = "/sybbin"
       Version @system1 = sybase15
       Version @system2 = sybase15
       SA = sa
       SApswd = GUJuPStSHsUUkSLsJ
       LevelTwoMonitorFreq = 1 
       User = sa
       UPword = GUJuPStSHsUUkSLsJ
       Db = vcsdb
       Table = vcstable
       Monscript = "/opt/VRTSagents/ha/bin/Sybase/SqlTest.pl"
       WaitForRecovery = 1
							Run_ServerFile = "/sybbin/RUN_SYBASE_SERVER"
       interfaces_File = "/newfs/interfaces"
							)

   SybaseBk sybase_bk_agent (
       Backupserver = SYBASE_SERVER_BS
       Owner = sybase
       Home @system1 = "/sybbin"
       Home @system2 = "/sybbin"
       Version @system1 = sybase15
       Version @system2 = sybase15
       Server = SYSTEM1
       SA = sa
       SApswd = GUJuPStSHsUUkSLsJ       
							Run_ServerFile = "/sybbin/RUN_SYBASE_SERVER_BS"
       interfaces_File = "/newfs/interfaces"
							)

   Volume sybaseBinVol (
       Volume = sybbin
       DiskGroup = sybase
       )

   Volume sybaseMasterVol (
       Volume = sybdb
       DiskGroup = sybase
       )

   Volume sybaseProcsVol (
       Volume = sybprocsdb
       DiskGroup = sybase
       )

   Volume sybaseUserVol (
       Volume = sybuserdb
       DiskGroup = sybase
       )

   ipres requires nicres
   sybaseBinVol requires dgres
   sybaseMasterVol requires dgres
   sybaseProcsVol requires dgres
   sybaseUserVol requires dgres
   sybase_agent requires ipres
   sybase_agent requires sybase_mastermount
   sybase_agent requires sybase_mount
   sybase_agent requires sybase_procsmount
   sybase_agent requires sybase_usermount
   sybase_bk_agent requires sybase_agent
   sybase_mastermount requires sybaseMasterVol
   sybase_mastermount requires sybase_mount
   sybase_mount requires sybaseBinVol
   sybase_procsmount requires sybaseProcsVol
   sybase_procsmount requires sybase_mount
   sybase_usermount requires sybaseUserVol
   sybase_usermount requires sybase_mount