09-21-2010 06:54 AM
Hi again,
What actually happens when an agents cleans a resource. I mean when the message appears "Agent is calling clean...."
Thanks
Solved! Go to Solution.
09-21-2010 07:23 AM
Hi,
Clean entry point is called when VCS encounters resource faults (eg. Monitor timeout, online timeout, offline timeout).
The agent for that specific resource calls the corresponding clean script. It is usually bringing down the resource in a forceful manner
Each agent has a different clean script. Refer the bundled agent guide for action taken by clean script of each resource.
For eg., here is the what clean script of IP resource would do:
Clean |
Brings down the IP address that is associated with the specified interface. |
Here is the one for zone resource:
Clean |
Another attempt to bring down a Solaris 10 zone forcefully. |
Take a look at the following doc on how VCS manages faults:
http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/html/vcs_users/ch_vcs_controlling_behavior2.html
Hope this answers your query.
09-21-2010 07:23 AM
Hi,
Clean entry point is called when VCS encounters resource faults (eg. Monitor timeout, online timeout, offline timeout).
The agent for that specific resource calls the corresponding clean script. It is usually bringing down the resource in a forceful manner
Each agent has a different clean script. Refer the bundled agent guide for action taken by clean script of each resource.
For eg., here is the what clean script of IP resource would do:
Clean |
Brings down the IP address that is associated with the specified interface. |
Here is the one for zone resource:
Clean |
Another attempt to bring down a Solaris 10 zone forcefully. |
Take a look at the following doc on how VCS manages faults:
http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/html/vcs_users/ch_vcs_controlling_behavior2.html
Hope this answers your query.
09-21-2010 08:56 AM
you can also check the clean scripts in the server itself, many of agents have perl or shell scripts for clean...
/opt/VRTSvcs/bin/<agent>/ where agents would be bundled agents like Diskgroup / IP/ NIC /Application..
inside the directory has clean script which you can have a look to understand what clean will do..
Gaurav