+ All Categories
Home > Documents > VCS IO Fencing

VCS IO Fencing

Date post: 15-Feb-2016
Category:
Upload: nysa
View: 44 times
Download: 0 times
Share this document with a friend
Description:
VCS IO Fencing step by step putty logs. This document will give you clear picture of how to setup VCS IO fencing.
Popular Tags:
52
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.07.18 19:47:27 =~=~=~=~=~=~=~=~=~=~=~= bash-3.00# bash-3.00# bash-3.00# bash-3.00# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto - - error c1t500805F3000B2AE1d1s2 auto:cdsdisk - - online c1t500805F3000B2AE1d2s2 auto:cdsdisk - - online c1t500805F3000B2AE1d3s2 auto:cdsdisk - - online c1t500805F3000B2AE1d4s2 auto:cdsdisk - - online c1t500805F3000B2AE1d5s2 auto:cdsdisk c1t500805F3000B2AE1d5 test_dg online c1t500805F3000B2AE1d6s2 auto:cdsdisk c1t500805F3000B2AE1d6 test_dg online c1t500805F3000B2AE1d7s2 auto:cdsdisk c1t500805F3000B2AE1d7 test_dg online c1t500805F3000B2AE1d8s2 auto:cdsdisk - - online c1t500805F3000B2AE1d9s2 auto:cdsdisk - - online
Transcript

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.07.18 19:47:27 =~=~=~=~=~=~=~=~=~=~=~=

bash-3.00# bash-3.00#

bash-3.00#

bash-3.00# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c0t0d0s2 auto:none - - online invalid

c0t1d0s2 auto - - error

c1t500805F3000B2AE1d1s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d2s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d3s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d4s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d5s2 auto:cdsdisk c1t500805F3000B2AE1d5 test_dg online

c1t500805F3000B2AE1d6s2 auto:cdsdisk c1t500805F3000B2AE1d6 test_dg online

c1t500805F3000B2AE1d7s2 auto:cdsdisk c1t500805F3000B2AE1d7 test_dg online

c1t500805F3000B2AE1d8s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d9s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d10s2 auto:none - - online invalid

bash-3.00# bash-3.00# bash-3.00# bash-3.00# /usr/lib/vxvm/bin/vxdisksetup bash-3.00# /usr/lib/vxvm/bin/vxdisksetup i i -i c1t500805F3000B2AE1d1s2

VxVM vxdisksetup ERROR V-5-2-1813 c1t500805F3000B2AE1d1: Disk is part of fencedg disk group, use -f option to force setup.

bash-3.00#

bash-3.00# vx vxdest vxdestro vxdg destroy fencedg

VxVM vxdg ERROR V-5-1-581 Disk group fencedg: No such disk group is imported

bash-3.00# vxdg destroy fencedg /usr/lib/vxvm/bin/vxdisksetup -i c1t500805F3000B2AE1d1F3000B2AE1d1 vxdg import fencedg

bash-3.00# vxdg list

NAME STATE ID

test_dg enabled,cds 957312138.27.vfire1

fencedg enabled,cds 956344320.15.vfire1

bash-3.00# vxdg listimport fencedgbash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c1t500805F3000B2AE1d1 unsetup c1t500805F3000B2AE1d1s2 -C

VxVM vxdiskunsetup ERROR V-5-2-40 c1t500805F3000B2AE1d1: Disk device is in use

bash-3.00# vxdisk list vxprint

Disk group: test_dg

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0

dg test_dg test_dg - - - - - -

dm c1t500805F3000B2AE1d5 c1t500805F3000B2AE1d5s2 - 20897248 - - - -

dm c1t500805F3000B2AE1d6 c1t500805F3000B2AE1d6s2 - 20897248 - - - -

dm c1t500805F3000B2AE1d7 c1t500805F3000B2AE1d7s2 - 20897248 - - - -

sd disk01 - ENABLED 15000000 - - - -

sd disk02 - ENABLED 20897248 - - - -

sd disk03 - ENABLED 20897248 - - - -

v vol1 fsgen ENABLED 4194304 - ACTIVE - -

pl vol1-01 vol1 ENABLED 4194304 - ACTIVE - -

sd c1t500805F3000B2AE1d5-01 vol1-01 ENABLED 4194304 0 - - -

v vol2 fsgen ENABLED 1024000 - ACTIVE - -

pl vol2-01 vol2 ENABLED 1024000 - ACTIVE - -

sd c1t500805F3000B2AE1d5-02 vol2-01 ENABLED 1024000 0 - - -

v vol3 fsgen ENABLED 102400 - ACTIVE - -

