Summary:

 

1. Create an AIX LPAR.

2. VIOS Set in   the Virtual Fibre Channel Adapter servers.

3. In the VIOS identify the new vfchost.

4. Create Virtual Fibre Channel Adapter customers

5. Save the new configuration of the VIOS.

6. Map the vfchost to physical cards.

7. Identifying the WWPNs gives the LPAR created.

8. Configure NIM to install AIX one.

9. Start first LPAR.

10. Check status of vfchost logged_in.

11. Create the area in the S / W SAN.

12. Reset LPAR.

13. Define the disks.

14. The installation starts.

 

Detail Steps:

 

1. On the HMC create an AIX LPAR as ever.  On LHEA select IVE card, select a free port (which is not used by another LPAR).

HMC
> Systems Management
> Servers
> POWER Server
> Configuration
> Create Logical Partition
> AIX or Linux
> Complete steps Wizard

 

Note: It is advisable to set in advance the resources that were used to create the LPAR (CPU, memory, cards, etc..).
2. At HMC go to vionodo1h, then Logial Dynamic Partitioning and create a virtual Fibre Channel adapter ( Virtual Fibre Channel Adapter ) with an identifier not used.

 

HMC
> Vinodo1h
> Dynamic Logial Partitioning
> Virtual Adapter
> Actions
> Create Virtual Adapter
> Fibre Channel Adapter
vionodo1h: ID 4 to 3 nimsuma with customer ID
vionodo2h: ID nimsuma 4 for 4 with customer ID

3. Then run VIOS cfgdev . If you run lsdev before and after, you should see a new device vfchost .

 

vionod1h :
$ lsdev | grep ^vfc
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost2         Available   Virtual FC Server Adapter
vfchost3         Available   Virtual FC Server Adapter
vfchost4         Available   Virtual FC Server Adapter
vfchost6         Available   Virtual FC Server Adapter
vfchost7         Available   Virtual FC Server Adapter
vfchost8         Available   Virtual FC Server Adapter
$ cfgdev

$ lsdev | grep ^vfc
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost2         Available   Virtual FC Server Adapter
vfchost3         Available   Virtual FC Server Adapter
vfchost4         Available   Virtual FC Server Adapter
vfchost5         Available   Virtual FC Server Adapter <–
vfchost6         Available   Virtual FC Server Adapter
vfchost7         Available   Virtual FC Server Adapter
vfchost8         Available   Virtual FC Server Adapter

vionodo2h:
$ lsdev | grep ^vfc
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost3         Available   Virtual FC Server Adapter
vfchost4         Available   Virtual FC Server Adapter
vfchost6         Available   Virtual FC Server Adapter
vfchost7         Available   Virtual FC Server Adapter
vfchost9         Available   Virtual FC Server Adapter
$ cfgdev

$ lsdev | grep ^vfc
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost2         Available   Virtual FC Server Adapter <–
vfchost3         Available   Virtual FC Server Adapter
vfchost4         Available   Virtual FC Server Adapter
vfchost6         Available   Virtual FC Server Adapter
vfchost7         Available   Virtual FC Server Adapter
vfchost9         Available   Virtual FC Server Adapter
4. On the profile of the LPAR created in step 1, create a new virtual Fibre Channel adapter and generate one with the identifier and VIOS Part 2. Check which is required for the LPAR start.

 

HMC
> nimsuma
> Configuration
> Manage Profiles
> Default
> Virtual Adapters
> Actions
> Create Virtual Adapter
> Fiber Channel Adapter

Adapter # 3 Adapter VIO vionodo1h ID 4. 
Adapter # 4, VIO vionodo2h ID adapter 4.
> OK
> Close

 

5. Save the current profile settings as Default VIO server to keep it restarts if a VIOS.

HMC
> Vionodo1h
> Configuration
> Save Configuration Courrent
> Acceptance 

HMC
> Vionodo2h
> Configuration
> Save Configuration Courrent
> Acceptance

6. VIOS Map out in the command vfcmap , alternating fcs0 and fcs1 .

 

vionodo1h:

