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

mkviolpar

- Script to add/create a VIO Server LPAR on 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_mkviolpar {
  print "
Program: mkviolpar

Create a VIO Server LPAR on a Power5/6/7 HMC managed system.

Usage: ${1##*/} [-?vV] -h HMCname -l LPARname [-u HMCuser]
                 [-s SystemName] [-w #] [-L] [-S]
  Where:
    -v = Verbose mode - displays mkviolpar function info
    -V = Very Verbose Mode - debug output displayed
    -h = HMC machine name
    -u = HMC user name
    -l = LPAR name to create
    -s = System name on which to create the LPAR
    -L = Display a list of systems managed by the specified HMC
    -w = Workgroup management number (default:1)
    -S = Create Secondary VIO Server (default:Primary)

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 create a VIO Server LPAR on a Power5/6/7 HMC
#### managed system.  The resulting LPAR will require manual
#### configuration of physical and/or virtual I/O adapters.
#### 
#### Environment variables may be specified to change the default 
#### values of the LPAR template.
#### 
#### 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:
#### 
#### The product of this script is a configured LPAR and profile
#### on an HMC managed system.  No I/O is configured thru
#### this script, that is left for manual configuration.
#### 
#### Configured Usage:
#### 
#### Environment variables that can be specified to change the
#### default values of the LPAR template:
#### 
####     LPAR_ENV
####     WORK_GROUP_ID
####     MIN_MEM
####     DESIRED_MEM
####     MAX_MEM
####     PROC_MODE
####     MIN_PROC_UNITS
####     DESIRED_PROC_UNITS
####     MAX_PROC_UNITS
####     MIN_PROCS
####     DESIRED_PROCS
####     MIN_PROCS
####     DESIRED_PROCS
####     MAX_PROCS
####     SHARING_MODE
####     UNCAP_WEIGHT
####     BOOT_MODE
####     CONN_MONITORING
#### 
#### Details:
#### 
################################################################

-
Create VIO 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