Video Screencast Help

Veritas cluster basic quesiton about hastop -local -force

Created: 27 Nov 2013 • Updated: 28 Nov 2013 | 5 comments
mokkan's picture
This issue has been solved. See solution.

Hello,

I was reading a thread here and if I do hastop  -local -force on the node, it will leave service group and running. I have done it our VCS and service group went offline.

Am I doing some thing wrong here?

Operating Systems:

Comments 5 CommentsJump to latest comment

mikebounds's picture

If you run "hastop  -local -force" it will stop the VCS processes on the node you run it on, but it will not run the offline entry points for the resources online on that node, so if for example, Oracle is running in a service group on that node, then VCS will not stop the database and umount the filesystems so if you checked on the node, then Oracle should still be running and the filesystems mounted.  However as VCS is stopped on that node, then the other node may report the service group is offline as it doesnt know the state.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
Gaurav Sangamnerkar's picture

Hello,

Agree with Mike, hastop -local -force will take all the VCS process offlline but the configured resources inside will be running.

As there is no VCS process running, there is no one to manage VCS service groups as well hence service groups also go offline but the -force switch ensures that what ever was configured inside VCS like mount points, volumes, diskgroups, databases, applications etc, that will be kept running.

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

mokkan's picture

Thank you very much Mike and Gaurav.

If I undertand correctly, basically  other node can't find the status of this node. If I do hastatus  -sum on the other node it would show as unknow state, but if I have file system mounted using one of the resource, there is no affect, but when we do hastatus -sum it would show as offline or unknown state right?

 

Also,  if I start the VCS on the node, would it restart the process? For an example if there is mount resource, would it remount ?

When you say  "it will stop the VCS processes" It means it will stop  HAD daemon and HAShadow daemon?

LLT, GAB, Application processes will run right?

 

Thanks in advance.

mikebounds's picture

See answers below:

If I undertand correctly, basically  other node can't find the status of this node. Correct

If I do hastatus  -sum on the other node it would show as unknow state, but if I have file system mounted using one of the resource, there is no affect, but when we do hastatus -sum it would show as offline or unknown state right? Correct

 

Also,  if I start the VCS on the node, would it restart the process? For an example if there is mount resource, would it remount ? No - when you start VCS, VCS probes resources (runs monitor entry points) and if resource is online (example filesystem is mounted), then VCS marks resource as online - it will not restart the process so it would not remount a filesystem

When you say  "it will stop the VCS processes" It means it will stop  HAD daemon and HAShadow daemon? Yes - and also the VCS agent processes.  VCS runs one VCS agent process per agent type so for example you will have a process for Mount and process for Diskgroup and these processes are stopped when you stop VCS

LLT, GAB, Application processes will run right? Correct

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

mokkan's picture

You made my Day.

 

Thank you very much Mikebounds.  You are bering very helpful.