pl vol3-01 vol3 ENABLED 102400 - ACTIVE - -

sd c1t500805F3000B2AE1d5-03 vol3-01 ENABLED 102400 0 - - -

Disk group: fencedg

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0

dg fencedg fencedg - - - - - -

dm disk01 c1t500805F3000B2AE1d1s2 - 2024704 - - - -

dm disk02 c1t500805F3000B2AE1d2s2 - 2024704 - - - -

dm disk03 c1t500805F3000B2AE1d3s2 - 2024704 - - - -

bash-3.00# vxdg -g fencedg rmdisk disk01

VxVM vxdg ERROR V-5-1-13129 rmdisk not permitted on coordinator dg: fencedg

bash-3.00# vxdg -g fencedg rmdisk disk01k --rf

VxVM vxdg ERROR V-5-1-13129 rmdisk not permitted on coordinator dg: fencedg

bash-3.00# vxdg -g fencedg rmdisk -rf disk01f

VxVM vxdg ERROR V-5-1-13129 rmdisk not permitted on coordinator dg: fencedg

bash-3.00# vxdg -g fencedg rmdisk -r disk01 vxdg destroy ga /sbin/gab

gabconfig gabdebug gabport

bash-3.00# /sbin/gabconfig -a

GAB Port Memberships

===============================================================

Port a gen 403e01 membership 01

Port h gen 403e03 membership 01

bash-3.00# /sbin/gabconfig -abash-3.00# vxdg -g fencedg rmdisk -r disk01 fencedg set coordinator=off

bash-3.00# vxdg -g fencedg set coordinator=offbash-3.00# /sbin/gabconfig -abash-3.00# vxdg -g fencedg rmdisk -r disk01f disk01disk01

bash-3.00# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c0t0d0s2 auto:none - - online invalid

c0t1d0s2 auto - - error

c1t500805F3000B2AE1d1s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d2s2 auto:cdsdisk disk02 fencedg online

c1t500805F3000B2AE1d3s2 auto:cdsdisk disk03 fencedg online

c1t500805F3000B2AE1d4s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d5s2 auto:cdsdisk c1t500805F3000B2AE1d5 test_dg online

c1t500805F3000B2AE1d6s2 auto:cdsdisk c1t500805F3000B2AE1d6 test_dg online

c1t500805F3000B2AE1d7s2 auto:cdsdisk c1t500805F3000B2AE1d7 test_dg online

c1t500805F3000B2AE1d8s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d9s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d10s2 auto:none - - online invalid

bash-3.00# vxdisk listg -g fencedg rmdisk disk01 2

bash-3.00# vxdg destoru y fencedg

VxVM vxdg INFO V-5-1-9632

vxdg - manage disk groups

Usage: vxdg keyword arg ...

Recognized keywords:

[-T version] [-s] [-o verify|override] init groupname [[disk=]device ...] [nconfig=default|all|ncopies] [nlog=default|all|ncopies] [cds=on|off] [minor=base-minor]

