cancel
Showing results for 
Search instead for 
Did you mean: 

Agent cleaning resources

Jbert
Level 4

Hi again,

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

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

kunal
Level 4
Employee

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 2

kunal
Level 4
Employee

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.

Gaurav_S
Moderator
Moderator
   VIP    Certified

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