1822321 Members
5386 Online
109642 Solutions
New Discussion юеВ

oOS Installation + HPVM

 
SOLVED
Go to solution
David Willams
Super Advisor

oOS Installation + HPVM

Now I have two vdvd's and OS is installing from dvd1... which is an iso image

when it asks for disk 2... how should I go about..
29 REPLIES 29
Johnson Punniyalingam
Honored Contributor

Re: oOS Installation + HPVM

>>when it asks for disk 2... how should I go about.<<

You mean to say that the OS Installation points to 2 disk path instead of 1 disk ?
Problems are common to all, but attitude makes the difference
David Willams
Super Advisor

Re: oOS Installation + HPVM

No.... When installation from Disk1 is over... it will ask to insert Disk 2...

So how do I insert Disk 2.. which is also an iso image
Johnson Punniyalingam
Honored Contributor

Re: oOS Installation + HPVM

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1139727&admit=109447627+1261064283206+28353475

Please check above Thread , especially comment by <>
Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor
Solution

Re: oOS Installation + HPVM

go to vMP, use "ej"ect, "in"sert the other ISO, go back to console and continue.

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!   
Johnson Punniyalingam
Honored Contributor

Re: oOS Installation + HPVM

My Apologies .. sorry for misunderstood you Question .. my bad :(
Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor

Re: oOS Installation + HPVM

Example:

vMP> ej

Ejectable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev Pstore Path
-------------------------------------------------------------------------
[1] 0/0/1/0.3.0 (0,1,3) dvd file /var/tmp/ISO/installdvd1
.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





The second ISO must be in the same directory!

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!   
melvyn burnard
Honored Contributor

Re: oOS Installation + HPVM

how have you assigned the vdvd iso image?
If you have specified the backing store iso file as the virtual dvd, simply use hpvmmodify -P VMname -m dvd:scsi::file:2nd_iso_image_pathname
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


[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 1 unsuitable file(s) for the following reasons:
World-writeable: 1

** Error: No files are available for the requested device. **
David Willams
Super Advisor

Re: oOS Installation + HPVM

# ll /var/opt/hpvm/ISO-images/hpux
total 8645536
-rwxrwxrwx 1 root sys 4426500096 Dec 17 07:08 5014-1450.iso
#
David Willams
Super Advisor

Re: oOS Installation + HPVM

I have deleted the first iso and then copied the second iso
melvyn burnard
Honored Contributor

Re: oOS Installation + HPVM

well that ll output only shows one iso image file, where is the second?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
melvyn burnard
Honored Contributor

Re: oOS Installation + HPVM

well it would hav ebeen better to leave the first iso, then add in teh second iso as another file, and just use the hpvmmodify command to point the virtual dvd at the second file
What you have essentially done is changed the media in a method that the system has no idea it has been changed

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

Ohhh... looks like I have messed up...

What should my next step..
start from dvd 1 ???
Torsten.
Acclaimed Contributor

Re: oOS Installation + HPVM

Looks like you currently have the physical DVD assigned? Did you modify the virtual DVD?

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

now this led to other issues...

so i would like to address it here

not enough space on /var which is lvol 8


LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 12000
Current LE 750
Allocated PE 750
Used PV 1

lv size: 12000MB=11 Gig

bdf:


/dev/vg00/lvol8 10485760 6560992 3901600 63% /var

but here I have

# fsadm -F vxfs -b 27000 /var
UX:vxfs fsadm: ERROR: V-3-23544: sectors must be >= 6561025 as they are currently in use.
# fsadm -F vxfs -b 6561025 /var
UX:vxfs fsadm: INFO: V-3-24380: 6561025 sectors requested, rounding to 6561024 sectors
UX:vxfs fsadm: INFO: V-3-23586: /dev/vg00/rlvol8 is currently 10485760 sectors - size will be reduced
UX:vxfs fsadm: ERROR: V-3-20343: cannot shrink /dev/vg00/rlvol8 - blocks are currently in use.
# fsadm -F vxfs -b 25000 /var
UX:vxfs fsadm: ERROR: V-3-23544: sectors must be >= 6560985 as they are currently in use.
# fsadm -F vxfs -b 6560985 /var
UX:vxfs fsadm: ERROR: V-3-23544: sectors must be >= 6561001 as they are currently in use.
#

David Willams
Super Advisor

Re: oOS Installation + HPVM

So I have 25 gig in var but it shows as only 10 gig i n bdf ???
melvyn burnard
Honored Contributor

Re: oOS Installation + HPVM

well if you deleted a file in /var while it was still open, then bdf will still show the space in use, whereas df or du wiill show it free.
So doing what you are trying to do fails because it believes the file you deleted is still there
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

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

Re: oOS Installation + HPVM

do I need to make any changes or go ahead with the installation of dvd1 ...
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
#