HACMP: set preferred adapter for service ip


 
Thread Tools Search this Thread
Operating Systems AIX HACMP: set preferred adapter for service ip
# 1  
Old 01-07-2010
HACMP: set preferred adapter for service ip

Hi,

lets say we have two boot interfaces en0 en1

and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1
both persistend and service ips are applied as ip-alias

when I start the cluster, and bring the resource groups up, it looks like

en0: sip1 and sip2

en1: pers1

but I want sip1 and sip2 to be on different adapters, if possible, is there some kind of preferred adapter configuration for hacmp service ips?

cheers funksen
# 2  
Old 01-07-2010
Quote:
Originally Posted by funksen
[...]two boot interfaces en0 en1

and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1
both persistend and service ips are applied as ip-alias

when I start the cluster, and bring the resource groups up, it looks like

en0: sip1 and sip2

en1: pers1

but I want sip1 and sip2 to be on different adapters, if possible, is there some kind of preferred adapter configuration for hacmp service ips?
Starting with HACMP 5.1 you can configure distribution policies for the placement of Service Labels. Default from then on was Anti-Collocation which should distribute the Service Labels across all non-service IP labels to distribute load. So I would first check what distribution policy your cluster is using. If your Service Label was configured to anything but Anti-Collocation you just need to change it back to the default.
# 3  
Old 01-11-2010
Hi Shockneck, thank you for the info, but where can I configure the distribution policy?

perhaps the distribution policy includes the persistent IP too?
# 4  
Old 01-12-2010
Quote:
Originally Posted by funksen
[...]where can I configure the distribution policy?
The corresponding SMIT panel is in the HACMP Extended RGs Configuration menu - Configure Resource Distribution Preferences. With 5.4. the fastpath is "cm_change_show_service_ip_distribution_preference_select". Furthermore cllsnw -c and cltopinfo -w should display the policy if it is not set to default.

Quote:
Originally Posted by funksen
[...]perhaps the distribution policy includes the persistent IP too?
Distribution policy includes the persistant IP but per default the cluster's main focus should be put on the load distribution of the Service Labels. I.e. if the policy is set to default (Anti-Collocation) but your cluster behaves as if "Anti-Collocation with Persistant" was configured this is not what one would expect. Such a problem may be caused by the clusters Topology. In this case please post the output of
# cltopinfo -w
and
# netstat -rn
# 5  
Old 01-19-2010
the policy is set to Anti-Collocation, thank you for this hint!

I've found one mistake in the configuration, perhaps that's the problem. I changed the boot ip addresses a few weeks ago, which worked fine. But I didn't change the "communication path to node" in the node configuration screen in smit, it still shows the old boot ip. I don't know the purpose and the impact of this setting, maybe it's just for rsh access. Smit help says "This path will be taken to initiate communication with the node."

Cluster communication and clrsh both are working. I made several takeover tests.


I have to change the communication path during the next downtime of the system, then I can tell more.

cheers
funksen
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Misconfiguration detected Adapter interface name en 3 Adapter offset 0

Hi, We had a hardware problem with an IBM System p5 server, with AIX 5.2 We restore from a tape the last backup we had, but the server does not boot up as expected. The server try to mount some directories from a storage, but could not comunicate with them, we check the FC and everything is... (12 Replies)
Discussion started by: trevian3969
12 Replies

2. AIX

HACMP with VIO, service IP failover

Would anyone please kindly help to solve this problem... An LPAR with the below network configuration. ent0 and ent1 are logical lan (virtual ethernet) from VIO SEA. en0 1.2.3.4 <- boot ip 192.168.1.1 <- persistent ip 192.168.1.10 <- service ip en1 11.22.33.44 <- boot ip When I... (6 Replies)
Discussion started by: skeyeung
6 Replies

3. UNIX for Dummies Questions & Answers

FTP service/ set up

Hi Everybody, How can I understand when I login to any unix server that this server is having ftp service running? what I care is that I want to ftp something to this server and I can't, something like connection refuse. is there any ways to understand if the ftp is setup? and if not, how to set... (2 Replies)
Discussion started by: messi777
2 Replies

4. AIX

Service IP issue in HACMP, Working with only one node

Hi, I have a running HACMP Cluster with two nodes. Its working in active/passive mode. (i.e Out of the two nodes in the cluster one will be active and the other one will be on standby. If first node fails the other takes over) 1. There is a Service IP associated with the cluster. Now the... (2 Replies)
Discussion started by: aixromeo
2 Replies

5. 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

6. Solaris

set-tmp-permission service is not running in Netra CCMP3060 blade server

In my Solaris 10 - Netra CP3060, the following particular script is not running: lrc:/etc/rc2_d/S00set-tmp-permissions lrc:/etc/rc2_d/S07set-tmp-permissions Above script is to set the default permission of /tmp & /var/tmp while rebooting if it found any inconsistencies. I changed the file... (4 Replies)
Discussion started by: ramnagaraj
4 Replies

7. UNIX for Dummies Questions & Answers

which file manager is preferred?

When I was using windowsXP I encountered a file manager called UltraExplorer http://www.mustangpeak.net/ultraexplorer.html that appeared really impressive. Now in the Linux/UNIX world I was pointed towards a similar idea called 4Pane http://www.4pane.co.uk/ I'm surprised to do a search on... (3 Replies)
Discussion started by: catch22
3 Replies

8. AIX

hacmp service ip

Hi, I have two resource grps in hacmp 5.2 cluster.One is cascading and other is concurrent. I have apply one svc_ip to cascading rg but not able to apply any svc ip with node bound option for concurrent rg. Can any one guide me with the step to apply svc ip . thanks in advance (0 Replies)
Discussion started by: aix_53
0 Replies

9. AIX

hacmp network adapter re-define

I have an LPAR in a P5 machine which has been setup in an HACMP cluster. The person who set it up allocated the wrong network adapter (en) to the persistent network. For the life of me I cannot find where I can re-assign this adapter. Anyone able to help me as I am tearing my hair out and do not... (1 Reply)
Discussion started by: johnf
1 Replies
Login or Register to Ask a Question