Академический Документы
Профессиональный Документы
Культура Документы
com
Page 1 of 5
Go
Contents Index
Contents Index Data Services in the Cluster Fault monitor operations Using scrgadm to register and configure Data service software Command Quick Reference Sun Terminal Concentrator (Annex NTS)
additional filesystem checks mounts and unmounts enables Sun cluster to failover local file systems (to failover, local file system must reside on global de groups with affinity switchovers enabled) Data Service Agent is a specially written software that allows a data service in a cluster to Data Service Agent (or Agent) does the following to a standard application: stops/starts an application monitors faults validates configuration provides a registration information file that allows Sun Cluster to store all the info about the methods
Sun Cluster 2.x runs Fault Monitoring components on failover node, and can initiate a takeover. On Clust software, it is not allowed. Monitor can either monitor to restart or failover on primary (active host) Failover resource groups:
Logical host resource SUNW.Logicalhostname Data Storage Resource SUNW.HAStoragePlus NFS resource SUNW.nfs
http://wikis.sun.com/display/SunCluster/Dwai+Lahiri's+Sun+Cluster+Cheat+Sheet+-+4
3/30/2011
Page 2 of 5
3. Create your file system. 4. Update /etc/vfstab to change '-' boot options Example:
6. Bring the resource group online which will mount the specified filesystem:
root@aesnsra2:../ # scswitch -Z -g hastp-aesnsra2-rg
7. Enable resource.
root@aesnsra2:../# scswitch -e -j osdumps-dev-rs
http://wikis.sun.com/display/SunCluster/Dwai+Lahiri's+Sun+Cluster+Cheat+Sheet+-+4
3/30/2011
Page 3 of 5
http://wikis.sun.com/display/SunCluster/Dwai+Lahiri's+Sun+Cluster+Cheat+Sheet+-+4
3/30/2011
Page 4 of 5
Enable resource and resource monitors, manage resource group and switch resource online state
scswitch -Z -f nfs-rg
scstat -g
# scconf -c -D name=aesnfsp,sync
root@aesrva1:../ # vxprint -g aesnfsp -v saptrans TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v saptrans fsgen ENABLED 188743680 - ACTIVE - -
root@aesrva1:../ # fsadm -F vxfs -b 188743680 /saptrans UX:vxfs fsadm: INFO: /dev/vx/rdsk/aesnfsp/saptrans is currently 178257920 sector s - size will be increased
Enable setup mode by pressing TC test button until TC power indicator starts to blink rapidly, then release button and press it briefly. On entering the Setup mode, a monitor: prompt is displayed. Set up IP address using:
http://wikis.sun.com/display/SunCluster/Dwai+Lahiri's+Sun+Cluster+Cheat+Sheet+-+4
3/30/2011
Page 5 of 5
monitor::addr
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 set port= type mode #Choose various options quit (to exit the boot prompt) boot
The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.
Oracle Social Media Participation Policy Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact 2010, Oracle Corporation and/or its affiliates Powered by Atlassian Confluence
http://wikis.sun.com/display/SunCluster/Dwai+Lahiri's+Sun+Cluster+Cheat+Sheet+-+4
3/30/2011