[-tsfC] [-n newname] [-o clearreserve] [-o groupreserve=fencekey] [-o selectcp=diskid] [-o noreonline] [-o useclonedev=off|on] [-o tag=name [-o updateid] [-o site=[!]sitename] import diskgroup

[-n newname] [-h new-host-id] deport diskgroup ...

[-o coordinator] [-o verify|override] destroy diskgroup ...

[-g diskgroup] [-o verify|override] [-o overridessb] [-pk] [-f] adddisk [disk=]device ...

[-g diskgroup] [-o verify|override] [-k] rmdisk disk ...

[-g diskgroup] [-f] reminor [diskgroup] new-minor-number

[-q] list [diskgroup ...]

[-v] -g diskgroup listssbinfo

[-qa] [-g diskgroup] free [disk ...]

[-q] [-g diskgroup] spare [disk ...]

[-q] [-g diskgroup] nohotuse [disk ...]

flush [diskgroup ...]

[-g diskgroup] [-k] repldisk unassocdm=repldm ...

[-T version] upgrade diskgroup

-g diskgroup set attr=value ...

[-f] [-o verify|override] join src_diskgroup dst_diskgroup

[-o expand] listmove src_diskgroup dst_diskgroup objects ...

[-f] [-o verify|override] [-o expand] move src_diskgroup dst_diskgroup objects ...

[-f] [-o verify|override] [-o expand] split src_diskgroup dst_diskgroup objects ...

[-o clean|remove] recover diskgroup

bootdg

defaultdg

[-g diskgroup] [-f] settag name[=value name[=value] ...

[-g diskgroup] rmtag name name ...

[-q] [-o tag=name|~name[=value|~value] listtag [diskgroup ...]

[-q] listmeta [diskgroup ...]

[-g diskgroup] listclone

[-g diskgroup] addsite site

[-g diskgroup] rmsite site

[-g diskgroup] [-f] detachsite site

[-g diskgroup] [-o overridessb] reattachsite site

[-g diskgroup] [-f] renamesite oldsite newsite

bash-3.00# vxdg destory fencedgroy

bash-3.00# vxdg list

NAME STATE ID

test_dg enabled,cds 957312138.27.vfire1

bash-3.00# vxdg listdestroy fencedgory fencedg-g fencedg rmdisk disk02bash-3.00# vxdisk listg -g fencedg rmdisk disk01set coordinator=offbash-3.00# /sbin/gabconfig -abash-3.00# vxdg -g fencedg rmdisk -r disk01f disk01disk01bash-3.00# vxprint /usr/lib/vxvm/bin/vxdiskunsetup -C c1t500805F3000B2AE1d1

bash-3.00# /usr/lib/vxvm/bin/vxdiskunsetup -C c1t500805F3000B2AE1d1 2

bash-3.00# /usr/lib/vxvm/bin/vxdiskunsetup -C c1t500805F3000B2AE1d2 3

bash-3.00# vxdg list

NAME STATE ID

test_dg enabled,cds 957312138.27.vfire1

bash-3.00# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c0t0d0s2 auto:none - - online invalid

c0t1d0s2 auto - - error

c1t500805F3000B2AE1d1s2 auto:none - - online invalid

c1t500805F3000B2AE1d2s2 auto:none - - online invalid

c1t500805F3000B2AE1d3s2 auto:none - - online invalid

c1t500805F3000B2AE1d4s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d5s2 auto:cdsdisk c1t500805F3000B2AE1d5 test_dg online

c1t500805F3000B2AE1d6s2 auto:cdsdisk c1t500805F3000B2AE1d6 test_dg online

c1t500805F3000B2AE1d7s2 auto:cdsdisk c1t500805F3000B2AE1d7 test_dg online

c1t500805F3000B2AE1d8s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d9s2 auto:cdsdisk - - online

c1t500805F3000B2AE1d10s2 auto:none - - online invalid

bash-3.00# vxdisk listg list/usr/lib/vxvm/bin/vxdiskunsetup -C c1t500805F3000B2AE1d3isetup -i c1t500805F3000B2AE1d3 1

bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c1t500805F3000B2AE1d1 2

bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c1t500805F3000B2AE1d2 3

bash-3.00# vxprint

Disk group: test_dg

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0

dg test_dg test_dg - - - - - -

dm c1t500805F3000B2AE1d5 c1t500805F3000B2AE1d5s2 - 20897248 - - - -

dm c1t500805F3000B2AE1d6 c1t500805F3000B2AE1d6s2 - 20897248 - - - -

dm c1t500805F3000B2AE1d7 c1t500805F3000B2AE1d7s2 - 20897248 - - - -

sd disk01 - ENABLED 15000000 - - - -

sd disk02 - ENABLED 20897248 - - - -

sd disk03 - ENABLED 20897248 - - - -

v vol1 fsgen ENABLED 4194304 - ACTIVE - -

pl vol1-01 vol1 ENABLED 4194304 - ACTIVE - -

sd c1t500805F3000B2AE1d5-01 vol1-01 ENABLED 4194304 0 - - -

v vol2 fsgen ENABLED 1024000 - ACTIVE - -

pl vol2-01 vol2 ENABLED 1024000 - ACTIVE - -

sd c1t500805F3000B2AE1d5-02 vol2-01 ENABLED 1024000 0 - - -

v vol3 fsgen ENABLED 102400 - ACTIVE - -

pl vol3-01 vol3 ENABLED 102400 - ACTIVE - -

sd c1t500805F3000B2AE1d5-03 vol3-01 ENABLED 102400 0 - - -

bash-3.00# vxdg init fencedg disk01=c1t500805F3000B2AE1d1s2

bash-3.00# vxdg init fencedg disk01=c1t500805F3000B2AE1d1 22

VxVM vxdg ERROR V-5-1-585 Disk group fencedg: cannot create: Disk group exists and is imported

bash-3.00# vxdg init fencedg disk02=c1t500805F3000B2AE1d2adddisk

VxVM vxdg ERROR V-5-1-5455 Operation requires a disk group

bash-3.00# vxdg adddisk fencedg disk02=c1t500805F3000B2AE1d2-g testfencedg

VxVM vxdg ERROR V-5-1-639 Failed to obtain locks:

fencedg: no such object in the configuration

bash-3.00# vxdg -g fencedg adddisk fencedg disk02=c1t500805F3000B2AE1d2disk fencedg

bash-3.00# vxdg -g fencedg adddisk disk02=c1t500805F3000B2AE1d2 33

bash-3.00# vxdg -g fencedg adddisk disk03=c1t500805F3000B2AE1d32=c1t500805F3000B2AE1d2fencedg disk02=c1t500805F3000B2AE1d2bash-3.00# vxdg adddisk fencedg disk02=c1t500805F3000B2AE1d2bash-3.00# vxdg init fencedg disk02=c1t500805F3000B2AE1d21=c1t500805F3000B2AE1d1bash-3.00# vxprint /usr/lib/vxvm/bin/vxdisksetup -i c1t500805F3000B2AE1d321bash-3.00# vxdisk listg list/usr/lib/vxvm/bin/vxdiskunsetup -C c1t500805F3000B2AE1d321bash-3.00# vxdg listdestroy fencedgory fencedg-g fencedg rmdisk disk02bash-3.00# vxdisk listg -g fencedg rmdisk disk01set coordinator=off on

bash-3.00# bash-3.00# vxdg deport fencedg

bash-3.00# vxdg deport fencedgimport

bash-3.00# /opt/VRTs Svcs/vxfen/v bin/

customized/ vxfencvol vxfendebug vxfenswap

vxfenclearpre vxfendd vxfendisk vxfentsthdw

bash-3.00# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -rg fencedgbash-3.00# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -rg fencedg

VERITAS vxfentsthdw version 5.0MP3 Solaris

The utility vxfentsthdw works on the two nodes of the cluster.

The utility verifies that the shared storage one intends to use is

configured to support I/O fencing. It issues a series of vxfenadm

commands to setup SCSI-3 registrations on the disk, verifies the

registrations on the disk, and removes the registrations from the disk.

The logfile generated for vxfensthdw is /var/VRTSvcs/log/vxfen/vxfentsthdw.log.9807

Enter the first node of the cluster:

vfire1

Enter the second node of the cluster:

vfire2

The authenticity of host 'vfire1 (192.168.1.40)' can't be established.

RSA key fingerprint is 6e:35:33:9b:9b:2a:de:21:6e:f7:21:d7:e1:3a:f8:b3.

Are you sure you want to continue connecting (yes/no)? yes

Password:

Password:

********************************************

Testing vfire1 /dev/rdsk/c1t500805F3000B2AE1d1s2 vfire2 /dev/rdsk/c1t500805F3000B2AE1d1s2

Evaluate the disk before testing ........................ No Pre-existing keys

Register keys on disk /dev/rdsk/c1t500805F3000B2AE1d1s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 ........ Passed

Write to disks from node vfire1 ........................................ Skipped

Read from disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 ........ Passed

Write to disks from node vfire2 ........................................ Skipped

Reserve disk /dev/rdsk/c1t500805F3000B2AE1d1s2 from node vfire1 ........ Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 ........ Passed

Expect no reads for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d1s2 from node vfire2 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 ........ Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 ........ Passed

Preempt and abort key KeyA using key KeyB on node vfire2 ............... Passed

Test to see if I/O on node vfire1 terminated ........................... Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire2 Passed

Remove key KeyB on node vfire2 ......................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

Check to verify there are no keys from node vfire2 ..................... Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d1s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d1s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d1s2 on node vfire1 Passed

Clear PGR on node vfire1 ............................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d1s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire1.

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d1s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire2.

May 10 17:46:36 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d1s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire1.

May 10 17:46:36 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d1s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire2.

Password:

Password:

********************************************

Testing vfire1 /dev/rdsk/c1t500805F3000B2AE1d2s2 vfire2 /dev/rdsk/c1t500805F3000B2AE1d2s2

Evaluate the disk before testing ........................ No Pre-existing keys

Register keys on disk /dev/rdsk/c1t500805F3000B2AE1d2s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 ........ Passed

Write to disks from node vfire1 ........................................ Skipped

Read from disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 ........ Passed

Write to disks from node vfire2 ........................................ Skipped

Reserve disk /dev/rdsk/c1t500805F3000B2AE1d2s2 from node vfire1 ........ Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 ........ Passed

Expect no reads for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d2s2 from node vfire2 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 ........ Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 ........ Passed

Preempt and abort key KeyA using key KeyB on node vfire2 ............... Passed

Test to see if I/O on node vfire1 terminated ........................... Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire2 Passed

Remove key KeyB on node vfire2 ......................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

Check to verify there are no keys from node vfire2 ..................... Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d2s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d2s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d2s2 on node vfire1 Passed

Clear PGR on node vfire1 ............................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d2s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire1.

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d2s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire2.

May 10 17:48:24 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d2s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire1.

May 10 17:48:24 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d2s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire2.

Password:

Password:

********************************************

Testing vfire1 /dev/rdsk/c1t500805F3000B2AE1d3s2 vfire2 /dev/rdsk/c1t500805F3000B2AE1d3s2

Evaluate the disk before testing ........................ No Pre-existing keys

Register keys on disk /dev/rdsk/c1t500805F3000B2AE1d3s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 ........ Passed

Write to disks from node vfire1 ........................................ Skipped

Read from disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 ........ Passed

Write to disks from node vfire2 ........................................ Skipped

Reserve disk /dev/rdsk/c1t500805F3000B2AE1d3s2 from node vfire1 ........ Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 ........ Passed

Expect no reads for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d3s2 from node vfire2 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 ........ Passed

Read from disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 ........ Passed

Preempt and abort key KeyA using key KeyB on node vfire2 ............... Passed

Test to see if I/O on node vfire1 terminated ........................... Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Verify reservation for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire2 Passed

Remove key KeyB on node vfire2 ......................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

Check to verify there are no keys from node vfire2 ..................... Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d3s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

RegisterIgnoreKeys on disk /dev/rdsk/c1t500805F3000B2AE1d3s2 from node vfire1 Passed

Verify registrations for disk /dev/rdsk/c1t500805F3000B2AE1d3s2 on node vfire1 Passed

Clear PGR on node vfire1 ............................................... Passed

Check to verify there are no keys from node vfire1 ..................... Passed

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d3s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire1.

ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d3s2 have PASSED.

The disk is now ready to be configured for I/O Fencing on node vfire2.

May 10 17:48:49 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d3s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire1.

May 10 17:48:49 vfire1 root: [ID 702911 user.alert] vxfentsthdw: ALL tests on the disk /dev/rdsk/c1t500805F3000B2AE1d3s2 have PASSED. The disk is now ready to be configured for I/O Fencing on node vfire2.

Password:

Password:

Password:

Removing test keys and temporary files, if any...

bash-3.00# vxdg deport fencedg

bash-3.00# bash-3.00# echo "fencedh g " > / etbash-3.00# vxdg deport fencedgbash-3.00# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -rg fencedgbash-3.00# vxdg import fencedgbash-3.00# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -rg fencedgbash-3.00# vxdg deport fencedgbash-3.00# echo "fencedg" > / et cat /etc/vx

vx/ vxfen.d/

bash-3.00# cat /etc/vx

vx/ vxfen.d/

bash-3.00# cat /etc/vx echo "fencedg" /etc/vxfendg

fencedg /etc/vxfendg

bash-3.00# cat /etc/vxfen.d/ echo "fencedg" /etc/vxfendg>

bash-3.00# cat /etc/vxfendg

fencedg

bash-3.00# cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmode

bash-3.00# cat /t etc/vxfenmode

#

# vxfen_mode determines in what mode VCS I/O Fencing should work.

#

# available options:

# scsi3 - use scsi3 persistent reservation disks

# customized - use script based customized fencing

# disabled - run the driver but don't do any actual fencing

#

vxfen_mode=scsi3

#

# scsi3_disk_policy determines the way in which I/O Fencing communicates with

# the coordination disks.

#

# available options:

# dmp - use dynamic multipathing

# raw - connect to disks using the native interface

#

scsi3_disk_policy=raw

bash-3.00# cat /etc/vxfenmode | grep -v "#" \ | grep -v "^$"

vxfen_mode=scsi3

scsi3_disk_policy=raw

bash-3.00# cat /etc/vxfenmode | grep -v "#" | grep -v "^$"bash-3.00# cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmodebash-3.00# cat /etc/vxfendgbash-3.00# echo "fencedg" > /etc/vxfendg/etc/vxfendg> /etc/vxfendg/etc/vxfendgbash-3.00# vxdg deport fencedgbash-3.00# echo "fencedg" /etc/vxfendg> /etc/vxfendgbash-3.00# cat /etc/vxfendgbash-3.00# cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmodebash-3.00# cat /etc/vxfenmode /etc/init.d/vxfen staet rt

Starting vxfen..

Checking for /etc/vxfendg

Starting vxfen.. Done

bash-3.00# haconf -dump -makero

VCS WARNING V-16-1-10369 Cluster not writable.

bash-3.00# vi /etc/VRTSvcs/conf/config/main.cf

"/etc/VRTSvcs/conf/config/main.cf" 11 lines, 83 characters include "types.cf"

cluster testclus (

)

system vfire1 (

)

system vfire2 (

)

~

~

~

~

~

~

~

~

~

~

~

~"/etc/VRTSvcs/conf/config/main.cf" 11 lines, 83 charactersinclude "types.cf"

cluster testclus (

)

system vfire1 (

)

system vfire2 (

)

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~:q!

bash-3.00#

bash-3.00#

bash-3.00#

bash-3.00# hast

hastart hastatus hastatusprint hastop

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 RUNNING 0

bash-3.00# bash-3.00# ls

bin etc mnt_2 storage_foundation

boot export mnt_3 system

core globaldevices net testclus.admin.ser

data home opt tmp

Desktop kernel perl usr

dev lib platform var

devices lost+found proc vol

Documents mnt sbin

bash-3.00# lshastatus -summbash-3.00# vi /etc/VRTSvcs/conf/config/main.cf cd

bash-3.00# ls

ClusterConnectorConfigType.cf types.cf

main.cf types.cf.29Apr2000.11.43.54

main.cf.29Apr2000.11.43.54 types.cf.previous

main.cf.previous VRTSWebAppType.cf

bash-3.00# ls -a

. main.cf.previous

.. types.cf

ClusterConnectorConfigType.cf types.cf.29Apr2000.11.43.54

main.cf types.cf.previous

main.cf.29Apr2000.11.43.54 VRTSWebAppType.cf

bash-3.00# more main.cf.previous e

include "types.cf"

cluster testclus (

CounterInterval = 5

)

system vfire1 (

)

system vfire2 (

)

bash-3.00# hasu user list

VCS WARNING V-16-1-11309 Configuration must be ReadWrite

bash-3.00# hauser listmore main.cf.previous bash-3.00# ls -acd /etc/VRTSvcs/conf/config/bash-3.00# lshastatus -summbash-3.00# vi /etc/VRTSvcs/conf/config/main.cfbash-3.00# haconf -dump -makerobash-3.00# /etc/init.d/vxfen startbash-3.00# haconf -dump -makero makerw

bash-3.00# haconf -makerwuser list

VCS WARNING V-16-1-10611 Invalid arguments

VCS INFO V-16-1-10601 Usage:

hauser -add <name> [-priv <Administrator|Operator|Guest> [-group <group(s)>]]

hauser -addpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]

hauser -delpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]

hauser -addpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]