$ Vfcmap-vadapter vfchost5-fcp fcs1 
$ lsmap-NPIV-vadapter vfchost5 
Name Physloc ClntID ClntName ClntOS 
------------------------------ -------------------------------------------- 
vfchost5 U8233.E8B.065864P -V1-C4 3                 

Status: Not_logged_in 
FC name: fcs1 FC loc code: U78A0.001.DNWK388-P1-C1-T2 
Ports logged in: 0 
Flags: 4 <NOT_LOGGED> 
VFC client name: VFC client DRC:

vionodo2h:

$ Vfcmap-vadapter vfchost2-fcp fcs0   
$ lsmap-NPIV-vadapter vfchost2 
Name Physloc ClntID ClntName ClntOS 
------------------------------ -------------------------------------------- 
vfchost2 U8233.E8B.065864P -V2-C4 3                 

Status: Not_logged_in 
FC name: fcs0 FC loc code: U78A0.001.DNWK388-P1-C3-T1 
Ports logged in: 0 
Flags: 4 <NOT_LOGGED> 
VFC client name: VFC client DRC:

7. Goto the WWPNs Storage corresponding to the LPAR created:

HMC
> Select the LAPR the first step
> Configuration
> Manage Profiles
> Choose Default
> Virtual Adapters
> Client Fibre Channel vionodo1h
> Actions
> Properties
> WWPNs: c050760376c40064

 

7.1 Repeat the same procedure goes for vionodo2h

 

8. Configure NIM to install AIX one.

# Vi / etc / hosts -> add the name of the LPAR of step 1 and IP available.
10.1.4.253       nimsuma

# Smitty nim
> Perform Nim Administration Tasks
> Manage Machines
> Define a Machine

smitty nim
> Perform Nim Administration Tasks
> Define a Resource
> spot

# Smitty nim_bosinst
> Select the client we previously defined.
> Select Installation Type: “spot - Install a SPOT copy”
> Select the SPOT to use for the installation    
> Set “ACCEPT new license agreements?” to yes
> Set “Initiate reboot and installation now?” to no

 

9. Start LPAR in SMS mode and configure the network with the same IP that is in the / etc / hosts on the NIM, in order to start (boot ) from him.

A. Select 2 for setup remote IPL.
B. Select 1 for first ethernet.
C. Select 1 for IPV4.
D. Select 1 for bootp.
E. Select 1 for IP parameters.
1.  client: 10.1.4.253
2.  server: 10.1.4.254
3.  Gateway: 10.1.4.11
4.  Subnet: 255.255.255.0
F. Hit ESC.

10. Execute command on VIOS NPIV-vAdapter lsmap-vfchostX , to see that the state is logged_in.

11. The Storage area should modify now the space for integrating the new LPAR.

In the Fabric
Aliases are created:
nimsuma_hba1
c0:50:76:03:76:c4:00:66
nimsuma_hba2
c0:50:76:03:76:c4:00:64

Zones are created:
v7000nimsumahba1
nimsuma_hba1; stg_v70001; stg_v70002; stg_v70003; stg_v70004

v7000nimsumahba2
nimsuma_hba2; stg_v70001; stg_v70002; stg_v70003; stg_v70004

 

12. Reset LPAR.

 

13. At this time “We” visible from the disk enclosure. Storage coach proceeds to perform the necessary definitions in the storage unit.

 

In V7000
It creates the host:
nimsuma 
c0:50:76:03:76:c4:00:66
c0:50:76:03:76:c4:00:64

Volumes are created:
nimsuma_rootvg
20 GB - NL_SAS
nimsuma_datos
50 GB - NL_SAS

14. Starts installation.

 

A. Select 1 for boot device.
B. Select 6 for network.
C. Select 1 for bootp.
D. Select 1 for first ethernet.
E. Select 2 for normal boot mode.
F. Select 1 for yes I want to exit tftp should now start up.
G. After around 30,000 packets the console prompt should appear as follows:
 
Select 1 for English during install.

 

Notes:

The LPAR created in this example the call nimsuma . To implement NPIV on POWER environment is necessary to use VIO Server, in this case our VIOS called vionodo1h and vionodo2h (redundant). The Storage used was an IBM SW V7000, in which we created two LUNs, one for the installation called nimsuma_rootvg and one for data call nimsuma_datos .