Operating System - HP-UX
1753556 Members
6009 Online
108796 Solutions
New Discussion юеВ

Re: oOS Installation + HPVM

 
SOLVED
Go to solution
David Willams
Super Advisor

Re: oOS Installation + HPVM

# pwd
/var/opt/hpvm/ISO-images/hpux
# ll
total 17582096
-rwxrwxrwx 1 root sys 4575508480 Dec 17 10:54 5014-1449.iso
-rwxrwxrwx 1 root sys 4426500096 Dec 17 07:08 5014-1450.iso
# hpvmconsole -P vmtest1


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[vmtest1] vMP> in

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.1.0 (0,0,1) dvd

Enter menu item number or [Q] to Quit: q

** Selection canceled. No action taken. **

-> Command failed.

[vmtest1] vMP> ej

** No devices available for ejecting. **

-> Command failed.

[vmtest1] vMP> in

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.1.0 (0,0,1) dvd

Enter menu item number or [Q] to Quit: 1

hpvmconsole: Skipped 2 unsuitable file(s) for the following reasons:
World-writeable: 2

** Error: No files are available for the requested device. **

-> Command failed.

[vmtest1] vMP>
melvyn burnard
Honored Contributor

Re: oOS Installation + HPVM

how are you presenting these iso files to your machine?
have you used:
hpvmmodify -p vmname -a dvd/scsi::file:/var/opt/hpvm/ISO-images/hpux/5014-1449.iso


If so, you cannot use the insert/eject commands from the vMP.
Simply install with the first iso file, when it asks for the second one, on the host do:
hpvmmodify -p vmname -m dvd/scsi::file:/var/opt/hpvm/ISO-images/hpux/5014-1450.iso

This effectively is a change fo the media, and once it has been done you can continue from the vMP prompt
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
David Willams
Super Advisor

Re: oOS Installation + HPVM

did all over that again and I have now


# hpvmconsole -P vmtest1


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[vmtest1] vMP> ej

Ejectable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev Pstore Path
-------------------------------------------------------------------------
[1] 0/0/0/0.2.0 (0,0,2) dvd file /var/opt/hpvm/ISO-images/hpux/5014-1449.iso
[2] 0/0/0/0.3.0 (0,0,3) dvd file /var/opt/hpvm/ISO-images/hpux/5014-1450.iso

Enter menu item number or [Q] to Quit: 1

Confirm eject action
G - Go
F - Force

Enter menu item or [Q] to Quit: g

[vmtest1] vMP> in

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.2.0 (0,0,2) dvd

Enter menu item number or [Q] to Quit: 1

hpvmconsole: Skipped 2 unsuitable file(s) for the following reasons:
World-writeable: 2

** Error: No files are available for the requested device. **

-> Command failed.

[vmtest1] vMP>
David Willams
Super Advisor

Re: oOS Installation + HPVM

hpvmmodify: Unable to modify the guest.
# hpvmmodify -P vmtest1 -m dvd/scsi::file:/var/opt/hpvm/ISO-images/hpux/5014-1450.iso
hpvmmodify: Missing required device fields.
hpvmmodify: Invalid guest device type 'dvd/scsi'.
hpvmmodify: Invalid adapter type ''.
hpvmmodify: Invalid value specified with the -m option (dvd/scsi::file:/var/opt/hpvm/ISO-images/hpux/5014-1450.iso).
usage: hpvmmodify {-P vm_name | -p vm_number} [-F | -s] [-N new_vm_name]
[-l vm_label] [-B start_attr] [-O os_type[:version]]
[-c number_vcpus] [-e percent[:max percent] | -E cycles[:max cycles]]
[-r amount]
[-g -group]... [-g [+]group[:{admin|oper}]]...
[-u -user]... [-u [+]user[:{admin|oper}]]...
[-a rsrc]... [-m rsrc]... [-d rsrc]...
[-i SG | -i SG_pkgname | -i GWLM | -i SG_pkgname,GWLM | -i NONE]
[-j {0|1}]
[-x name=value] or [-x name=value[:name=value]], where
[-x amr_chunk_size=amount]
[-x amr_enable={0|1}]
David Willams
Super Advisor

