[Veritas-vx] problem setting up I/O fencing
Engle, Victor
Victor.Engle at netapp.com
Tue Jul 31 10:44:32 CDT 2007
The disks have to be initialized as Veritas disks before they can be
used in a disk group. Your "vxdisk list" shows them in error state which
is normal for uninitialized disks I think. Try running
/etc/vx/bin/vxdisksetup -fi <disk> and see what "vxdisk list" looks like
afterwards. If the disks are online at that point your vxdg init should
work.
Regards,
Vic Engle
-----Original Message-----
From: Zhisong Jason Jin [mailto:zjin at fmcc.com]
Sent: Tuesday, July 31, 2007 11:08 AM
To: Engle, Victor
Cc: veritas-ha at mailman.eng.auburn.edu; veritas-vx
Subject: RE: [Veritas-vx] problem setting up I/O fencing
Hi,
I do tried to format-> label, then vxdctl enable vxvm see these new disk
as EMC_CLARiiON0_3 etc
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
EMC_CLARiiON0_0 sliced EMC_CLARiiON0_0 oraproddg online
EMC_CLARiiON0_1 sliced EMC_CLARiiON0_1 oraproddg online
EMC_CLARiiON0_2 sliced EMC_CLARiiON0_2 oraproddg online
EMC_CLARiiON0_3 sliced - - error
EMC_CLARiiON0_4 sliced - - error
EMC_CLARiiON0_5 sliced - - error
now try crete the disk group
# vxdg init vxfencoorddg c3t5006016110205AADd2 c3t5006016110205AADd3
vxvm:vxdg: ERROR: Device c3t5006016110205AADd2 not found in
configuration
vxvm:vxdg: ERROR: Device c3t5006016110205AADd3 not found in
configuration
# vxdg init vxfencoorddg EMC_CLARiiON0_3
vxvm:vxdg: ERROR: Disk group vxfencoorddg: cannot create: Disk device is
offline
but why this is offline
# vxdisk list EMC_CLARiiON0_3
Device: EMC_CLARiiON0_3
devicetag: EMC_CLARiiON0_3
type: sliced
flags: online error private autoconfig
errno: Disk is not usable
Multipathing information:
numpaths: 4
c2t5006016910205AADd3s2 state=enabled type=secondary
c2t5006016010205AADd3s2 state=enabled type=primary
c3t5006016810205AADd3s2 state=enabled type=secondary
c3t5006016110205AADd3s2 state=enabled type=primary
so it is not usable?
# vxdisksetup -i c3t5006016110205AADd2
vxdisksetup: c3t5006016110205AADd2: Device address must be of the form
cCtTdD or mcCtTdD where
C = host bus adapter controller number
T = target device controller number, if used
D = logical unit (disk) number within target device controller
still no luck. any comments.
Thanks.
On Tue, 2007-07-31 at 10:50 -0400, Engle, Victor wrote:
>
> Did you complete these steps for each new lun...
>
> format->label
> vxdctl enable
> vxdisksetup or "vxdisk init"
>
> This needs to be done before adding the disks to a group.
>
> -----Original Message-----
> From: Zhisong Jason Jin [mailto:zjin at fmcc.com]
> Sent: Tuesday, July 31, 2007 10:30 AM
> To: veritas-ha at mailman.eng.auburn.edu; veritas-vx
> Subject: Re: [Veritas-vx] problem setting up I/O fencing
>
> Hi, gurus:
>
> I'm trying to setup I/O fencing for a newly build cluster
> running: Solaris 9, VCS 3.5 GA and VXVM 3.5, that connected to EMC
> CX700. we use this older verison to testing upgrade to 4.x.
>
> a few LUNS were carve out from EMC and are seeing on the host.
> and I'm try to use the 3 LUNS to setup the coordinator disk.
>
>
> the three LUN(disk) I need to use are
> c3t5006016110205AADd2
> c3t5006016110205AADd3
> c3t5006016110205AADd4
>
> each are showing up in "format" with 4 paths:
>
> # echo | format | grep ADd2
> 14. c2t5006016910205AADd2 <DGC-RAID5-0219 cyl 254 alt 2 hd 1 sec
> 16>
> 15. c2t5006016010205AADd2 <DGC-RAID5-0219 cyl 254 alt 2 hd 1 sec
> 16>
> 26. c3t5006016810205AADd2 <DGC-RAID5-0219 cyl 254 alt 2 hd 1 sec
> 16>
> 27. c3t5006016110205AADd2 <DGC-RAID5-0219 cyl 254 alt 2 hd 1 sec
> 16>
>
> however
>
> # vxdg init vxfencoorddg c3t5006016110205AADd2 c3t5006016110205AADd3
> c3t5006016110205AADd4
>
> vxvm:vxdg: ERROR: Device c3t5006016110205AADd2 not found in
> configuration
> vxvm:vxdg: ERROR: Device c3t5006016110205AADd3 not found in
> configuration
>
> # vxdisk list c2t5006016910205AADd4
> vxvm:vxdisk: ERROR: Disk c2t5006016910205AADd4: Disk not in the
> configuration
>
> # vxdisk list
> DEVICE TYPE DISK GROUP STATUS
> EMC_CLARiiON0_0 sliced - - error
> EMC_CLARiiON0_1 sliced - - error
> EMC_CLARiiON0_2 sliced - - error
> c1t0d0s2 sliced - - error
> c1t0d0s6 simple rootdisk rootdg online
>
>
>
> # vxdisk -e list
> DEVICE TYPE DISK GROUP STATUS
> c#t#d#_NAME
> EMC_CLARiiON0_0 sliced EMC_CLARiiON0_0 oraproddg online
> c2t5006016910205AADd5s2
> EMC_CLARiiON0_1 sliced EMC_CLARiiON0_1 oraproddg online
> c2t5006016910205AADd1s2
> EMC_CLARiiON0_2 sliced EMC_CLARiiON0_2 oraproddg online
> c2t5006016910205AADd0s2
> c1t0d0s2 sliced - - error
> c1t0d0s2
> c1t0d0s6 simple rootdisk rootdg online
>
>
> what's wrong? your comments or advice is much appreciated.
>
> Thanks.
> Jason
>
> _______________________________________________
> Veritas-vx maillist - Veritas-vx at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>
>
More information about the Veritas-vx
mailing list