Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > system administration

11.11 upgrade, VG00 need to be imported? - This thread has been closed

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: 11.11 upgrade, VG00 need to be imported?      Add to my favorites  This thread has been closed
Vishu This member has accumulated 250 or more points
Nov 3, 2009 16:47:49 GMT   

Hi,

I have made a cold backup of HP-UX 11.11 on the server, previously having HP-UX 11.00. i installed it on a new disk. now i want to copy some data from my previous VG00 FS to current VG00 FS.

but currenlty i dont have my previous VG00 active as my server booted from current VG00. So,

1) do i need to import that VG with the new name and then mount FS?
2) if it is so, then after importing can i able to boot my server from the previous disks, if in any case i may required to reboot my server from previous disks.

please suggest on this.
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Steven E. Protter Expert in this area This member has accumulated 80000 or more points
Nov 3, 2009 17:25:07 GMT  10 pts

Shalom,

If you vgexport vg00 under 11.00 prior to this process, or boot 11.00 and do it now.

AND

Install the new OS on a different disk.

You will be able to import the volume group and pull data off of it. This will not effect your ability to boot off it later, unless you mess something up.

SEP
Vishu This member has accumulated 250 or more points
Nov 3, 2009 17:49:55 GMT    N/A: Question Author

first of all,
there is a typo in my first post, I have done cold-install for upgrade(not cold-backup).

my doubt now,
if i boot my server from 11.00 and then vgexport vg00 in LVM maintenance mode, and then import it in 11.11, then can i be able to boot again 11.00 from those disks. or do i have to again perform vgexport in 11.11 and import again on 11.00 in maintenance mode.
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 3, 2009 18:08:53 GMT  7 pts

It's not clear.

You did an upgrade on a new disk? How?

You did a cold backup of the old?

Where is this backup now?
Vishu This member has accumulated 250 or more points
Nov 3, 2009 19:18:46 GMT    N/A: Question Author

well, the scenario is like

i have to upgrade from HP-UX 11.00 to 11.11. so, i did a cold-install on a spare disk on same server.

Now i want to copy some of the data from my old VG00 FS to new VG00 FS. So, need procedure to do that. i dont have any backup of this server. but i have all disks, having data, working fine on that server
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 3, 2009 19:48:19 GMT  10 pts

So just vgimport the previous vg00, but with a different vg number.
Vishu This member has accumulated 250 or more points
Nov 3, 2009 20:35:38 GMT    N/A: Question Author

thanks Torsten.

but my doubt is can i able to boot from my old disk after i do vgimport on those disk to a newvg.

OR

do i have to again vgexport it on hpux 11.11 and then try booting from it.
Patrick Wallek Expert in this area This member has accumulated 40000 or more points
Nov 3, 2009 20:48:51 GMT  10 pts

>>can i able to boot from my old disk after i do vgimport

Yes, you can.

When rebooting the server you will need to interrupt to boot and then select the disk you want to boot from.

You could set your 11.11 disk as a PRIMARY boot device and the 11.0 disk as a ALTERNATE boot device.

Then, after interrupting the boot you can do a 'bo alt' to boot 11.0.

Then when you want to boot back to HP-UX 11.11, you can just reboot the server and let it boot since the 11.11 disk is the primary boot device.
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 3, 2009 22:00:07 GMT  10 pts

While importing the old VG you don't change anything on this disk. You only import the VG configuration into your new system. This is the reason why you can still boot from the old disk later.
Sooraj Cleris Expert in this area This member has accumulated 500 or more points
Nov 4, 2009 03:21:52 GMT  10 pts

Hi Ranju,

"if i boot my server from 11.00 and then vgexport vg00 in LVM maintenance mode, and then import it in 11.11, "


I think you have confusion here. You dont really required to export the VG from old OS to import it.

Just boot the 11.11 OS and import with the disk path ( 11.00 boot disk).
Only problem is, you will get the lvnames general like lvol1,lovl2 ( if you have anything different also).

Then mount the LV manually from which one you want to take data.

Regards,
Sooraj
Vishu This member has accumulated 250 or more points
Nov 4, 2009 14:13:51 GMT    N/A: Question Author

Thanks everyone for replying,

one more thing, will it work on my new OS if i simply copy following files from my previous OS FS to new OS FS.

1) /home (complete directory)
2) /etc/passwd
3) /etc/hosts
4) /etc/group
5) /etc/resolv.conf
6) /etc/nsswitch.conf

and what other files i can copy to make my new system config more like my previous one to save my time.

Also, my previous OS(11.00) was having required patches. So, how would i know what patches required to be installed on my new OS(11.11).

your responses will be highly appreciated. Thanks for having patience with me.
Steven E. Protter Expert in this area This member has accumulated 80000 or more points
Nov 4, 2009 15:05:48 GMT  10 pts

Please see my inline replies:

Thanks everyone for replying,

1) /home (complete directory)
This should work.
2) /etc/passwd
I would not do this. Not every user is needed. There are application users that should not be migrated. You need a more granular approach.
3) /etc/hosts
This should work, but keep a backup in case things are not working after the copy.
4) /etc/group
This might work, but you need to look and see which entries not to migrate.
5) /etc/resolv.conf
This should work
6) /etc/nsswitch.conf
This should work, but you may do better taking one of the templates in /etc

SEP
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 4, 2009 15:43:24 GMT  9 pts

Take care about ownership of files! I would tar /home and untar it on the new system.
Vishu This member has accumulated 250 or more points
Nov 4, 2009 15:47:31 GMT    N/A: Question Author

Thanks!!!It cleared up a lot of doubts out of me.

Finally, what about the patches, how do I know what patches are to be installed in my new upgraded OS.

I know i am taking a lot time of yours, but i just wanna make sure that things should go well.
Torsten. Expert in this area This member has accumulated 40000 or more points
Nov 4, 2009 15:59:54 GMT  9 pts

Just get them all and install:

http://www13.itrc.hp.com/service/patch/releasePage.do?BC=main|releaseIndexPage|&releaseId=0906-11.11
Vishu This member has accumulated 250 or more points
Nov 4, 2009 16:07:26 GMT   Thread closed by author  

thanks all.

closing the thread now. Really appreciate the responses.
Tor-Arne Nostdal This member has accumulated 250 or more points
Nov 4, 2009 16:10:06 GMT   Thread closed by author

Just as a small p.s. ;)

If you had an ignite image you could pick out single files from this using tar.

This is a good option in case you don't have a spare disk for install - and have 'forgotten' to copy (into f.ex. a zipped tar-ball) your files before you started... which always would be the simplest way ;)

/2r
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.