VCS 6.1 : How to Manage Cluster Systems using hasys

 vcs-how-to
hasys – add, modify, delete, display, or list information about a system. The hasys command allows administrators to manage information about each system. (A system is an object representing an individual computer within a cluster.)
Example From a script, to use the -wait option to direct the hasys command to block until system S1 goes into the RUNNING state, enter:
# hasys -wait S1 SysState RUNNING
::: To display a list of systems in the cluster
 #hasys -list
:::To display information about each system
# hasys -display [system]
If you do not specify a system, the command displays attribute names and values for all systems.
::: To display the value of a specific system attribute
# hasys -value system attribute
::: To display system attributes related to resource utilization
Use the following command to view the resource utilization of the following system attributes:
  • Capacity
  •  HostAvailableForecast
  •  HostUtilization
# hasys -util system
  • The -util option is applicable only if you set the cluster attribute Statistics to Enabled and define at least one key in the cluster attribute HostMeters.
  • The command also indicates if the HostUtilization, and HostAvailableForecast values are stale.

 

 

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us