hauser -delpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]

hauser -update <name>

hauser -delete <name>

hauser -display [<name>]

hauser -list

hauser -help

bash-3.00# hauser list list

VCS WARNING V-16-1-10611 Invalid arguments

VCS INFO V-16-1-10601 Usage:

hauser -add <name> [-priv <Administrator|Operator|Guest> [-group <group(s)>]]

hauser -addpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]

hauser -delpriv <name> <Administrator|Operator|Guest> [-group <group(s)>]

hauser -addpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]

hauser -delpriv <name> <AdministratorGroup|OperatorGroup> [-group <group(s)>]

hauser -update <name>

hauser -delete <name>

hauser -display [<name>]

hauser -list

hauser -help

bash-3.00# hauser list-

bash-3.00# hauser -list add admin -priv Administrator

Enter New Password:

Enter Again:

bash-3.00# vxdg list

NAME STATE ID

test_dg enabled,cds 957312138.27.vfire1

bash-3.00# cd /dev/vx

vx/ vxfen vxfend vxportal

bash-3.00# cd /dev/vx/rd

rdmp/ rdsk/

bash-3.00# cd /dev/vx/rdsk/test_dg/vol

vol1 vol2 vol3

bash-3.00# cd /dev/vx/rdsk/test_dg/vol mount -F vxfs /dev/vs x/r dsk/test_dg/vol1 /data

