Creating an application under VCs
- 11 years ago
You also must use at least one of the following attributes:
MonitorProgram
MonitorProccesses
PIDFilesIf you application doesn't have any processes, then you can just create and remove a file in StartProgram and StopProgram and check file exists in MonitorProgram
Exit values for StartProgram and StopProgram should be 0 and:
MonitorProgram can return the following VCSAgResState values:OFFLINE value is 100 or 1; ONLINE values range from 101 to 110 or0 (depending on the confidence level); 110 equals confidence level of100%. Any other value = UNKNOWN.Mike - 11 years ago
You can look at using Process Agent as well
https://sort.symantec.com/public/documents/sfha/6.1/solaris/productguides/html/vcs_bundled_agents/ch05s05.htm
You can look at entry points for process agent here
https://sort.symantec.com/public/documents/sfha/6.1/solaris/productguides/html/vcs_bundled_agents/ch05s05s04.htm
G
- 11 years ago
Also, please check that the start and stop scripts return after starting/stopping the application. If that is not done, then the online and offline operations of the application resource will timeout.
And as mentioned by Mike, specify atleast one of the 3 monitoring attributes: MonitorProgram, MonitorProcesses or PidFiles, depending on what is convenient for your application.
- 11 years ago
Process Agent may be a better choice for your requirement.
Please locate the Documentation for your OS and SF/HA combination on https://sort.symantec.com/documents and download the Bundled Agent Guide for detailed config info for Process and Application agents.