PowerHA HACMP on VIOS servers | Unix Linux Forums | AIX

  Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

PowerHA HACMP on VIOS servers

AIX


Tags
vios lpar dlpar fibre

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-03-2013
filosophizer filosophizer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 January 2014, 7:13 AM EST
Posts: 299
Thanks: 44
Thanked 13 Times in 7 Posts
IBM PowerHA HACMP on VIOS servers

Few questions regarding Power HA ( previously known as HACMP) and VIOS POWERVM IVM ( IBM Virtualization I/O Server )

[1] Is it possible to create HACMP cluster between two VIOS servers

Physical Machine_1
VIOS_SERVER_1
LPAR_1
SHARED_DISK_XX


VIOS_SERVER_2
Physical Machine_2
LPAR_2
SHARED_DISK_XX

In this scenario, You will have to assign the shared disk first to the VIOS server and from there it will be assigned to LPAR.

Would HACMP work on this shared disk ?



[2] Can you have DLPAR ( Dynamic LPAR ) capabilities in IVM , that is assign one physical Fiber Adapter card to LPAR directly ? IVM VIOS ( which is you are running VIOS without HMC = Hardware Management Console )



in this scenario, you can give the LPAR , shared disk directly from the Storage ? ( provided feature is supported ?! )

[3] DO I need HMC for NPIV or can it run on IVM only ?

What is NPIV?
N_Port ID Virtualization(NPIV) is a standardized method for virtualizing a physical fibre channel port. An NPIV-capable fibre channel HBA can have multiple N_Ports, each with a unique identity. NPIV coupled with the Virtual I/O Server (VIOS) adapter sharing capabilities allow a physical fibre channel HBA to be shared across multiple guest operating systems. The PowerVM implementation of NPIV enables POWER logical partitions (LPARs) to have virtual fibre channel HBAs, each with a dedicated world wide port name. Each virtual fibre channel HBA has a unique SAN identity similar to that of a dedicated physical HBA.
The minimum requirement for the 8 Gigabit Dual Port Fibre Channel adapter, feature code 5735, to support NPIV is 110304
Sponsored Links
    #2  
Old 03-03-2013
MichaelFelt MichaelFelt is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 11 December 2013, 7:33 AM EST
Location: on the road for work; home is private time
Posts: 311
Thanks: 6
Thanked 75 Times in 71 Posts
Quote:
Originally Posted by filosophizer View Post
Few questions regarding Power HA ( previously known as HACMP) and VIOS POWERVM IVM ( IBM Virtualization I/O Server )

[1] Is it possible to create HACMP cluster between two VIOS servers

Physical Machine_1
VIOS_SERVER_1
LPAR_1
SHARED_DISK_XX


VIOS_SERVER_2
Physical Machine_2
LPAR_2
SHARED_DISK_XX

In this scenario, You will have to assign the shared disk first to the VIOS server and from there it will be assigned to LPAR.

Would HACMP work on this shared disk ?
Short answer is yes. On both systems you need to make sure the attribute no_reserve is set. It is the same process that you would use to setup MPIO with dual VIO servers in one system:
From an article I wrote years ago:
Quote:
Setup Disks

On my system the disks the first four disks are local and I have 8 LUNs that I want to make MPIO ready for the clients. So, with both VIO servers having the disks offline, or only one VIO server active, it is simple to get the disks setup for no_reserve. I also add that I want the VIO server to be aware of the pvid the clients put, or modify on these disks. Finally, I make sure the client sees the disk as "clean".
# for i in 4 5 6 7 8 9 10 11
> do
> chdev -l hdisk$i -a pv=yes
> chdev -l hdisk$i -a reserve_policy=no_reserve
> chpv -C hdisk$i ## this "erases the disk so be careful!
> done

Now I can activate the disks again using:
# cfgmgr
Quote:
Originally Posted by filosophizer View Post
[2] Can you have DLPAR ( Dynamic LPAR ) capabilities in IVM , that is assign one physical Fiber Adapter card to LPAR directly ? IVM VIOS ( which is you are running VIOS without HMC = Hardware Management Console )
in this scenario, you can give the LPAR , shared disk directly from the Storage ? ( provided feature is supported ?! )
I am not sure of the current status, there has been some rumor that it might be supported, but I do not see it (assigning an adapter) in the IVM user interface. I use IVM a lot with my test systems - as I do not have an HMC.
So, I assume no - no dynamic resource allocation of adapters, only processor, memory and virtual adapters.
Quote:
Originally Posted by filosophizer View Post
[3] DO I need HMC for NPIV or can it run on IVM only ?
Quote:
Originally Posted by filosophizer View Post

