Home > Veritas Cluster Server Manual Pages
HASIM (1M) |
|
Maintenance Commands |
Table of contents
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 -stop
hasim -up system_name
hasim -poweroff system_name
hasim -fault system_name res_name
hasim -faultcluster cluster_name
hasim -clearcluster cluster_name
hasim -online system_name res_name
hasim -sys [ ]
hasim -grp [ ]
hasim -res [ ]
hasim -type [ ]
hasim -conf [ ]
hasim -attr [ ]
hasim -clus [ ]
hasim -msg [ ]
VRTSvcssim
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
-
Stop the simulation process completely.
-
-up system_name
-
Bring up another system if its current state is UNKNOWN or FAULTED.
-
-poweroff system_name
-
Cause the system to go down ungracefully (FAULTED, DOWN)
-
-fault system_name res_name
-
Cause the given resource on the given system to fault.
-
-faultcluster cluster_name
-
Simulate cluster fault by causing the heartbeats to the cluster to be DEAD.
-
-clearcluster cluster_name
-
Simulate clearing a cluster fault by causing the heartbeats to the cluster to be ALIVE. Cluster is brought to a RUNNING state.
-
-online system_name res_name
-
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.
-
-sys [ ... ]
-
Simulated command on simulated cluster, equivalent to: hasys
-
-grp [ ... ]
-
Simulated command on simulated cluster, equivalent to: hagrp
-
-res [ ... ]
-
Simulated command on simulated cluster, equivalent to: hares
-
-type [ ... ]
-
Simulated command on simulated cluster, equivalent to: hatype
-
-conf [ ... ]
-
Simulated command on simulated cluster, equivalent to: haconf
-
-attr [ ... ]
-
Simulated command on simulated cluster, equivalent to: haattr
-
-clus [ ... ]
-
Simulated command on simulated cluster, equivalent to: haclus
-
-msg [ ... ]
-
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.
Copyright (c) 2008 Symantec.
All rights reserved.
Last updated: 07/03/2008
Copyright ©2009 Symantec Corporation
All rights reserved.