Veritas Cluster Cheat sheet

cheat.sheets.org

Veritas Cluster Cheat sheet

display cluster summarycontinually monitor clusterverify the cluster is operatinghastatus -summaryhastatushasys -displayCluster Detailsinformation about a clustervalue for a specific cluster attributemodify a cluster attributeEnable LinkMonitoringDisable LinkMonitoringhaclus -displayhaclus -value haclus -modify haclus -enable LinkMonitoringhaclus -disable LinkMonitoringUsersadd a usermodify a userdelete a userdisplay all usershauser -add hauser -update hauser -delete hauser -displaySystem Operationsadd a system to the clusterdelete a system from the clusterModify a system attributeslist a system stateForce a system to startDisplay the systems attributesList all the systems in the clusterChange the load attribute of a systemDisplay the value of a systems nodeid(/etc/llthosts)Freeze a system (No offlining system, Nogroups onlining)Unfreeze a system ( reenable groups andresource back online)hasys -add hasys -delete hasys -modify hasys -statehasys -forcehasys -display [-sys]hasys -listhasys -load hasys -nodeidhasys -freeze [-persistent][-evacuate]Note: main.cf must be in write modehasys -unfreeze [-persistent]Note: main.cf must be in write modeDynamic ConfigurationThe VCS configuration must be in read/write mode in order to make changes. When in read/write mode theconfiguration becomes stale, a .stale file is created in $VCS_CONF/conf/config. When the configuration is putback into read only mode the .stale file is removed.Change configuration to read/writemodeChange configuration to read-onlymodehaconf -makerwhaconf -dump -makeroCheck what mode cluster is running in haclus -display |grep -i 'readonly'0 = write mode

More magazines by this user
Similar magazines