bash-3.00# df -h

Filesystem size used avail capacity Mounted on

/dev/dsk/c0t0d0s0 20G 7.0G 13G 36% /

/devices 0K 0K 0K 0% /devices

ctfs 0K 0K 0K 0% /system/contract

proc 0K 0K 0K 0% /proc

mnttab 0K 0K 0K 0% /etc/mnttab

swap 5.9G 1.6M 5.9G 1% /etc/svc/volatile

objfs 0K 0K 0K 0% /system/object

sharefs 0K 0K 0K 0% /etc/dfs/sharetab

/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1

20G 7.0G 13G 36% /platform/sun4u-us3/lib/libc_psr.so.1

/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1

20G 7.0G 13G 36% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

fd 0K 0K 0K 0% /dev/fd

swap 5.9G 136K 5.9G 1% /tmp

swap 5.9G 56K 5.9G 1% /var/run

swap 5.9G 0K 5.9G 0% /dev/vx/dmp

swap 5.9G 0K 5.9G 0% /dev/vx/rdmp

/dev/dsk/c0t0d0s6 480M 1.0M 431M 1% /globaldevices

/dev/dsk/c0t0d0s7 6.4G 6.5M 6.3G 1% /export/home

/dev/vx/dsk/test_dg/vol1

2.0G 538M 1.4G 28% /data

