Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old October 15th, 2007
fredric's Avatar
fredric Offline
Junior Member
 
Join Date: March 2007
Posts: 11
Red face VIOS - HACMP - unable to map/share disk

Hi,

I have two p505 servers with one VIOS server on each server.
I'm trying to setup a HACMP cluster between two lpar's, one on each VIOS server. The lpar's are running AIX 5.3. Each physical server have one fc-hba.
A SVC-SAN disk is shared to both VIOS-servers. I can see the shared disk on both VIOS-servers. The disk is presented as hdisk2, hdisk3 and vpath0 (multi pathing).

I'm able to "dedicate"/map the disk on one of the VIOS-servers to a lpar(vhost). But when I'm trying to do the same onthe other VIOS-server, I got errors.
On VIOS-server #1
>mkvdev -vdev vpath0 -vadapter vhost1 -dev c1_vpath0
works fine, the disk is presented on the lpar/vhost.

On VIOS-server #2 (there are other lpars on the VIOS)
>mkvdev -vdev vpath0 -vadapter vhost3 -dev c1_vpath0

Some error messages may contain invalid information
for the Virtual I/O Server environment.
Method error (/usr/lib/methods/cfg_vt_scdisk):
0514-012 Cannot open a file or device.

If I removed the reservation on the disk, I'm able to "dedicate" the disk. But this will mess up the disk on the first lpar.

My question, how do I setup the shared disk on the both VIOS-servers?

Best Regards,
Fredric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old October 16th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: VIOS - HACMP - unable to map/share disk

In this case you'll need to set the persistent_reserve attribute of the underlying hdisks to no_reserve before you can allocate the disks to the LPARS.

Commands are:
chdev -dev hdisk2 -attr reserve_policy =no_reserve -perm
chdev -dev hdisk2 -attr reserve_policy =no_reserve

Then allocate the vpath to the appropriate LPARS.

I haven't done this myself so I guess you may need to do this on the vpath as well.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old October 16th, 2007
fredric's Avatar
fredric Offline
Junior Member
 
Join Date: March 2007
Posts: 11
Re: VIOS - HACMP - unable to map/share disk

Hi,
thanks for the response.
I tried you suggestion (done it before as well) and got following errors.

$ chdev -dev hdisk2 -attr reserve_policy=no_reserve -perm

Some error messages may contain invalid information
for the Virtual I/O Server environment.

Method error (/etc/methods/chgdisk):
0514-017 The following attributes are not valid for the
specified device:
reserve_policy



got the same error msg on all hdisk/vpath (hdisk2,hdisk3,vpath0) and both VIOS.

My config:
VIOS #1
$ lspv
NAME PVID VG STATUS
hdisk0 0001c9ba5cf87178 rootvg active
hdisk1 0001c9ba5cf87445 rootvg active
hdisk2 none None
hdisk3 none None
vpath0 0001c9ba664a26f7 None


from oem_setup_env:
# lsvpcfg
vpath0 (Avail pv ) 600507680181008B3000000000000009 = hdisk2 (Avail ) hdisk3 (Avail )

VIOS #2
$ lspv
NAME PVID VG STATUS
hdisk0 0002980a27235dcb datavg active
hdisk1 0002980a8af63a8c rootvg active
hdisk2 none None
hdisk3 none None
vpath0 0001c9ba664a26f7 None
$

from oem_setup_env:
#lsvpcfg
vpath0 (Avail pv ) 600507680181008B3000000000000009 = hdisk2 (Avail ) hdisk3 (Avail )
#

//Fredric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old October 17th, 2007
Administrator's Avatar
Administrator Offline
Administrator
 
Join Date: May 2006
Posts: 111
Blog Entries: 3
Re: VIOS - HACMP - unable to map/share disk

Out the virtual device (c1_vpath0) into a defined state first. You can't execute chdev on the physical device as long as the virtual device is available.
__________________
$ PATH=pretending!/usr/ucb/which sense
no sense in pretending!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old October 17th, 2007
fredric's Avatar
fredric Offline
Junior Member
 
Join Date: March 2007
Posts: 11
Re: VIOS - HACMP - unable to map/share disk

Thanks for the hint, but I'm still get the same error msg. for all disk devices (hdisk2, hdisk3 and vpath0)

$ lsdev|grep path
c1_vpath0 Defined Virtual Target Device - Disk
vpath0 Available Data Path Optimizer Pseudo Device Driver
$
$ lsdev|grep hdisk
hdisk0 Available 16 Bit LVD SCSI Disk Drive
hdisk1 Available 16 Bit LVD SCSI Disk Drive
hdisk2 Available SAN Volume Controller Device
hdisk3 Available SAN Volume Controller Device


$ chdev -dev hdisk2 -attr reserve_policy=no_reserve

Some error messages may contain invalid information
for the Virtual I/O Server environment.
Method error (/etc/methods/chgdisk):
0514-017 The following attributes are not valid for the
specified device:
reserve_policy

//Fredric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old October 17th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: VIOS - HACMP - unable to map/share disk

I'm thinking now that the reserve_policy attribute is only valid within MPIO. for SDD its probably another name with different functionality.

At the very least try: breaking all the connections of the disks to the LPARS at VIO level. Break the persistant reserve, and then try to set the reserve_policy,
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old October 17th, 2007
fredric's Avatar
fredric Offline
Junior Member
 
Join Date: March 2007
Posts: 11
Re: VIOS - HACMP - unable to map/share disk

Hi,

could the output from "lsdev -dev hdisk2 -attr" help you?

$ lsdev -dev hdisk2 -attr
attribute value description user_settable
clr_q no Device CLEARS its Queue on error True
location Location Label True
lun_id 0x0 Logical Unit Number ID False
max_transfer 0x40000 Maximum TRANSFER Size True
node_name 0x500507680100129c FC Node Name False
pvid none Physical volume identifier False
q_err yes Use QERR bit True
q_type simple Queuing TYPE True
qfull_dly 20 delay in seconds for SCSI TASK SET FULL True
queue_depth 20 Queue DEPTH True
rw_timeout 60 READ/WRITE time out value True
scbsy_dly 20 delay in seconds for SCSI BUSY True
scsi_id 0x10000 SCSI ID False
start_timeout 180 START unit time out value True
ww_name 0x500507680130129c FC World Wide Name False

and the same for vpath0
______________________________________________
$ lsdev -dev vpath0 -attr
attribute value description user_settable
active_hdisk hdisk3/600507680181008B3000000000000009/fscsi0 Active hdisk False
active_hdisk hdisk2/600507680181008B3000000000000009/fscsi0 Active hdisk False
policy df Scheduling Policy True
pvid 0001c9ba664a26f70000000000000000 Physical volume identifier False
qdepth_enable yes Queue Depth Control True
serial_number 600507680181008B3000000000000009 LUN serial number False
unique_id 33213600507680181008B300000000000000904214503IBMfc p Device Unique Identification False


//Fredric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old October 19th, 2007
fredric's Avatar
fredric Offline
Junior Member
 
Join Date: March 2007
Posts: 11
Smile Re: VIOS - HACMP - unable to map/share disk

Solved!

Installed SDDPCM instead of SDD!

The HACMP cluster is now up and running!

Thanks!

//Fredric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48