Re: oOS Installation + HPVM

*******complete log*************


# hpvmstatus -P vmtest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
vmtest1 7 HPUX On (OS)

[Authorized Administrators]
Oper Groups :
Admin Groups :
Oper Users :
Admin Users :

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
3 50.0% 50.0%

[Memory Details]
Total Reserved
Memory Memory
======= ========
10 GB 64 MB

[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Minimum Target Memory Maximum
Memory Memory Entitlement Memory
=========== =========== =========== ===========
512 MB 5120 MB 0 MB 10240 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 disk /dev/rdisk/disk14
dvd scsi 0 0 0 3 0 file /var/opt/hpvm/ISO-images/hpux/5014-1450.iso

[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================

[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
# hpvmconsole _p vmtest1
Usage: hpvmconsole {-P vm_name | -p vm_number} [-c command]... [-e echar]
[-f] [-i] [-q]
# hpvmconsole -P vmtest1


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[vmtest1] vMP> ej

Ejectable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev Pstore Path
-------------------------------------------------------------------------
[1] 0/0/0/0.3.0 (0,0,3) dvd file /var/opt/hpvm/ISO-images/hpux/5014-1450.iso

Enter menu item number or [Q] to Quit: 1

Confirm eject action
G - Go
F - Force

Enter menu item or [Q] to Quit: F

Confirm eject action
G - Go

Enter menu item or [Q] to Quit: go

** Invalid selection. Please try again. **

Confirm eject action
G - Go

Enter menu item or [Q] to Quit: G

[vmtest1] vMP> ej

** No devices available for ejecting. **

-> Command failed.

[vmtest1] vMP> in

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.3.0 (0,0,3) dvd

Enter menu item number or [Q] to Quit: 1

hpvmconsole: Skipped 2 unsuitable file(s) for the following reasons:
World-writeable: 2

** Error: No files are available for the requested device. **

-> Command failed.

[vmtest1] vMP> x
# pwd
/
# cd /var/opt/hpvm/Im*
sh: /var/opt/hpvm/Im*: not found.
# cd /var/opt/hpvm/
# ll
total 16
drwxr-sr-x 6 root hpvmsys 96 Dec 16 10:06 ISO-images
drwxr-sr-x 3 root hpvmsys 8192 Dec 17 12:15 common
drwxr-sr-x 2 root hpvmsys 96 Dec 17 07:24 guests
drwxr-sr-x 4 root hpvmsys 96 Dec 17 06:54 hpvmnet
drwxr-sr-x 3 root hpvmsys 96 Dec 17 07:24 uuids
drwxr-sr-x 2 root hpvmsys 96 Dec 17 05:45 uuids_bad
# cd ISO*
# cd HPUX
sh: HPUX: not found.
# ll
total 0
drwxr-sr-x 2 root hpvmsys 96 Dec 16 10:06 common
drwxr-sr-x 2 root hpvmsys 96 Dec 17 10:55 hpux
drwxr-sr-x 2 root hpvmsys 96 Dec 16 10:06 linux
drwxr-sr-x 2 root hpvmsys 96 Dec 16 10:06 windows
# cd hpux
# ll
total 17582096
-rwxrwxrwx 1 root sys 4575508480 Dec 17 10:54 5014-1449.iso
-rwxrwxrwx 1 root sys 4426500096 Dec 17 07:08 5014-1450.iso
#
Torsten.
Acclaimed Contributor

Re: oOS Installation + HPVM

>> hpvmconsole: Skipped 2 unsuitable file(s) for the following reasons:
World-writeable: 2


This is the reason!

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!   
David Willams
Super Advisor

Re: oOS Installation + HPVM

Torsten,

you saved me today... I do not know why I have overlooked it...

but thank you so much
David Willams
Super Advisor

Re: oOS Installation + HPVM

I would like to keep this thread open ... as I might get doubts .. for my next steps

hpvmclone and hpvmmigrate
David Dilly
Regular Advisor

Re: oOS Installation + HPVM

The directory and the files must r--r--r--
Because there is not a burner it's a DVD-ROM (Read Only Device)

Now it will work fine.

By
David Willams
Super Advisor

Re: oOS Installation + HPVM

..