12-18-2018 05:34 AM
ENVIRONMENT
Product = InfoScale Availability
version = 7.4
HA Nodes = 2
OS = RHEL 7.4
QUERY
I am monitoring multiple processes under application resource. I noticed that when all processes started, the application resource suppose to show application resource is ONLINE on VERITAS Java Console. However it takes a 15-20 seconds delay in showing resource online
12-19-2018 08:13 PM
This is normal. VCS by design monitors resource status change in a given time interval called MonitorInterval. There are many parameetrs and tunables for each resource type and resources.
you can run the commands below to get a list associated with a resource
#hares -diaplay <res_name>
or
#hatype -display <agent_name>
exam[le:
hatype -display NIC
This technote contains a bit more in details about resruce monitoring https://www.veritas.com/support/en_US/article.000039371
12-19-2018 08:31 PM
forgot to mention in the previous reply that you can tune vcs resource or agents by running
hares -modify <res_name> <sttribute> <new_valune>
or
hatype -modify <agent_name> attribute> <new_value>
examples:
hares -modify csgnic Device ce0 -sys fan-v240
hatype -modify NotifierMngr LogLevel debug
12-19-2018 08:43 PM
Thanks for your response. I can understand what you are saying but please understand my point of conflict.
Please note: when I add only one process(xyz.exe) in application resource under monitor process attribute and online application resource thru JavaConsole, the resource shows online in parallel when I see the process become online under OS command ps -ef |grep xyz.exe.
However, when I add multiple processes(xyz.exe, xyz1.exe, xyz2.exe, xyz3.exe) in application resource under monitor process attribute and online application resource thru JavaConsole, the resource shows delay in showing application resource online in parallel when I see all processes become online under OS command ps -ef |grep *.exe.
12-20-2018 08:34 PM
Do you mind posting your resource configuration (in main.cf) here?
12-20-2018 10:45 PM
Sure. Please find the below snap of application resource properties where I mentioned all process which need to be monitored
12-22-2018 02:25 AM
thanks for the info posted.
however, this is not what I asked for.
please go to /etc/VRTZSvcs/conf/config directory. in this directory, there is a file called main.cf.
if you vi this file and search for the resource name, you should find a section starting with Application.
Example:
Application SAP_CI (
Critical = 0
User = prdadm
StartProgram = "/sapmnt/PRD/home/vcs_prdadm_start_sap.sh"
StopProgram = "/sapmnt/PRD/exe_64/stopsap r3"
CleanProgram = "/sapmnt/PRD/home/vcs_prdadm_cleanipc.sh"
PidFiles = { "" }
where SAP_CI is the resource name.