- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to tell if Npar or Vpar?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 11:56 AM
02-18-2009 11:56 AM
How to tell if Npar or Vpar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 12:01 PM
02-18-2009 12:01 PM
Re: How to tell if Npar or Vpar?
Is there less hardware than you would expect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 12:05 PM
02-18-2009 12:05 PM
Re: How to tell if Npar or Vpar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 12:09 PM
02-18-2009 12:09 PM
Re: How to tell if Npar or Vpar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 12:48 PM
02-18-2009 12:48 PM
Re: How to tell if Npar or Vpar?
The usual methodology is to install Vpars onto the Npar boot disc, and then create the frst Vpar using that boot disc, as you say, by changing the mkboot auto file string.
If indeed there are Vpars in an Npar, then ANY instance of HP-UX OS in that Npar has ot be on a Vpar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2009 07:27 PM
02-18-2009 07:27 PM
Re: How to tell if Npar or Vpar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 12:09 AM
02-19-2009 12:09 AM
Re: How to tell if Npar or Vpar?
On an SD if you have even one VPAR in the NPAR as UP then the VFP for that NPAR shall show you the OS is up or running.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 12:55 AM
02-19-2009 12:55 AM
Re: How to tell if Npar or Vpar?
one alternative way how to find out whether you're on a vpar on npar is to check the AUTO file.
vpars always boot monitor before hpux kernel, so the AUTO file should read:
boot /stand/vpmon
instead of the usual "boot vmunix".
Jozef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 04:53 AM
02-19-2009 04:53 AM
Re: How to tell if Npar or Vpar?
you can use vecheck(1):
DESCRIPTION
The vecheck command uses its exit status to report whether or not the
command has been run in a virtual partition (vPars) environment. The
result can be used to alter command flow in a script.
...
RETURN VALUE
The vecheck command exits with one of the following values:
0 The command is run in a vPars environment.
255 The command is run in a non-vPars environment.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 08:36 AM
02-19-2009 08:36 AM
Re: How to tell if Npar or Vpar?
Mounaan:
That's nice. And /sbin/vecheck exists on my PA-Risc box. I don't have an Itegrity dome so I can't check there. I'd have given 10 but there is no man page for vecheck and very little on the internet.
Do you have a procedure for running it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 01:37 AM
02-23-2009 01:37 AM
Re: How to tell if Npar or Vpar?
the man page for this command isn't provided by vPar 3.X (11.11) but is available in vPar 4.X (11.23) and 5.X (11.31).
You'll find an example of its usage in startup script /sbin/init.d/icod (or /sbin/init.d/vparinit).
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 01:48 AM
02-23-2009 01:48 AM
Re: How to tell if Npar or Vpar?
vecheck(1M) is one of many tests run in my
Perl script for HP-UX servers:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt
Basically, here is the summary for vecheck
with Perl code how to use it:
my $ret = system "vecheck 2>/dev/null";
my $RCVALUE = ( $ret >> 8 ) && 0xff;
chomp($RCVALUE);
if ( "$RCVALUE" == 0 ) {
"\nINFO vecheck(1m) confirms server running in virtual partition (vPars) environment\n";
}
else {
if ( "$RCVALUE" == 255 ) {
"\nINFO vecheck(1m) confirms server NOT running in virtual partition (vPars) environment\n";
}
}
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 01:48 AM
11-02-2009 01:48 AM