Monday, December 7, 2015

VPARs booting the VPMON and VPMON Commands (HP-UX) PA-RISC and Integrity servers

Note: These apply to VPARs versions 4.x/5.x . For the latest in case of any differences refer to the latest documents on the VPARs


How can we boot the VPMON?

PARISC:


BCH> ISL
ISL> hpux /stand/vpmon


INTEGRITY:

SHELL> fs0:
Fso:>hpux
HPUX> boot vpmon

Options with the VPMON command:


-a read the VPDB and load all the VPARs that have the Autoboot attribute set.
-D /stand/vpdb – use the VPDB file /stand/vpdb


VPMON Commands: (Commands that can be given at the MON Prompt)


MON> readdb /stand/vpdb

NOTE:

On Integrity the /stand/vpdb is actually linked to /stand/boot.sys/stand/vpdb.backup.
So while performing the backup of the VPDB using the UNIX cp command we also have to create the link /stand/vpdb to the /stand/boot.sys/stand/vpdb.backup so that using the VPDB the VPARs can be booted.

MON>vparload –all  ---- boots all the VPARs irrespective AUTOBOOT/AUTOSEARCH is set or not.

MON> vparload –auto -- This will boot all the VPARs that have the AUTOBOOT set.

MON> vparload –p vpar1 –o “-is”

This boots the VPARs in the single user mode

MON>vparload –p vpar1 –b /stand/vmunix.other

This boots the VPAR from an alternate VPAR Kernel

MON>vparload –p vpar1 –B 0/0/0/3/0.6.0

Boot the VPAR from an alternate boot path

The alternate kernels for the VPARs are kept in the directory /stand/alternate_config/.

To see the bootpath

MON>bootpath

Reboot in nPars environment

MON>reboot nPars

Reboot in vPars environment

MON>reboot vPars

Reboot the MON (hence the system)

MON>reboot

Read a Text file in /stand

MON>cat /stand/stuents.txt

MON>cbuf vpar1 -- shows the console buffer of the partition.

MON>clear pending -- clears a pending RFR. If an RFR is pending the VPAR can not be booted so in some cases we need to clear the pending RFR.


Seeing the contents of LIF Area

MON>lifls

Get the contents of the AUTO file

MON>getauto

List the files in /stand

MON>ls

NOTE:
The following commands do not work when one or more of the VPARs are up and running, getauto, lifls and readdb.

The following commands are disabled when the VPAR is up that owns the bootdisk, ls and cat.

No comments:

Post a Comment