hasim - invokes simulated cluster process, allowing a simulation of VCS commands and a preview of configuration changes
hasim -setupclus cluster_name -simport port [-wacport port ]
hasim -start system_name [-clus cluster_name]
hasim -fault system_name res_name
hasim -faultcluster cluster_name
hasim -clearcluster cluster_name
hasim -online system_name res_name
The hasim command line utility can invoke simulated VCS commands on a simulated cluster. See NOTES for how to specify "-" and "%" characters in the command line.
-setupclus cluster_name -simport port [-wacport port]
Configure a new cluster, cluster_name, and a new system, system_name_sys1. The simulator can start at the specified port (see the -start option). To configure multiple simulated clusters with the Global Cluster option, use the -wacport option to configure wide area connector (wac) ports. For each cluster specified with the -setupclus option, the simulator sets up a configuration directory containing a basic configuration file.
-start system_name [-clus cluster_name]
Start a simulation process with the specified system in a RUNNING state. If the -clus is not specified, the simulator uses the configuration in the "default_clus" directory.
Stop the simulation process completely.
Bring up another system if its current state is UNKNOWN or FAULTED.
Cause the system to go down ungracefully (FAULTED, DOWN)
Cause the given resource on the given system to fault.
Simulate cluster fault by causing the heartbeats to the cluster to be DEAD.
Simulate clearing a cluster fault by causing the heartbeats to the cluster to be ALIVE. Cluster is brought to a RUNNING state.
Cause the given resource on a given system to go online. Useful if, after the fault of a persistent resource is simulated, the aim is to simulate the fault being fixed.
Simulated command on simulated cluster, equivalent to: hasys ...
Simulated command on simulated cluster, equivalent to: hagrp ...
Simulated command on simulated cluster, equivalent to: hares ...
Simulated command on simulated cluster, equivalent to: hatype ...
Simulated command on simulated cluster, equivalent to: haconf ...
Simulated command on simulated cluster, equivalent to: haattr ...
Simulated command on simulated cluster, equivalent to: haclus ...
Simulated command on simulated cluster, equivalent to: hamsg ...
When using the command to specify or modify an attribute's value that begins with a dash ("-"), precede the value with a percent sign ("%"). For example, specify -y as %-y. Likewise, precede a value that starts with a percent sign with another percent sign.