- 论坛徽章:
- 0
|
1.prepare for cluster software installation,the point of this step is rsh ,/globaldevices and share disk.
cat /etc/vfstab
...
/dev/dsk/c1t0d0s6 /dev/rdsk/c1t0d0s6 /nbu_release ufs 2 yes -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 /nbu ufs 2 yes -
#/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /globaldevices ufs 1 no -
/dev/did/dsk/d10s3 /dev/did/rdsk/d10s3 /global/.devices/node@2 ufs 2 no global
/dev/vx/dsk/nbudg/nbuvol /dev/vx/rdsk/nbudg/nbuvol /mountufs ufs 2 no -
...
AVAILABLE DISK SELECTIONS:
0. c1t0d0
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0
/pci@1c,600000/scsi@2/sd@1,0
2. c5t50060E8000838432d0
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,0
3. c5t50060E8000838432d1
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,1
4. c5t50060E8000838432d2
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,2
5. c5t50060E8000838432d3
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,3
6. c5t50060E8000838432d4
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,4
7. c5t50060E8000838432d5
/pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w50060e8000838432,5
Must validate the share disk are available and /globalservices is locally on the two nodes
2.install solaris software ,go!
3.run scinstall to configure sun cluster software on all nodes
tips: if machine run repeatedly,we can use boot --x to get into no-cluster status for repair.
and using scstat -n to verify
4.install vxvm software and register disk group using scsetup
tips:using scstat -D to verify
and version of vxvm should be 4.1 for solaris 10, 5.0 fail
5.create cluster file systems
newfs /dev/vx/rdsk/diskgroup/diskvol
mount /dev/vx/dsk/diskgroup/diskvol /mountpoint
6.create failover resouce group to hold the network and application resouces
scrgadm -a -L -g resource-group -l logical-hostname
7. install nbu using virtual machine name
8. install sun cluster HA for netbackup,no tips
9. configure nbu EMM db on share disk
/usr/openv/netbackup/bin/cluster/cluster_config
10.setup mount point resouce group
Select the type of resource you want to add:
Res Name Description
======== ===========
1) SUNW.dsldap Sun Java(TM) System Directory Server on Sun ...
2) SUNW.Event HA Event server for Sun Cluster
3) SUNW.gds:5 Generic Data Service for Sun Cluster
4) SUNW.hadb HA Sun Java System App Server EE (HADB)
5) SUNW.hadb_ma HA Sun Java System HADB (Management Agent)
6) SUNW.HAStorage HA Storage Resource Type
7) SUNW.HAStoragePlus:2 HA Storage Plus - A Resource Type which sub ...
8) SUNW.iim:1.0 Java System Instant Messaging Resource Type
9) SUNW.ims HA iPlanet Mail Server Resource Type
10) SUNW.iws:4 HA Sun Java System Web Server
11. scswitch to one node and bpps
Usage:
scswitch -z -g resource_grp[,...] -h node[,...]
scswitch -z -D device_group_name[,...] -h node
scswitch -S -h from_node
scswitch -R -h node[,...] -g resource_grp[,...]
scswitch -m -D device_service_name[,...]
scswitch -e | -n [-M] -j resource[,...]
scswitch -u | -o -g resource_grp[,...]
scswitch -c -h node[,...] -j resource[,...] -f flag_name
scswitch -Z [-g resource_grp[,...]]
scswitch -F -g resource_grp[,...] | -D device_group_name[,...]
-----------------------configration snapshot----------------------
[email=root@scstat]scstat[/email]
------------------------------------------------------------------
-- Cluster Nodes --
Node name Status
--------- ------
Cluster node: sparc131 Online
Cluster node: demo1 Online
------------------------------------------------------------------
-- Cluster Transport Paths --
Endpoint Endpoint Status
-------- -------- ------
Transport path: sparc131:bge2 demo1:bge2 Path online
Transport path: sparc131:bge1 demo1:bge1 Path online
------------------------------------------------------------------
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 3
-- Quorum Votes by Node --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: sparc131 1 1 Online
Node votes: demo1 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: /dev/did/rdsk/d15s2 1 1 Online
------------------------------------------------------------------
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
Device group servers: rmt/2 - -
Device group servers: rmt/1 - -
Device group servers: nbudg demo1 sparc131
-- Device Group Status --
Device Group Status
------------ ------
Device group status: rmt/2 Offline
Device group status: rmt/1 Offline
Device group status: nbudg Online
-- Multi-owner Device Groups --
Device Group Online Status
------------ -------------
------------------------------------------------------------------
-- Resource Groups and Resources --
Group Name Resources
---------- ---------
Resources: NBU sunnet
Resources: mountufs pathvol
Resources: scnb-harg scnb-hars
-- Resource Groups --
Group Name Node Name State
---------- --------- -----
Group: NBU sparc131 Offline
Group: NBU demo1 Online
Group: mountufs sparc131 Offline
Group: mountufs demo1 Online
Group: scnb-harg sparc131 Offline
Group: scnb-harg demo1 Online
-- Resources --
Resource Name Node Name State Status Message
------------- --------- ----- --------------
Resource: sunnet sparc131 Offline Offline - LogicalHostname offline.
Resource: sunnet demo1 Online Online - LogicalHostname online.
Resource: pathvol sparc131 Offline Offline
Resource: pathvol demo1 Online Online
Resource: scnb-hars sparc131 Offline Offline
Resource: scnb-hars demo1 Online Online
------------------------------------------------------------------
-- IPMP Groups --
Node Name Group Status Adapter Status
--------- ----- ------ ------- ------
IPMP Group: sparc131 sc_ipmp0 Online bge0 Online
IPMP Group: demo1 sc_ipmp0 Online bge0 Online
------------------------------------------------------------------
Ref:
1)
http://docs.sun.com/app/docs/
2)suncluster install guide
3)suncluster admin guide
4)suncluster data service for nbu for sparc solaris 10
5)nbu60 admin for high availability
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/38775/showart_336424.html |
|