1847822 Members
4083 Online
104021 Solutions
New Discussion

vpar

 
SOLVED
Go to solution
jimmy_39
Advisor

vpar

i have a problem ..

i have started the vpar of the superdome
with

vparload -all

what is the command for stopped the vpar partition

8 REPLIES 8
Jeff Schussele
Honored Contributor
Solution

Re: vpar

Hi Jimmy,

From the Installing and Managing HP-UX Virtual Partitions (vPars) Manual:

Shutting Down or Rebooting a Partition



A virtual partition can be gracefully shut down or rebooted via the HP-UX command shutdown. To ensure that the partition database is synchronized (see Partition Database), execute the vparstatus command prior to executing the shutdown command.
Examples



To shutdown the partition winona1:

winona1# vparstatus
winona1# shutdown -h

After winona1 is shutdown, the partition is in the down state. For more information, see Partition States.


To reboot the partition winona1:

winona1# vparstatus
winona1# shutdown -r

--------------------------------------------------------------------------------
If a partition has its autoboot attribute set to MANUAL, the partition will only halt and will not reboot when the command shutdown -r (or reboot -r) is given. For more information on the partition attributes, see the vparmodify(1M) manpage and Modifying Attributes of a Partition.
When you need to force a non-graceful shutdown, such as when a partition appears hung, use vparreset. See Resetting a Hung Partition.

The shell commands shutdown and reboot apply only to the OS instance of the virtual partition from which they are executed and do not shut down or reboot any other partition or the vPars monitor.

There is no command to shutdown the monitor. The monitor command reboot (see Using Monitor Commands) applies to the entire computer, causing the entire computer to reboot. For more information on how to shut down or reboot the entire computer gracefully, see Shutting Down or Rebooting the Computer.

Note that if you have multiple partitions, you have to shut them all down...

Shutting Down or Rebooting the Computer



To shutdown or reboot a vPars computer gracefully, you need to do the following:
Log into every virtual partition that is running and gracefully shutdown the partition via shutdown.

There is no command that shuts down all the virtual partitions at the same time. You need to shutdown every partition one at a time. The same is true for rebooting all the virtual partitions.

For our example, if all our partitions were up, we would need to shut them down:

winona1# vparstatus
winona1# shutdown -h
winona2# vparstatus
winona2# shutdown -h
winona3# vparstatus
winona3# shutdown -h

After the last partition is shutdown, you will be at the monitor prompt (MON>) on the console.
To shutdown the computer, use the GSP command PC to power off the computer. Alternatively, you can power off the computer via the physical power switch on non-Superdome computers.

Because no partitions are running and monitor is running only in memory, shutting down the monitor this way does not corrupt the computer's memory.


To reboot the computer, use the monitor command reboot:

MON> reboot

HTH,
Jeff


PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alzhy
Honored Contributor

Re: vpar

Jimmy,

If you want to shutdown a vPar then do as you shutdown any server -- ie. "shutdown -hy".
.
If you want to shutdown all vPars, then you will have to shutdown each vPar first until all your vPars are shutdown -- which would place you on the MON> prompt.
.
From the MON prompt, you can selctively load just a single vPar (vparload -p vparname) and subsequently load other vPars.
.
You toggle from MON to an active vPars console from your GSP Console by doing CTRL-A.
.
From the MON> prompt, type help and it will show you what options are avilable at the MON level.
.
HTH.
Hakuna Matata.
jimmy_39
Advisor

Re: vpar

thanks but my problems is :


NFS server (pid650@/net) not responding still tryng

i want shut this partition ...



wahat is command for shut tis partition or
all aprtition
Alzhy
Honored Contributor

Re: vpar

Use vparreset -- do a man on the options (you can force a TOC on it). Or kill the process on your vPar that has a hook to an NFS share.
Hakuna Matata.
Alzhy
Honored Contributor

Re: vpar

Unfortunately there is not a vparshut command. So vparreset is your best bet -- it will reset the vPar and depending if your AUTO is set to boot, then after a vPar reset it may go all the way up once more...

Hakuna Matata.
jimmy_39
Advisor

Re: vpar

i have resolved the problem
with ctrl | for skip the nfs server



thanks
Pete Randall
Outstanding Contributor

Re: vpar

Jimmy,

Generally, "nfs server not responding" is a result of a network misconfiguration. As you've discovered, you can break out of the startup script with the break sequence. Now you need to figure out what's wrong. Check hostname resolution forward and backward by name and ip. 9 times out of 10, that's the problem right there.


Pete


Pete
Michael Steele_2
Honored Contributor

Re: vpar

showmount -e for exported NFS file systems
Support Fatherhood - Stop Family Law