DbAppWeb.com

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

How to remove a vPar from nPar in HP-UX

September 9, 2023 DbAppWeb Admin

Problem

How to remove a vPar from nPar in HP-UX?

I have an HP-UX virtualization environment in which one nPar has 3 vPar as shown below:

# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  Type OS Type State     #VCPUs #Devs #Nets Memory
==================== ===== ==== ======= ========= ====== ===== ===== =======
DBAPPWEB1               1 VP   HPUX    On (OS)        4     4     2 16384 MB
DBAPPWEB2               2 VP   HPUX    On (OS)        4     4     1 16384 MB
DBAPPWEB3               3 VP   HPUX    On (OS)        4     5     1 98304 MB

As virtual machine DBAPPWEB2 is no longer required, I have to remove this VM (vPar) from the above nPar.

Solution

To remove a Virtual Partition (vPar) from a Non-Uniform Memory Access (NUMA) Partition (nPar) using HPVM (HP Virtual Machine), you’ll need to perform a series of steps. Be cautious when doing this operation, as it can impact the virtualized environment. Make sure you have backups and follow your organization’s guidelines for system administration. Here are the steps to remove a vPar from a nPar using hpvm command which I followed:

  • Connect to HPVM host (nPar): Log in to the HPVM host system as the superuser (root) or a user with administrative privileges.
  • Stop the vPar: Before removing a vPar, it should be stopped. Use the hpvmstatus and hpvmstop commands to check the current status of the vPar and stop it. Here I have stopped the vPar DBAPPWEB2 which I want to remove.
    # hpvmstop -P DBAPPWEB2
    hpvmstop: Stop the virtual machine 'DBAPPWEB2'? [n/y]: y
    #
    
  • Remove the vPar Configuration: To remove the vPar configuration, use the hpvmremove command followed by the name of the vPar you want to remove. Here vPar name is DBAPPWEB2.
    # hpvmremove -P DBAPPWEB2
    hpvmremove: Remove the virtual machine 'DBAPPWEB2'? [n/y]: y
    #
    
  • Check and Confirm: After removing the vPar, double-check that the vPar is no longer listed in the virtualized environment configuration. Use the hpvmstatus command to verify that it has been successfully removed. Here output shows that vPar DBAPPWEB2 has been removed successfully.
    # hpvmstatus
    [Virtual Machines]
    Virtual Machine Name VM #  Type OS Type State     #VCPUs #Devs #Nets Memory
    ==================== ===== ==== ======= ========= ====== ===== ===== =======
    DBAPPWEB1               2 VP   HPUX    On (OS)        4     4     2 16384 MB
    DBAPPWEB3               3 VP   HPUX    On (OS)        4     5     1 98304 MB
    #
    

Related Posts

  • How to clone an HP-UX system image using Dynamic Root Disk (DRD)
  • HP-UX password with special characters
  • HP-UX SSH Login Without Password
  • hpvmstatus command with example in HP-UX
  • How to Reboot vPar from console in HP-UX
  • List of Latest Installed Bundles and Products on HP-UX

Last Updated: September 09, 2023

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 hpvmstatus Virtual Machine

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 © 2026 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com