No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

VCS main.cf file configuration in veritas leads HA failure between the servers.

Publication Date:  2012-07-25 Views:  62 Downloads:  0
Issue Description
Below are descriptions of the states that a Cluster Server node could end up in problem with configuration file in veritas leads HA failure as seen from
the following command:

root@N2000SERVERA # hastatus
attempting to connect....connected

group resource system message
--------------- -------------------- -------------------- --------------------
N2000SERVERA ADMIN WAIT
problem with configuration file?
N2000SERVERB *FAULTED*
 




Alarm Information

root@N2000SERVERA # hastatus
attempting to connect....connected

group resource system message
--------------- -------------------- -------------------- --------------------
N2000SERVERA ADMIN WAIT
problem with configuration file?
N2000SERVERB *FAULTED*



Handling Process
Procedure:
Execute following command
# hasys -force sysname
This will have the effect of starting Cluster Server on that node and starting Cluster Server running on all other nodes in the ADMIN_WAIT or STALE_ADMIN_WAIT state.


Root Cause
If all systems are in STALE_ADMIN_WAIT or ADMIN_WAIT, first validate the configuration file (/etc/VRTSvcs/conf/config/main.cf) on all systems in the cluster by running the 'hacf -verify .' command for syntax error check (ensure that this command is run in the directory containing the main.cf file), and reviewing its contents for proper resource and service group definitions.


The main.cf which includes a Rational ClearCase service group and resources. In this example, the sample scripts in previous sections were created in the/etc/VRTSvcs directory, but could be placed in any directory that is accessible by root.

===============================================================================

include "types.cf" 

cluster vcs1 (
  UserNames = { admin = annOniNhoInwMr }
  ClusterAddress = "19.34.112.245"
  Administrators = { admin }
  CredRenewFrequency = 0
  CounterInterval = 5
  ) 

system hanode1 (
  ) 

system hanode2 (
  ) 

group ClearCase (
  SystemList = { hanode1 = 0, hanode2 = 1 }
  AutoStartList = { hanode1 }
  )   

Application CC (
   StartProgram = "/etc/VRTSvcs/cconline"
   StopProgram = "/etc/VRTSvcs/ccoffline"
   CleanProgram = "/etc/VRTSvcs/ccclean"
   MonitorProcesses = { "/opt/rational/clearcase/etc/albd_server" }
   )
   IP CC-IP (
   Device @hanode1 = hme0
   Device @hanode2 = hme0
   Address = "19.34.112.235"
   )

   NIC CC-NIC (
   Device @hanode1 = hme0
   Device @hanode2 = hme0
   )
   CC requires CC-IP
  CC-IP requires CC-NIC

  // resource dependency tree
  //
  // group ClearCase
  // {
  // Application CC
  //     {
  //     IP CC-IP
  //         {
  //         NIC CC-NIC
  //         }
  //     }
  // }  

group ClusterService (
  SystemList = { hanode2 = 0, hanode1 = 1 }
  UserStrGlobal = "vcs1_14141@https://19.34.112.28:8443;vcs1_14141@https://19.34.112.30:8443;"
  AutoStartList = { hanode2, hanode1 }
  OnlineRetryLimit = 3
  OnlineRetryInterval = 120
  )

   IP webip (
   Device = hme0
   Address = "19.34.112.245"
   NetMask = "255.255.252.0"
   )

   NIC csgnic (
   Device = hme0
   )
   NotifierMngr ntfr (
   SmtpServer = "smtp.server.com"
   SmtpRecipients = { "user@address.com" = Information }
   )
   VRTSWebApp VCSweb (
   Critical = 0
   AppName = vcs
   InstallDir = "/opt/VRTSweb/VERITAS"
   TimeForOnline = 5
   RestartLimit = 3
   )
   VCSweb requires webip
  ntfr requires csgnic
  webip requires csgnic

  // resource dependency tree
  //
  // group ClusterService
  // {
  // VRTSWebApp VCSweb
  //     {
  //     IP webip
  //         {
  //         NIC csgnic
  //         }
  //     }
  // NotifierMngr ntfr
  //     {
  //     NIC csgnic
  //     }
  // }


Suggestions
null

END