This script is a licensed product and can be obtained by contacting Mt Xia or TriParadigm.
#!/usr/bin/ksh93
################################################################
function usagemsg_rmlpar {
print "
Program: rmlpar
Remove an LPAR from a Power5/6/7 HMC managed system.
Usage: ${1##*/} [-?vVL] -h HMCname -l LPARname
[-u HMCuser] [-s SystemName] [-w #]
Where:
-v = Verbose mode - displays rmlpar function info
-V = Very Verbose Mode - debug output displayed
-h = HMC machine name
-u = HMC user name
-l = LPAR name to remove
-s = System name from which to remove the LPAR
-L = Display a list of systems managed by the specified HMC
-w = Workgroup management number (default:1)
Author: Dana French (dfrench@mtxia.com) Copyright 2005
\"AutoContent\" enabled
"
}
################################################################
####
#### Description:
####
#### This script is a licensed product and can be obtained
#### by contacting Mt Xia or TriParadigm.
####
#### http://www.mtxia.com
#### http://www.triparadigm.com
####
#### This script will remove an LPAR from a Power5/6/7 HMC managed system.
####
#### Assumptions:
####
#### This script assumes "ssh" connectivity to the HMC, but
#### not necessarily "password-less" login.
####
#### Dependencies:
####
#### Connectivity with the HMC using "ssh" is the only
#### communication mechanism supported at this time.
####
#### Products:
####
#### Configured Usage:
####
#### Details:
####
################################################################