bash-3.00# umount /dev/vx/dsk/test_dg/vol1

bash-3.00# vxdg deport test_dg

bash-3.00# vxdg deport test_dgbash-3.00# umount /dev/vx/dsk/test_dg/vol1bash-3.00# df -hmount -F vxfs /dev/vx/dsk/test_dg/vol1 /databash-3.00# vxdg listhauser -add admin -priv Administratorbash-3.00# hauser -listlistconf -makerwuser listconf -makerw--dump ---makerw 0 o

VCS WARNING V-16-1-10603 Unknown option: --makero

VCS INFO V-16-1-10601 Usage:

haconf -makerw

haconf -dump [-makero]

haconf -help

bash-3.00# haconf -dump --makero

bash-3.00# haconf -dump -makero-makero makerw

bash-3.00#

bash-3.00#

bash-3.00# haconf -dump -makero

bash-3.00# haconf -dump -makeromakerwdump -makero-makerobash-3.00# vxdg deport test_dgbash-3.00# umount /dev/vx/dsk/test_dg/vol1bash-3.00# df -hmount -F vxfs /dev/vx/dsk/test_dg/vol1 /databash-3.00# vxdg listhauser -add admin -priv Administratorbash-3.00# hauser -listlistconf -makerwuser listmore main.cf.previous bash-3.00# ls -acd /etc/VRTSvcs/conf/config/

