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 March 29th, 2008
locky's Avatar
locky Offline
Member
 
Join Date: August 2007
Posts: 34
redo mapping backing device

Here is my problem: there 3 AIX 5300-07 clients on my VIO server 1.4.1.1. After updated to ioslevel 1.5.1.1 my VIO server crashed. Unfortunately I don't have a backup. I install VIO server again with existing profile from HMC. is it any way let me remap all 3 AIX clients under local disk1 (disk0 is VIO server).
Thanks
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 March 29th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: redo mapping backing device

What are you trying to do? remap a volume group that was on hdisk1 to the VIO clients?

If so import the volume group and relink the lvs to the clients.

If not can you clarify what you are trying to do?
__________________
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 March 29th, 2008
locky's Avatar
locky Offline
Member
 
Join Date: August 2007
Posts: 34
Re: redo mapping backing device

Thanks Ross,
VIO server is created on local disk#0, 3 AIX clients are created on hdisk#1.
Like I said, my VIO server was crashed, so I have to reinstall from scratch. I knew that on hdisk#1 still keeps the LVs of 3 AIX clients. My question is how I can get these info and redo mapping to the LVs so I can connect back these clients again.
thanks
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 March 30th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: redo mapping backing device

The data should still be on the 2nd hard disk so you can:

importvg datavg hdisk2

Then you'll need to reconnect the appropriate disks to the correct LPAR in order to get them working again.

And when it does - start making backups :-)
__________________
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
  #5  
Old March 30th, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: redo mapping backing device

Hi

As Ross said you need to importvg from hdisk1 so VIOS ODM gets updated with Logical Volumes that actually are your Virtual clients images.

Your LPAR profile have the SCSI Virtual Server adapters you have assigned to each client and you can draw those connections with the Virtual SCSI client slots in the LPAR profiles of each client. Next you can use the lsdev command in VIOS to check for each of those Virtual SCSI adapters.

If you issue the lsmap command at VIOS you should see all those Virtual SCSI adapter without any link to a Logical Volume or disk. All those vhost adapters have an address and that address is the link between the server and the client. Then you can use the mkvdev command to link Logical Volumes with a vhost and it should work.

Did you only configure LV to serve as root Voluem Groups for your clients ?? or data VG as well ??

Hope this helps
__________________
cd3lgad0p
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 March 30th, 2008
locky's Avatar
locky Offline
Member
 
Join Date: August 2007
Posts: 34
Re: redo mapping backing device

Thanks all for helping me. But I don't know exactly VG and LVs name which were created? how do I find out these info on the second disk?
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 March 30th, 2008
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 394
Re: redo mapping backing device

When you import the vg the logicalvlume names are available - unless you import a VG where the Logical volume names are already in use - unlikely in this situation unless you import another rootvg.

If you want a different volume group name then exportvg it and importvg it again to get a different name - its a reference not a binding requirement.


Please reading the varyonvg, importvg and exportvg manual pages on a regular AIX partition before you do this to avoid potential errors.
__________________
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
  #8  
Old March 30th, 2008
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Re: redo mapping backing device

Hi

I wouldn't care about names of the VG. Name it whatever you want. What's really important is that you can actually importvg the VG from disk.

You can go to an AIX pure session by running:

oem_setup_enviroment

and use the lquerypv command (man lquerypv) in order to check what's inside that disk.
__________________
cd3lgad0p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old March 30th, 2008
locky's Avatar
locky Offline
Member
 
Join Date: August 2007
Posts: 34
Re: redo mapping backing device

Got these when tried to import:
$ importvg -vg rootvg_clients hdisk1
************************************************** *****************************
The command's response was not recognized. This may or may not indicate a probl
em.
************************************************** *****************************
importvg: Unable to import volume group from hdisk1.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old March 30th, 2008
locky's Avatar
locky Offline
Member
 
Join Date: August 2007
Posts: 34
Re: redo mapping backing device

I don't know why but after reboot VIO server, I was able to importvg from hdisk1, and saw all LVs created:
# lsvg -l vg00
vg00:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
rootvg_aix01 jfs 320 320 1 closed/syncd N/A
rootvg_aix02 jfs 320 320 1 closed/syncd N/A
rootvg_aix03 jfs 320 320 1 closed/syncd N/A

So the next step that will link these to Vhosts?
thanks
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