Home About BC DR HA Support Training Download
You are here: Home/ Downloads/ Scripts/ Korn/ Functions/ Please Login or Register

-
Current Location
-

js
  Downloads
    Scripts
      Korn
        Functions
-
AIX Admin Methodology
Global Consolidation Project
All AIX admins should join
www.aixexpert.com


Join our LinkedIn Group
AIX Advanced Technical Experts
Contract Opportunities

www.LinkedIn.com

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


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

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

www.siteox.com

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com

rmlpar

- Script to remove/delete an LPAR from a Power5/6/7 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 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:
#### 
################################################################

-
Delete LPAR
-
 


LPAR Leasing
Lease an AIX / i5 LPAR
Reduce your costs

www.mtxia.com

Server Leasing
Lease a Server off-site
Reduce your costs

www.mtxia.com

Data Center Automation
Business Continuity and DR
Virtualization/Consolidation

www.mtxia.com

HMC Service
Hardware Management Console
Manage Remote AIX / i5 LPARs

www.siteox.com

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

Disaster Recovery
Small Business Oriented
Off-Site Facilities

www.mtxia.com

IBM pSeries / iSeries
Reduce your Costs
Off-Site Server Hosting

www.mtxia.com