|
ContentsIndex |
This page contains the following information: Displays existing device group resources in the Clusterscstat -D Registering VxVM device groupsscconf -a -D type=vxvm,name=. \
Moving device groups across nodes of a clusterWhen VxVM device groups are registered as Sun Cluster resources, NEVER USE vxdg import/deport commands to change ownership (node-wise) of the device group. This will cause Sun Cluster to treat device group as failed resource. Use the following command instead: # scswitch -z -D -h Resyncing device groupsscconf -c -D name=,sync Changing device group configurationscconf -c -D name=,preferenced=,failback= Maintenance modescswitch -m -D
To come back out of maintenance modescswitch -z -D -h Repairing DID device database after replacing JBOD disksMake sure you know which disk to update ... scdidadm -l c1t1d0 returns node1:/dev/rdsk/c1t1d0 /dev/did/rdsk/d7 scdidadm -l d7 returns node1:/dev/rdsk/c1t1d0 /dev/did/rdsk/d7 Then use following cmds to update and verify the DID info: scdidadm -R d7 returns a large string with disk id. Replacing a failed disk in a A5200 Array (similar concept with other FC disk arrays)vxdisk list #get the failed disk name vxprint -g dgname #determine state of the volume(s) that might be affected On the hosting node, replace the failed disk: luxadm remove enclosure,position On either node of the cluster (that hosts the device group): scdidadm -l c#t#d# On the hosting node: vxdctl enable vxdiskadm #replace failed disk in vxvm vxprint -g Remove any relocated submirrors/plexes (if hot-relocation had to move something out of the way): vxunreloc repaired-diskname Solaris Vol Mgr (SDS) in Sun Clustered EnvPreferred method of using Soft partitions is to use single slices to create mirrors and then create volumes (soft partitions) from that (kind of similar to VxVM public region in an initialized disk). Shared Disksets and Local DisksetsOnly disks that are physically located in the multi-ported storage will be members of shared disksets. Only disks that are in the same diskset operate as a unit; they can be used together to build mirrored volumes, and primary ownership of the diskset transfers as a while from node to node. Boot disks are the local disksets. This is a pre-requisite in order to have shared disksets. Replica management
Modifying /kernel/drv/md.confnmd \=\= max num of volumes (default 128) Creating shared disksets and mediatorsscdidadm -l c1t3d0 Returns d17 as DID device scdidadm -l d17 Remaining syntax vis-a-vis Sun Cluster is identical to that for VxVM. IPMP and Sun ClusterIPMP is cluster un-aware. To work around that, Sun Cluster uses Cluster-specific public network mgr daemon (pnmd) to integrate IPMP into the cluster. pmnd daemon has two capabilities:
When pnmd detects all members of a local IPMP group have failed, it consults a file called /var/cluster/run/pnm_callbacks. This file contains entries that would have been created by the activation of LogicalHostname and SharedAddress resources. It is the job of hafoip_ipmp_callback to device whether to migrate resources to another node. scstat -i #view IPMP configuration |