DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to Reboot vPar from console in HP-UX

August 16, 2020 DbAppWeb Admin

Reboot vPar from Console

  • Login to nPar as root and check the status of the vPars by using the command vparstatus.
    # vparstatus
    [Virtual Partition]
    Num Name                        RunState      State
    === ==========================  ============  =========
      1 daw_vpar1                    UP            Active
      2 daw_vpar1                    UP            Active
      3 daw_vpar1                    UP            Active
    
    [Virtual Partition Resource Summary]
    Virtual Partition               CPU      Num   Num   Total MB   Floating MB
    Num Name                        Min/Max  CPUs  IO    Memory     Memory
    === ==========================  =======  ====  ====  =========  ============
      1 daw_vpar1                    1/512     2     5      16384             0
      2 daw_vpar1                    1/512     3     5      16384             0
      3 daw_vpar1                    1/512     2     6      65536             0
    #

 

  • Connect to vPar console using the command vparconsole -p <vPar Name or Num>. Here I have connected to the virtual partition (vPar) 1 which is daw_vpar1
    # vparconsole -p 1
    
    
       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
    
  • Type command co to go to live console and log in as root by providing the password.
    [dbappweb1] vMP> co
    
    
    
            (Use Ctrl-B to return to vMP main menu.)
    
    
    
    - - - - - - - - - - Prior Console Output - - - - - - - - - -
    .
    .
    
    - - - - - - - - - - - - Live Console - - - - - - - - - - - -
    
    
    GenericSysName [HP Release B.11.31] (see /etc/issue)
    Console Login: root
    Password:
    Last successful login:       Mon Aug 10 10:32:04 IST 2020 /dev/console
    Last authentication failure: Tue Jan 28 14:30:28 IST 2020 /dev/console
    Please wait...checking for disk quotas
    (c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
    (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
    .
    .
    .
    
    You have mail.
    
    Value of TERM has been set to "vt100".
    WARNING:  YOU ARE SUPERUSER !!

 

  • Now run the command shutdown -ry now to reboot or restart the vPar.
    # shutdown -ry now
    
    SHUTDOWN PROGRAM
    08/10/20 10:48:54 IST
    
    Broadcast Message from root (console) Mon Aug 10 10:48:54...
    SYSTEM BEING BROUGHT DOWN NOW ! ! !
    
    
    /sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
    
    
         System shutdown in progress
         ___________________________
    
         Stop LVM daemon ................................................. OK
         Stop kwdbd ...................................................... N/A
         Stopping HP-UX Apache-based Web Server .......................... OK
         Stopping HP-UX Tomcat-based Servlet Engine. ..................... N/A
         Stopping HP-UX Webmin-based Admin ............................... OK
         Stopping the HPUX Webproxy subsystem ............................ OK

 

  • vPar machine is rebooting now, and it will take some time to come up.

 

Note: If vPar is already down or hung then use the vparstatus to check the status of the vPar and use commands like vparreset and vparboot to reset/startup the vPar.

# vparreset -p vPar_name [-h|-t] [-q] [-f]
# vparboot -p vPar_name

Last Updated: Aug 16, 2020

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
Prev Article
Next Article
Tags:HP-UX Sys Admin Unix

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com