Operating System - HP-UX
1752564 Members
5133 Online
108788 Solutions
New Discussion юеВ

Re: How to restore a VM after make_net_recovery is done

 
Rajeev jain
Advisor

How to restore a VM after make_net_recovery is done

Is there a one page step-by-step guide on how to create an image using make_net_recovery and performing a restore?

Lets say my Ignite Server Name is: MRIGNITE and
Cleint/VM Name is:MRVM. I would like to create an image of MRVM and perform a complete restore.

on VM I ran:
/opt/ignite/bin/make_net_recovery -x inc_entire=vg00 -s MRIGNITE -d "MRVM"

This was completed successfully and created a 3GB file as below.

MRIGNITE:root(/var/opt/ignite/recovery/archives/MRVM)# ls -la
-rw------- 1 bin sys 3573539979 Apr 24 15:37 2009-04-04,15:43

Can someone please help me resolve the next steps?

What changes do I need to make on MRIGNITE so I can restore MRVM?

Once I am in MRVM's console, how do I make MRVM see/restore its image from MRIGNITE?

I would highly appreciate the help here.
4 REPLIES 4
Kranti Mahmud
Honored Contributor

Re: How to restore a VM after make_net_recovery is done

Jozef_Novak
Respected Contributor

Re: How to restore a VM after make_net_recovery is done

Hello,

check Ignite-UX configuration guide for adding anonymous Itanium based clients:

http://docs.hp.com/en/5992-5309/5992-5309.pdf

configure your Ignite-UX server accordingly. After you are able to boot your client, you will continue with normal HPUX installation interface.

J.
Proboi
Advisor

Re: How to restore a VM after make_net_recovery is done

Hi Rajeev,
There are a couple of ways you can do this

go to the console of the VM, "hpvmconsole"

reboot the VM so that we get to EFI shell
on the run "shell> lanboot select"

use select the lan card/VMSWITCH that is on the same subnet as MRIGNITE

( OR )
Assign an ISO image as DVD to the VM, boot off it, DO NOT INSTALL but you would get an option to POINT TO AN IGNITE SERVER, you can give MRIGNITE's ip address, Subnet and gateway


first method if both MRIGNITE and MRVM are in the same subnet

Second method if they are on different subnets

Please dont forget to assign points !!
Rajeev jain
Advisor

Re: How to restore a VM after make_net_recovery is done

After i did lanboot and selected the interface it only shows me the media configs for OS, not the one created my make_net_recovery, which is where I am stuck. I found no documentation which explains clearly on how to make the client (MRVM) load its image from Ignite server (MRIGNITE).

THIS IS THE OUTPUT FROM MRVM Console:

startup.nsh> echo -off

setting hpux path(\EFI\HPUX)...
type 'fs[x]:' where x is your bootdisk (0, 1, 2...)
CLIENT IP: 10.10.37.95 MASK: 255.255.255.0 DHCP IP: 10.10.37.73
GATEWAY IP: 10.10.37.1 ci(1|0)/Mac(766F1BF83C81)
Select Desired LAN: 01ption selected
TSize.Running LoadFile()/Pci(1|0)/Mac(766F1BF83C81)

TFTP.ng LoadFile()
@(#) HP-UX IA64 Network Bootstrap Program Revision 1.1
Downloading HPUX bootloader8 3C 81
Starting HPUX bootloader
Obtaining size of fpswa.efi (328192 bytes)
Downloading file fpswa.efi (328192 bytes)

(C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF -- Revision 2.037

Booting from Lan
Obtaining size of AUTO (226 bytes)
Downloading file AUTO (226 bytes)
Obtaining size of AUTO (226 bytes)
Downloading file AUTO (226 bytes)



Obtaining size of AUTO (226 bytes)
Downloading file AUTO (226 bytes)
1. target OS is B.11.23 IA
2. target OS is B.11.31 IA
3. Exit Boot Loader

THIS IS WHAT I HAVE IN MRIGNITE:
MRIGNITE:root(/var/opt/ignite/clients/MRVM)# ls -la
total 554
drwxr-xr-x 4 bin bin 1024 Apr 29 11:19 .
drwxr-xr-x 45 bin bin 2048 Apr 29 11:16 ..
-rw-r--r-- 1 bin sys 789 Apr 29 11:03 CINDEX
-rw-r--r-- 1 bin sys 8 Apr 28 22:48 client_name
-rw-r--r-- 1 bin sys 195 Apr 29 11:42 client_status
-rw-r--r-- 1 bin bin 6030 Apr 29 11:19 config
-rw-r--r-- 1 bin bin 6030 Apr 29 11:19 config.bak
-rw-r--r-- 1 bin bin 55959 Apr 29 09:32 config.full
-rw-r--r-- 1 bin bin 625 Apr 29 11:16 config.sys
-rw-r--r-- 1 bin sys 223 Apr 29 11:16 env.vars
-rw-r--r-- 1 bin bin 737 Apr 29 11:16 host.info
-rw-r--r-- 1 bin bin 319 Apr 29 11:16 hw.info
-rw-r--r-- 1 bin bin 39358 Apr 29 11:51 install.log
-rw-r--r-- 1 bin bin 152073 Apr 29 10:00 install.log.prev
-rw-r--r-- 1 bin bin 2164 Apr 29 11:16 io.info
-rw-r--r-- 1 bin bin 0 Apr 29 10:05 lockfile
drwxr-xr-x 2 bin bin 1024 Apr 29 11:41 manifest
drwxr-xr-x 3 bin bin 1024 Apr 29 10:27 recovery
-rw-r--r-- 1 bin bin 32 Apr 29 11:03 server.state
-rw-r--r-- 1 bin bin 6030 Apr 29 11:19 tmp.cfg