cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Agent cleaning resources

Hi again,

What actually happens when an agents cleans a resource. I mean when the message appears "Agent is calling clean...."

Thanks

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

tries to offline - forcibly

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.

View solution in original post

2 Replies
Highlighted
Accepted Solution!

tries to offline - forcibly

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.

View solution in original post

Highlighted

you can also check the clean

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