PowerHA HACMP on VIOS servers


 
Thread Tools Search this Thread
Operating Systems AIX PowerHA HACMP on VIOS servers
# 1  
Old 03-03-2013
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
# 2  
Old 03-03-2013
Quote:
Originally Posted by filosophizer
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
[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
[3] DO I need HMC for NPIV or can it run on IVM only ?
Quote:
Originally Posted by filosophizer

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 Smilie)
This User Gave Thanks to MichaelFelt For This Post:
# 3  
Old 03-03-2013
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
This User Gave Thanks to dukessd For This Post:
# 4  
Old 03-07-2013
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
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
# 5  
Old 03-07-2013
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.
This User Gave Thanks to MichaelFelt For This Post:
# 6  
Old 03-07-2013
Quote:
Originally Posted by MichaelFelt
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 ?
# 7  
Old 03-07-2013
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Upgrading PowerHA from 7.1.0 to 7.1.3

Hi All, As per the IBM upgrade/support matrix IBM Techdocs Technote: PowerHA for AIX Version Compatibility Matrix we can't do online upgrade or rolling migration from powerha v7.1.0 to v7.1.3. on AIX61_TL9_SP4, So we are following the steps as below ... 1 ) Bring down the cluster 2 )... (2 Replies)
Discussion started by: linux.amrit
2 Replies

2. AIX

VXVM in POWERHA 6.1

I have created a VxVM disk group in AIX7.1. I have tried to added this VxVM disk group in powerHA 6.1. But in cluster VxVM DGs are not listing. Is there any other procedure to add vxvm diskgroup to hacmp. Please share me steps for adding vxvm diskgroup to hacmp. (6 Replies)
Discussion started by: sunnybee
6 Replies

3. AIX

Powerha on AIX 6.1.9

hello ive installed powerha 7.1.3 on two servers aix 6.1.9 6100-09-03-1415 work with dmx4 EMC storgae. after sync cluster ( terminate with OK ) ive see that the repository disk upper only in one machine : hdiskpower60 00c7f6b59fc60d9d caavg_private active... (1 Reply)
Discussion started by: ariec
1 Replies

4. AIX

PowerHA(HACMP) full vg loss - cluster hangs on release_vg_fs event

Hello, AIX 6.1 TL7 SP6 POwerHA 6.1 SP10 I was experimenting with new hacmp build. It's 3-node cluster build on AIX 6.1 lpars. It contains Ethernet and diskhb networks. Shared vg disk is SAN disk. Two nodes see disk using vscsi, third node sees disk using npiv. Application is db2 server. ... (4 Replies)
Discussion started by: vilius
4 Replies

5. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

6. AIX

PowerHA Disk on VIO Server

Hello AIX GURU's Can anybody tell me the steps to crate shared VG (enhanced concurent) for my Lpars from VIO server? my questions are: 1. Should I crate Enhanced Concurent VG in VIO and map it using virtual Scsi to Lpar? or 2. Can I just create virtual SCSI in VIO and map to Lpar and... (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies

7. AIX

Increase LUN size in AIX with VIOS and HACMP

Hello! I have this infraestructure: - 1 POWER7 with single VIOS on Site A. - 1 POWER6 with single VIOS on Site B. - 1 LPAR called NodeA as primary node for PowerHA 6.1 on Site A. - 1 LPAR called NodeB as secondary (cold) node for PowerHA 6.1 on SiteB. - 1 Storage DS4700 on Site A. - 1... (8 Replies)
Discussion started by: enzote
8 Replies

8. AIX

Interoperability Oracle Clusterware - PowerHA/HACMP

I am planning for building a new database server using AIX 6.1 and Oracle 11.2 using ASM. As i have learned starting with Oracle 11.2 ASM can only be used in conjunction with Clusterware, which is Oracles HA-software. As is the companies policy we do intend to use PowerHA as HA-solution instead... (1 Reply)
Discussion started by: bakunin
1 Replies

9. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

10. AIX

Duplicate IP address makes PowerHA ( HACMP ) down

Hello, I would like to know if anyone has faced this problem. Whenever there is a duplicate IP address, HACMP goes down infact HACMP ( PowerHA ) takes the whole system down. Does anyone know how to solve this problem ? (3 Replies)
Discussion started by: filosophizer
3 Replies
Login or Register to Ask a Question