|
ContentsIndex |
This page contains the following information: Data Services in the ClusterHAStoragePlus helps configure a local filesystem into a highly available one. It provides following capabilities:
Data Service Agent — is a specially written software that allows a data service in a cluster to operate properly. Data Service Agent (or Agent) does the following to a standard application:
Sun Cluster 2.x runs Fault Monitoring components on failover node, and can initiate a takeover. On Cluster 3.x software, it is not allowed. Monitor can either monitor to restart or failover on primary (active host) node. Failover resource groups: Logical host resource — SUNW.Logicalhostname Data Storage Resource — SUNW.HAStoragePlus NFS resource — SUNW.nfs Shutdown a resource groupscswitch -F -g Turn on a resource groupscswitch -Z -g Switch a failover group over to another nodescswitch -z -g -h Restart a resource groupscswitch -R -h -g Evacuate all resources and rgs from a nodescswitch -S -h node Disable a res and its fault monitorscswitch -n -j Enable a resource and it's fault monitorscswitch -e -j Clear the STOP_FAILED flagscswitch -c -j -h -f STOP_FAILED How to add a diskgroup and volume to Cluster configuration
Fault monitor operationsDisable the fault monitor for a resourcescswitch -n -M -j Enable the fault monitor for a resourcescswitch -e -M -j scstat -g #shows status of all resource groups Using scrgadm to register and configure Data service softwarescrgadm -a -t SUNW.nfs scrgadm -a -t SUNW.HAStoragePlus Create a failover resourcescrgadm -a -f nfs-rg -h node1,node2 \ Add logical host name resource to resource groupscrgadm -a -L -g nfs-rg -l clustername-nfs Create a HAStoragePlus resourcescrgadm -a -j nfs-stor -g nfs-rg \ Create SUNW.nfs resourcescrgadm -a -j nfs-res -g nfs-rg \ Print the various resource/resource group dependencies via scrgadmscrgadm -pvv|grep -i depend #And then parse this output Enable resource and resource monitors, manage resource group and switch resource group to online statescswitch -Z -f nfs-rg scstat -g Show current resource group configurationscrgadm -p[v[v]] [ -t resource_type_name ] [ -g resgrpname ] \ Resizing a VxVM/VxFS vol/fs under Sun Cluster# vxassist -g aesnfsp growby saptrans 5g # scconf -c -D name=aesnfsp,sync root@aesrva1:../ # vxprint -g aesnfsp -v saptrans root@aesrva1:../ # fsadm -F vxfs -b 188743680 /saptrans # root@aesrva1:../ # scconf -c -D name=aesnfsp,sync Command Quick Referencescstat scconf scrgadm scha_ scdidadm Sun Terminal Concentrator (Annex NTS)Enable setup mode by pressing TC test button until TC power indicator starts to blink rapidly, then release the button and press it briefly. On entering the Setup mode, a monitor: prompt is displayed. Set up IP address using: monitor::addr Setting up Load source: monitor::seq Specifying image: monitor::image Telnet into the TC IP address: Enter cli Elevate to privileged acct using su Run admin at the TC OS prompt: get admin: subprompt: show port=1 type mode |