Operating System - HP-UX
1834414 Members
1493 Online
110067 Solutions
New Discussion

Re: Cannot find the VM's boot path after recovering the VSP from tape

 
dennischen
Advisor

Cannot find the VM's boot path after recovering the VSP from tape

Hi everyone,

I have two VSPs in different sites, both based on the same BL870ci4 platform with hpux11i31 OS. VSP1 with 6 VMs is in production. I tried to install the VSP2 with the tape (make_tape_recovery from VSP1), so I don't have to re-create the new VMs one by one.

 

After I finished the recovery, all the VMs cannot boot normally. Seems like they cannot find the boot disk. So can I just use the tape to recover the who VSP and VMs? Appreciate for the advice, Thank you! 

bl870-[yp_hpvm][/var/adm/syslog]#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ===== ==== ======= ========= ====== ===== ===== =======
DNS 6 SH HPUX On (EFI) 2 1 3 8192 MB
intweb1 5 SH HPUX On (EFI) 2 1 3 16 GB
extweb1 2 SH HPUX On (EFI) 2 2 2 8192 MB
test 1 SH HPUX On (EFI) 2 1 0 8192 MB
extweb2 3 SH HPUX On (EFI) 2 2 2 8192 MB
webtest1 4 SH HPUX On (EFI) 2 1 3 16 GB

#the storage device is the LV, all the LVs are created in the VSP1's vg00.
bl870-[yp_hpvm][/]#hpvmstatus -P test -d               
[Virtual Machine Devices]

[Storage Interface Details]
disk:avio_stor:0,0,0:lv:/dev/vg00/rvm01_rootlv

[Network Interface Details]

[Direct I/O Interface Details]

[Misc Interface Details]
serial:com1::tty:console
 
 
 
bl870-[yp_hpvm][/]#ll /dev/vg00 | grep rootlv                            #all the LVs are here
crw-r----- 1 root sys 64 0x000009 Feb 4 11:23 rvm01_rootlv
crw-r----- 1 root sys 64 0x00000b Feb 4 11:23 rvm02_rootlv
crw-r----- 1 root sys 64 0x00000c Feb 4 11:23 rvm03_rootlv
crw-r----- 1 root sys 64 0x00000d Feb 4 11:23 rvm04_rootlv
crw-r----- 1 root sys 64 0x00000e Feb 4 11:23 rvm05_rootlv
crw-r----- 1 root sys 64 0x00000f Feb 4 11:23 rvm06_rootlv
brw-r----- 1 root sys 64 0x000009 Feb 4 11:23 vm01_rootlv
brw-r----- 1 root sys 64 0x00000b Feb 4 11:23 vm02_rootlv
brw-r----- 1 root sys 64 0x00000c Feb 4 11:23 vm03_rootlv
brw-r----- 1 root sys 64 0x00000d Feb 4 11:23 vm04_rootlv
brw-r----- 1 root sys 64 0x00000e Feb 4 11:23 vm05_rootlv
brw-r----- 1 root sys 64 0x00000f Feb 4 11:23 vm06_rootlv
bl870-[yp_hpvm][/]#
 
 
 
EFI Boot Manager ver 1.10 [14.62] [Build: Thu Nov  5 23:01:52 2015]
 
Please select a boot option
 
    HP-UX Primary Boot: 0/0/1/0.0x0.0x0                                                                          
    EFI Shell [Built-in]                                            
    Boot option maintenance menu                                    
 
 
    Use ^ and v to change option(s). Use Enter to select an option
Loading.: HP-UX Primary Boot: 0/0/1/0.0x0.0x0                      
Load of HP-UX Primary Boot: 0/0/1/0.0x0.0x0 failed: Not Found                   #boot failed
 
 
Loading.: EFI Shell [Built-in]
EFI Shell version 1.10 [14.62]
Device mapping table
Shell>
 
 
###add the root_lv
Device mapping table
Shell>
Shell> devtree
Device Tree
  Ctrl[06]
  Ctrl[0E] Acpi(PNP0A03,0)
    Ctrl[22] Acpi(PNP0A03,0)/Pci(3|0)
      Ctrl[23] Acpi(PNP0A03,0)/Pci(3|0)/Acpi(PNP0501,0)
        Ctrl[26] Acpi(PNP0A03,0)/Pci(3|0)/Acpi(PNP0501,0)/Uart(115200 N81)
Shell>    Ctrl[27] VT-100 Serial Console
            Ctrl[1F] Primary Console Input Device
            Ctrl[20] Primary Console Output Device
            Ctrl[1E] Primary Standard Error Device
      Ctrl[24] Acpi(PNP0A03,0)/Pci(3|0)/Acpi(PNP0501,1)
      Ctrl[25] Acpi(PNP0A03,0)/Pci(3|0)/Acpi(PNP0303,0)
    Ctrl[28] HP AVIO Stor Controller                                             #cannot find the disk
    Ctrl[29] Acpi(PNP0A03,0)/Pci(1|0)
    Ctrl[2A] Acpi(PNP0A03,0)/Pci(2|0)
  Ctrl[39] VenHw(D65A6B8C-71E5-4DF0-A909-F0D2992B5AA9)
 
Shell> reconnect -r
ReconnectController(0,0,0) : Status = Success
 
Shell>
Shell> map                                                                             #no boot device
Device mapping table
 
Shell>
2 REPLIES 2
Stan_M
HPE Pro

Re: Cannot find the VM's boot path after recovering the VSP from tape

so you have the lvols on the second VSP, but do they have any content? make_tape_recovery is not transfering

raw lvol content.

 

 

I work for HPE
dennischen
Advisor

Re: Cannot find the VM's boot path after recovering the VSP from tape

How can I verify if the LVs on second VSP have the any content? 

make_tape_recovery cannot transfer raw device content,  I didn't know about this. So, I have to re-install the VMs on the second VSP one by one, is that true?