Mt Xia: Technical Consulting Group

Business Continuity / Disaster Recovery / High Availability
Data Center Automation / Audit Response / Audit Compliance

-
Current Location
-

css
  Downloads
    Scripts
      Korn
        Functions

-

digg Digg this page
del.icio.us Post to del.icio.us
Slashdot Slashdot it!


Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

rmlpar

- Script to remove/delete an LPAR from a Power 5 HMC managed system

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 Power 5 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 Power 5 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:
#### 
################################################################

-
Delete LPAR
-
 


FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com