1752583 Members
4541 Online
108788 Solutions
New Discussion юеВ

Ignite Image Issue

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Ignite Image Issue

Gurus, I have a very old HP-9000 server rp54xx running on HPUX 11.11 and I have to decommisition this server.

So I bought a similar server from a 3rd party vendor.

On the Source I have :

# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 1275
Free PE 3071
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

VG Name /dev/hpvmvg1
VG Write Access read/write
VG Status available
Max LV 16
Cur LV 1
Open LV 1
Max PV 8
Cur PV 1
Act PV 1
Max PE per PV 4095
VGDA 2
PE Size (Mbytes) 4
Total PE 4095
Alloc PE 3750
Free PE 345
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

[rx260-13]/hpvmdisk1
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 6 0/3/1/0.12.0.3.0.0.1 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 10 0/3/1/0.12.0.3.0.0.2 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 14 0/3/1/0.12.0.3.0.0.3 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c4t0d3 /dev/dsk/c4t0d3s2 /dev/rdsk/c4t0d3 /dev/rdsk/c4t0d3s2
/dev/dsk/c4t0d3s1 /dev/dsk/c4t0d3s3 /dev/rdsk/c4t0d3s1 /dev/rdsk/c4t0d3s3
disk 4 0/3/1/0.12.0.4.0.0.1 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 8 0/3/1/0.12.0.4.0.0.2 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 12 0/3/1/0.12.0.4.0.0.3 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c5t0d3 /dev/dsk/c5t0d3s2 /dev/rdsk/c5t0d3 /dev/rdsk/c5t0d3s2
/dev/dsk/c5t0d3s1 /dev/dsk/c5t0d3s3 /dev/rdsk/c5t0d3s1 /dev/rdsk/c5t0d3s3
disk 5 0/3/1/0.239.0.1.0.0.1 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1
disk 9 0/3/1/0.239.0.1.0.0.2 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c7t0d2 /dev/rdsk/c7t0d2
disk 13 0/3/1/0.239.0.1.0.0.3 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c7t0d3 /dev/dsk/c7t0d3s2 /dev/rdsk/c7t0d3 /dev/rdsk/c7t0d3s2
/dev/dsk/c7t0d3s1 /dev/dsk/c7t0d3s3 /dev/rdsk/c7t0d3s1 /dev/rdsk/c7t0d3s3
disk 7 0/3/1/0.239.0.2.0.0.1 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c8t0d1 /dev/rdsk/c8t0d1
disk 11 0/3/1/0.239.0.2.0.0.2 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c8t0d2 /dev/rdsk/c8t0d2
disk 15 0/3/1/0.239.0.2.0.0.3 sdisk CLAIMED DEVICE HP HSV101
/dev/dsk/c8t0d3 /dev/dsk/c8t0d3s2 /dev/rdsk/c8t0d3 /dev/rdsk/c8t0d3s2
/dev/dsk/c8t0d3s1 /dev/dsk/c8t0d3s3 /dev/rdsk/c8t0d3s1 /dev/rdsk/c8t0d3s3
[rx260-13]/hpvmdisk1
#


I have make all of this available on the target before I scrap the Source.

i know the options are Ignite/Clone/Golden image uging

make_sys_image or make_nwtk_image

but could some one give me a step by step procedure to do this from the command line.
7 REPLIES 7
Raj D.
Honored Contributor
Solution

Re: Ignite Image Issue

Grayh,


> I have make all of this available on the target before I scrap the Source

If you have tape drive conncted to both the server,
-take an ignite image backup from 'source server' , and restore it on the target server.


Command to take ignite backup on source server:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

#Assuming /dev/rmt/0mn is your tape drive) , [to find the tape device : use # ioscan -fnC tape ]



- Make the non-vg00 disks visible to the second server ,
-copy the non-vg00 vgs map files to the target server and Import the non-vg00 vgs to the target server. Activate , mount & verify.


hth,
Raj.




" If u think u can , If u think u cannot , - You are always Right . "
Grayh
Trusted Contributor

Re: Ignite Image Issue

hay Raj... thank you for responding..

I do not have a Tape Drive conneceted on either of the server but I have a NFS mount created in an external enclosure.

Could you give me the command to take the image on this nfs mount.

non-vg00 disks are external to the server on a storage & I have to take image of all these disks as well cos I have a eva connecetd to the Target..

how do I do this

-copy the non-vg00 vgs map files to the target server and Import the non-vg00 vgs to the target server.

how to copy the non vg00 map files... for this on the target do I have to create the non-vg00 volume groups
Raj D.
Honored Contributor

Re: Ignite Image Issue

Grayh,


You have to create a network archive or Golden image, and boot the target system from the network archive (using bootsys) / or from ignite server .
-To boot the target system using ignite server:
at PDC: boot lan.x.x.x.x install
(Where x.x.x.x is the Ip address of the ignite server)

You need to configure a server that will act as ignite server ,

Ig-ux admin guide:
http://docs.hp.com/en/B2355-90772/index.html


Also check this threads:

Golden Image:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1241544

http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1238259


- vgimport help:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?&threadId=1077648






>non-vg00 disks are external to the server on a storage & I have to take image of all these disks as well cos I have a eva connecetd to the Target.. how do I do this

- You dont need to take image of external disks.
- You have to made the eva disks visible to the target server, fiber zoning required to present the luns to the target server ,
- once eva disks are presented to the target server:
i) create map file on the source server:
Suppose you have vg01 vg02 vg03 ... create map file using:
# vgexport -p -v -s -m vg01.map vg01
# vgexport -p -v -s -m vg02.map vg02

ii) ftp/scp the map files (vg01.map vg02.map ...) to target server.

iii) on target server import the vgs:
# mkdir /dev/vg01 ;
# mknod /dev/vg01/group c64 0x100000 [Where minor number should be unique]

# vgimport -v -s -m vg01.map vg01

iv) Once vgimport is done , deactivate the vgs & unmount the filesystems of that vg on the source server
and activate the vg on target server:
on target_svr:
# vgchange -a y vg01
Add similar entry like source in /etc/fstab and mount it using: # mount /fs_name #[Where fs_name is the filesystem mount point per fstab. ]

v) repeat this steps (i to iv) for all the vgs, once done, verify that you got all the vgs and filesystems , that were there on the source server. Once verified you can check/start with your pplication/program .




Hth,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "
Torsten.
Acclaimed Contributor

Re: Ignite Image Issue

What I don't understand:

You want to decommission a L-class and you bought another L-class as replacement?

However, why not simply transfer the boot disk from one to another?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Ignite Image Issue

Your ioscan is most likely from an Integrity server, but not from a RISC server.

Remember, you cannot transfer the OS from Integrity to RISC or vice versa.


Please tell again about source and target.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Michael Steele_2
Honored Contributor

Re: Ignite Image Issue

Hi

a) I also have to repeat Torsten's question "why have you bought an obsolete server to replace an obsolete server that you've been order to decommission?"

b) If you mirror the boot disks and both are bootable then pull one and put it into the new server and boot off it. (* forget the whole ignite thing. *)
Support Fatherhood - Stop Family Law
Grayh
Trusted Contributor

Re: Ignite Image Issue

,