bash-3.00# vi main.cf

"main.cf" 66 lines, 884 characters include "types.cf"

cluster testclus (

UserNames = { admin = GjjDjhIqjLjr }

Administrators = { admin }

)

system vfire1 (

)

system vfire2 (

)

group zoneSG (

SystemList = { vfire1 = 0, vfire2 = 1 }

AutoStartList = { vfire1 }

)

DiskGroup zoneDG (

DiskGroup = test_dg)

IP zoneIP ("main.cf" 66 lines, 884 characters

Administrators = { admin

UseFence = SCSI3:wq!"main.cf" 67 lines, 909 characters

bash-3.00# hacf -verify /etc/con/con VRTSvcs/conf/config/

bash-3.00# hastop -all

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 LEAVING 0

A vfire2 EXITED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N STOPPING|PARTIAL

B zoneSG vfire2 Y Y OFFLINE

-- RESOURCES OFFLINING

-- Group Type Resource System IState

F zoneSG DiskGroup zoneDG vfire1 W_OFFLINE_PROPAGATE

bash-3.00# hastatus -summop -allcf -verify /etc/VRTSvcs/conf/config/bash-3.00# hastop -allatus -summ

VCS ERROR V-16-1-10600 Cannot connect to VCS engine

VCS WARNING V-16-1-11046 Local system not available

bash-3.00# hastatus -summ rt

bash-3.00# hastarttus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 UNKNOWN 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 N Y OFFLINE

B zoneSG vfire2 Y Y OFFLINE

-- RESOURCES NOT PROBED

-- Group Type Resource System

D zoneSG DiskGroup zoneDG vfire1

D zoneSG DiskGroup zoneDG vfire2

D zoneSG IP zoneIP vfire2

D zoneSG Mount zonemount vfire1

D zoneSG Mount zonemount vfire2

D zoneSG NIC zoneNIC vfire1

D zoneSG NIC zoneNIC vfire2

D zoneSG Volume zoneVOL vfire2

bash-3.00# bash-3.00# bash-3.00# vxfena /usr/VR opt/VRTSvcs/vc xfen/bin/vxd fena

customized/ vxfencvol vxfendebug vxfenswap

vxfenclearpre vxfendd vxfendisk vxfentsthdw

bash-3.00# /opt/VRTSvcs/vxfen/bin/ /sbin/vxfen

vxfen-shutdown vxfenadm vxfend

vxfen-startup vxfenconfig

bash-3.00# /sbin/vxfenadm -g all -f /etc/vxfentab

Device Name: /dev/rdsk/c1t500805F3000B2AE1d1s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d3s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d2s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

bash-3.00# bash-3.00# gabcon /sbin/gabconfig -a

GAB Port Memberships

===============================================================

Port a gen 403e01 membership 01

Port b gen 403e06 membership 01

Port h gen 403e09 membership 01

bash-3.00# bash-3.00# df -h

Filesystem size used avail capacity Mounted on

/dev/dsk/c0t0d0s0 20G 7.0G 13G 36% /

/devices 0K 0K 0K 0% /devices

ctfs 0K 0K 0K 0% /system/contract

proc 0K 0K 0K 0% /proc

mnttab 0K 0K 0K 0% /etc/mnttab

swap 5.9G 1.6M 5.9G 1% /etc/svc/volatile

objfs 0K 0K 0K 0% /system/object

sharefs 0K 0K 0K 0% /etc/dfs/sharetab

/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1

20G 7.0G 13G 36% /platform/sun4u-us3/lib/libc_psr.so.1

/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1

20G 7.0G 13G 36% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1

fd 0K 0K 0K 0% /dev/fd

swap 5.9G 136K 5.9G 1% /tmp

swap 5.9G 56K 5.9G 1% /var/run

swap 5.9G 0K 5.9G 0% /dev/vx/dmp

swap 5.9G 0K 5.9G 0% /dev/vx/rdmp

/dev/dsk/c0t0d0s6 480M 1.0M 431M 1% /globaldevices

/dev/dsk/c0t0d0s7 6.4G 6.5M 6.3G 1% /export/home

/dev/vx/dsk/test_dg/vol1

2.0G 538M 1.4G 28% /data

bash-3.00# lltcon /sbin/ df -h/sbin/gabconfig -a

GAB Port Memberships

===============================================================

Port a gen 403e01 membership 01

Port b gen 403e06 membership 01

Port h gen 403e09 membership 01

bash-3.00# more /etc/ll

llc2/ llthosts llttab

bash-3.00# more /etc/ll

llc2/ llthosts llttab

bash-3.00# more /etc/llthosts

0 vfire1

1 vfire2

bash-3.00# more /etc/llthosts bash-3.00# /sbin/gabconfig -abash-3.00# df -h/sbin/gabconfig -avxfenadm -g all -f /etc/vxfentab bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 RUNNING 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

B zoneSG vfire2 Y N OFFLINE

bash-3.00#

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ

-- SYSTEM STATE

-- System State Frozen

A vfire1 RUNNING 0

A vfire2 FAULTED 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B zoneSG vfire1 Y N ONLINE

bash-3.00# hastatus -summ hastatus -summbash-3.00# more /etc/llthosts bash-3.00# /sbin/gabconfig -abash-3.00# df -h/sbin/gabconfig -a

GAB Port Memberships

===============================================================

Port a gen 403e02 membership 0

Port b gen 403e07 membership 0

Port h gen 403e0a membership 0

bash-3.00# /sbin/gabconfig -abash-3.00# hastatus -summbash-3.00# more /etc/llthosts bash-3.00# /sbin/gabconfig -abash-3.00# df -h/sbin/gabconfig -avxfenadm -g all -f /etc/vxfentab

Device Name: /dev/rdsk/c1t500805F3000B2AE1d2s2

Total Number Of Keys: 1

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d3s2

Total Number Of Keys: 1

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d1s2

Total Number Of Keys: 1

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

bash-3.00# /sbin/vxfenadm -g all -f /etc/vxfentab

Device Name: /dev/rdsk/c1t500805F3000B2AE1d1s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d3s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

Device Name: /dev/rdsk/c1t500805F3000B2AE1d2s2

Total Number Of Keys: 2

key[0]:

Key Value [Numeric Format]: 65,45,45,45,45,45,45,45

Key Value [Character Format]: A-------

key[1]:

Key Value [Numeric Format]: 66,45,45,45,45,45,45,45

Key Value [Character Format]: B-------

bash-3.00# /sbin/vxfenadm -g all -f /etc/vxfentab bash-3.00# /sbin/gabconfig -abash-3.00# /sbin/gabconfig -a

GAB Port Memberships

===============================================================

Port a gen 403e03 membership 01

Port b gen 403e08 membership 01

Port h gen 403e0b membership 01

bash-3.00# exit

exit

# exit bash

bash-3.00# hagui &exit/sbin/gabconfig -avxfenadm -g all -f /etc/vxfentab bash-3.00# /sbin/gabconfig -a haconf -dump -makero

VCS WARNING V-16-1-10369 Cluster not writable.

bash-3.00# poweroof

bash: poweroof: command not found

bash-3.00# poweroof off


Recommended