What is NPIV?
N_Port ID Virtualization(NPIV) is a standardized method for virtualizing a physical fibre channel port. An NPIV-capable fibre channel HBA can have multiple N_Ports, each with a unique identity. NPIV coupled with the Virtual I/O Server (VIOS) adapter sharing capabilities allow a physical fibre channel HBA to be shared across multiple guest operating systems. The PowerVM implementation of NPIV enables POWER logical partitions (LPARs) to have virtual fibre channel HBAs, each with a dedicated world wide port name. Each virtual fibre channel HBA has a unique SAN identity similar to that of a dedicated physical HBA.
The minimum requirement for the 8 Gigabit Dual Port Fibre Channel adapter, feature code 5735, to support NPIV is 110304
NPIV can be used with IVM. I will need more time to find the command syntax to create an NPIV adapter. Again, I am limited by my test systems (Power5). On Power6 and Power7 I would expect it to be visible in the IVM web interface. Just remember, the other minimum requirements are: Power6 at high enough firmware, and a SAN switch that supports NPIV. The switch does not have to be 8G speed (in the beginning many customers worked with 8G cards connected to 2G ports - not any more these days )
The Following User Says Thank You to MichaelFelt For This Useful Post:
filosophizer (03-07-2013)
Sponsored Links
    #3  
Old 03-03-2013
dukessd dukessd is online now Forum Advisor  
Registered User
 
Join Date: Sep 2006
Last Activity: 1 September 2014, 7:20 PM EDT
Posts: 511
Thanks: 11
Thanked 31 Times in 29 Posts
POWER7 information
Dynamically managing physical adapters

IBM

You can use the Integrated Virtualization Manager to change the physical adapters that a running logical partition uses.

ensure that the Integrated Virtualization Manager is at version 1.5 or later.

HTH
The Following User Says Thank You to dukessd For This Useful Post:
filosophizer (03-07-2013)
    #4  
Old 03-07-2013
filosophizer filosophizer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 January 2014, 7:13 AM EST
Posts: 299
Thanks: 44
Thanked 13 Times in 7 Posts
I had asked here

Quote:
is there any way to create shared virtual disk between two LPARs like how you can do it using Storage through Fiber on two servers ?

Trying to stimulate HACMP between two LPARs
and was replied

Quote:
Originally Posted by Vit0_Corleone View Post
It's not possible .. you will get error like "resource busy" because it's already reserved for some Lpar

My question:

If I have one VIOS Machine running IVM and SAN Storage connected to it, is there a way to assign one shared disk on two LPARS

- I have one Fiber Card which is on VIOS IVM
- I will assign a disk from Storage to VIOS IVM
- from VIOS IVM how can i assign it to two LPARs for stimulating HACMP ?

thanks
Sponsored Links
    #5  
Old 03-07-2013
MichaelFelt MichaelFelt is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 11 December 2013, 7:33 AM EST
Location: on the road for work; home is private time
Posts: 311
Thanks: 6
Thanked 75 Times in 71 Posts
yes, you can if the stoarge is an hdisk to the vios, not when the storage is a file or logical volume.
if i recall, just repeat the mkvdev command.
The Following User Says Thank You to MichaelFelt For This Useful Post:
filosophizer (03-07-2013)
Sponsored Links
    #6  
Old 03-07-2013
filosophizer filosophizer is offline
Registered User
 
Join Date: Jan 2009
Last Activity: 27 January 2014, 7:13 AM EST
Posts: 299
Thanks: 44
Thanked 13 Times in 7 Posts
Quote:
Originally Posted by MichaelFelt View Post
yes, you can if the stoarge is an hdisk to the vios, not when the storage is a file or logical volume.
if i recall, just repeat the mkvdev command.
So, I can assign same HDISK to two or more , LPARs
example: from SAN Storage I have allocated HDISK8 to PowerVM IVM

I will have to create virtual scsi for all three LPARs
then assign HDISK8 to them, and as you mentioned above would have to set the reserve_policy=no_reserve .

is this right ?
Sponsored Links
    #7  
Old 03-07-2013
MichaelFelt MichaelFelt is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 11 December 2013, 7:33 AM EST
Location: on the road for work; home is private time
Posts: 311
Thanks: 6
Thanked 75 Times in 71 Posts
i have done it with iscsi. and, yes, i assume the no_resdrve setting is also needed. been nearly 18 months since i have played with ha.
have fun.
ps, if working with systemmirror 7.x remember that the ha interfaces will multicast for caa. if you have a lot of systems in a vlan they may be affected..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
VIOS IP address - separate vlan for vios servers ? vilius AIX 0 10-10-2012 05:09 PM
Increase LUN size in AIX with VIOS and HACMP enzote AIX 8 03-12-2012 12:00 PM
Interoperability Oracle Clusterware - PowerHA/HACMP bakunin AIX 1 07-08-2011 10:02 AM
HACMP does not start db2 after failover (db2nodes not getting modified by hacmp) gkr747 AIX 4 04-26-2011 04:41 AM
Duplicate IP address makes PowerHA ( HACMP ) down filosophizer AIX 3 01-04-2010 04:14 AM



All times are GMT -4. The time now is 07:26 PM.