SIMPLE STEP TO INSTALL AIX FROM A VIRTUAL DVD ROM
1. CREATE A ISO IMAGE FROM A AIX DVD
Log on to vio server using padmin user
Load Media into drive and run command
dd if=/dev/cd0 of=/tmp/aiximage.iso bs=1m
2. CREATE A DVD REPOSITORY
Check for any repository already present
$ lsrep
The DVD repository has not been created yet.
Display the storage pool available on the VIO
$ lssp
Pool Size(mb) Free(mb) Alloc Size(mb) BDs Type
rootvg 40000 20110 128 10 LVPOOL
Create a Virtual Media Repository in the storage pool rootvg
$ mkrep -sp rootvg -size 1280M
Virtual Media Repository Created
Repository created within "VMLibrary_LV" logical volume
$
List the newly created Virtual Media Repository
$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
125 125 rootvg 40000 20110
3. ASSIGN A IMAGE TO A MEDIA
$ pwd
/home/padmin
Copy the previously created iso image
View the iso image
$ ls -altr *.iso
-rw-r--r-- 1 padmin staff 102400 Aug 28 12:52 aiximage.iso
Create a media named aiximage
$ mkvopt -name aiximage -file aiximage.iso
Make sure that the image is assigned to the repository
$ lsrep
Size(mb) Free(mb) Parent Pool Parent Size Parent Free
126 125 rootvg 40000 20110
Name File Size Optical Access
aiximage 1 None rw
4. ASSIGN MEDIA TO A LPAR
We can assign media through Tasks == > Configuration == > Virtual resources
== > Virtual Storage Management
Get a list of managed servers
hscroot@HMC1:~> lssyscfg -r sys -F name
Prod2-8234-EMA-SN1D2
QA1-8234-EMA-SN102
Prod4-8234-EMA-SN1B2
Prod1-8234-EMA-SN1A2
TSMDev-8204-E8A-S5CE2
Prod3-8234-EMA-SNFC2
hscroot@HMC1:~>
List the LPARs on one of the managed servers listed above
hscroot@HMC1:~> lssyscfg -r lpar -m Dev-8234-EMA-SN10CFFE2 -F
name,lpar_id,lpar_env,state
castd0,21,aixlinux,Running
casmd0,20,aixlinux,Running
casd00,18,aixlinux,Running
casmd0,16,aixlinux,Running
casd20,15,aixlinux,Running
From the list, select an LPAR on which media in the Virtual Media Repository will be used and Note the lpar_id of the LPAR
For example casd00,18,aixlinux,Running
List the virtual server adapters on VIO server
$ lsmap -all -field svsa clientid
SVSA Client Partition ID
--------------- -------------------
vhost0 0x00000003
SVSA Client Partition ID
--------------- -------------------
vhost16 0x00000012
Assign virtual optical media to virtual host adapter associated with the LPAR
mkvdev -fbo -vadapter vhost16
vtopt0 Available
Load virtual optical media into the file
$ loadopt -disk aiximage -vtd vtopt0
BOOT THE CLIENT LPAR USING CDROM AND INSTALL AIX
No comments:
Post a Comment