Tuesday, February 22, 2011

NPIV

Presenting storage to LPARs for SAN boot using NPIV is a 2 step process.

First you need to boot the LPAR using nim to make FC adapters appear at switch level.
You can confirm same using Ports logged in in lsmap output.



Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost2 U8233.E8B.1032F3P-V1-C15 5 mqwuat1 AIX

Status:LOGGED_IN
FC name:fcs0 FC loc code:U5877.001.00H2594-P1-C2-T1
Ports logged in:1
Flags:a
VFC client name:fcs0 VFC client DRC:U8233.E8B.1032F3P-V5-C15-T1


Once you zone at switch you need to reboot lpar using nim again
to make WWN appear at storage side.


Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost2 U8233.E8B.1032F3P-V1-C15 5 mqwuat1 AIX

Status:LOGGED_IN
FC name:fcs0 FC loc code:U5877.001.00H2594-P1-C2-T1
Ports logged in:3
Flags:a
VFC client name:fcs0 VFC client DRC:U8233.E8B.1032F3P-V5-C15-T1


or
Boot LPAR into 'firmware ok prompt'. type: ioinfo. Choose fcinf

Friday, February 11, 2011

SAS Raid devices

Configuring RAID on AIX

smitty devices - > IBM SAS Disk Array -> IBM SAS Disk Array Manager -> Create an Array Candidate pdisk and Format to 528 Byte Sectors

smitty devices - > IBM SAS Disk Array -> IBM SAS Disk Array Manager ->Create a SAS Disk Array
Select sissas0 Available 01-08 PCI-X266 Planar 3Gb SAS RAID Adapter ,Select desired RAID level (0,5,10,6) RAID 5,
Stripe size (256 kb) -> select disks (pdisk1,2,3)


Thursday, February 10, 2011

Verify your mksysb.

I couldn't create a NIM SPOT using mksysb image.

When I have verified, I figured out that my mksysb image was not clean/complete.

1)lsmksysb -lf /export/mksysb/mksysb_20110210_14.wasprod1

clean with out any errors
Shows system,OS info and filesystems info

2) restore -Tqvf /export/mksysb/mksysb_20110210_14.wasprod1 >/dev/null

New volume on /export/mksysb/mksysb_20110210_14.wasprod1:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Thu Feb 10 09:10:02 CST 2011
Files are backed up by name.
The user is root.
Mount volume 2 on /export/mksysb/mksysb_20110210_14.wasprod1.
Press the Enter key to continue.

Volume 2 .... never seen this error

Solution

Lets recreate mksysb again :)