AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  hacmp topology IP Label issue

    Posted Sat January 05, 2008 07:57 PM

    Originally posted by: SystemAdmin


    Hi,

    I am trying to configure hacmp on 2 vio clients. I have virtual IP setup and san disk shared (I have configrued everything on my vio servers). I have configured the network on my vio clients.
    But when I configure topology network it's not really working
    Well I need some help please...
    I am trying this for so many days I don;t know what to see anymore...

    here what I have: 2 virtual clients each same aix level 5.3 with hacmp installed

    each node have 3 virtual network adapter for IP service, IP boot and IP standby on the same subnet
    and one network card on another vlan (private) for cluster heartbeat

    node1 and node2 are configured the same with differents ip of course but boot, service and stabdy on same vlan/subnet and clusterheartbeat on anoter vlan private :
    en0 (virtual adapter): ip service
    en1 : ip cluster heartbeat on another vlan
    en3 (virtal adapter): ip boot
    en4 (virtual adapter): ip standby

    I have defined one lun on a vg concurrent to use for disk heartbeat

    So here my cluster topology,I have a problem configuring the IP Label!! don't know why so may be you will help

    I am just at the begining:
    1. /usr/es/sbin/cluster/utilities/cltopinfo
    Cluster Name: clustertst1
    Cluster Connection Authentication Mode: Standard
    Cluster Message Authentication Mode: None
    Cluster Message Encryption: None
    Use Persistent Labels for Communication: No
    There are 2 node(s) and 3 network(s) defined

    NODE node01:
    Network net_diskhb_01
    node01_disk2 /dev/hdisk2
    Network net_ether_01
    node02 10.60.34.73
    node01 10.60.34.70
    node01stby 10.60.34.72
    node01boot 10.60.34.71
    Network net_ether_02
    node01clhb 192.167.100.40

    NODE node02:
    Network net_diskhb_01
    node02_disk2 /dev/hdisk2
    Network net_ether_01
    node02 10.60.34.73
    node01 10.60.34.70
    node02stby 10.60.34.75
    node02boot 10.60.34.74
    Network net_ether_02
    node02clhb 192.167.100.41

    No resource groups defined
    As you can see when I tried to add via smitty hamp under resource -> Configure HACMP Service IP Labels/Addresses -> Add a Service IP Label/Address
    I select multinodes and then it appears on both node!!!
    I tried to add it differently, use persisent IP Label also on topology but after verification it failed

    Well I still don;t have my cluster done on the vio clients!!!
    I don;t know what is wrong...
    Here the steps I follow:
    I have configured all the files /etc/hosts and netmon.cf on both nodes etc... all pre-req needs to be done...
    I have also tested my diskheartbear (lun):
    on node1:
    /usr/sbin/rsct/bin/dhb_read -p rhdisk2 -r
    Receive Mode:
    Waiting for response . . .
    Magic number = -2023406815
    Magic number = -2023406815
    Magic number = -2023406815
    Magic number = -2023406815
    Magic number = -2023406815
    Magic number = -2023406815
    Link operating normally

    on node2:
    1. /usr/sbin/rsct/bin/dhb_read -p rhdisk2 -t
    Transmit Mode:
    Magic number = -2023406815
    Detected remote utility in receive mode. Waiting for response . . .
    Magic number = -2023406815
    Magic number = -2023406815
    Link operating normally

    Topology:
    1. Define the name of the cluster
    smitty hacmp -> Extended Configuration -> Extended Topology Configuration -> Configure an HACMP Cluster -> Add/Change/Show an HACMP Cluster

    2. Configure the nodes of the cluster
    smitty hacmp -> Extended Configuration -> Extended Topology Configuration -> Configure HACMP Nodes -> Add a Node to the HACMP Cluster

    3. Configure network and device
    smitty hacmp -> Extended Configuration -> Extended Topology Configuration -> Configure HACMP Networks
    I have create 2 network 1 on the public vlan (where I have my service, boot and stanby) and another network on the private (where I have the ip of the cluster heartbeat) and I have create 1 device diskhb

    4. Configure HACMP communication interfaces/devices.
    smitty hacmp -> Extended Configuration -> Extended Topology Configuration -> Configure HACMP Communication Interfaces/Devices -> Add Communication Interfaces/Devices (Select Add Pre-defined Communication Interfaces and Devices and Select Communication Interfaces and Select the network)
    I did that for the IP boot, standby, clusterheartbeat and for my disk heartbeat

    5. Configure Resource IP/Label

    When I tried to verify and synchronise it failed...

    here the result:
    1. /usr/es/sbin/cluster/utilities/cldare -t

    Verification to be performed on the following:
    Cluster Topology
    Cluster Resources

    Retrieving data from available cluster nodes. This could take a few minutes......

    Verifying Cluster Topology...

    WARNING: node01: Read on disk /dev/hdisk2 failed.
    Check cables and connections.
    A reserve may be set on that disk by another node.

    WARNING: node02: Read on disk /dev/hdisk2 failed.
    Check cables and connections.
    A reserve may be set on that disk by another node.

    ERROR: Network: net_ether_01 requires a service IP label.
    Verifying Cluster Resources...

    WARNING: The service IP label: node02 on node: node01 is not configured
    to be part of a resource group. It will not be acquired and
    used as a service address by any node.

    WARNING: The service IP label: node01 on node: node01 is not configured
    to be part of a resource group. It will not be acquired and
    used as a service address by any node.
    Verification exiting with error count: 1

    cldare: Failures detected during verification. Please correct
    the errors and retry this command.

    Verification has completed normally.

    => when it said "ERROR: Network: net_ether_01 requires a service IP label." I have already tried to create a service IP label but ...
    Well I don;t know what to do ..

    Thanks in advance for your help!
    Cheers
    Rob

    Message was edited by: robert033
    #AIX-Forum


  • 2.  Re: hacmp topology IP Label issue

    Posted Mon January 07, 2008 06:43 AM

    Originally posted by: Russell_V


    I think the first thing to consider is that when configuring HACMP with VIO Clients is that you need to set up single adapter networks. In your configuration, you have 3 virtual adapters set up (a boot, a service and a standby adapter). This is explained at

    http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/FLASH10558

    So you should configure a single adapter with your boot address, then define any additional persistent aliases plus a service address (also an alias) on top of this single virtual adapter.

    I'm not sure you need an additional ip network for heartbeating either. The requirement for a non-ip network to heartbeat over is met by the disk heartbeat network.

    As per the url above, pay careful attention to setting up netmon.cf.
    #AIX-Forum


  • 3.  Re: hacmp topology IP Label issue

    Posted Fri February 01, 2008 12:39 PM

    Originally posted by: SystemAdmin


    Hi Robert,

    I had the same Error Message one time and I solved it by checking the Network Interface Label entry in the HACMP Config.
    It's filled automatically by HACMP and if it finds the adress on an other Interface (even on detached ones !) it takes this label.

    smitty hacmp
    Extended Configuration
    Extended Topology Configuration
    Configure HACMP Communication Interfaces/Devices
    Add Communication Interfaces/Devices

    Add a Communication Interface

    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.

    Entry Fields
    • IP Label/Address [] +
    • Network Type ether
    • Network Name net_ether_01
    • Node Name [] +
    Network Interface [] <<< make sure this is set right on both machines
    like :

    Node Name hacmp1 +
    Network Interface en2
    IP Label/Address hacmp1_stb_en2
    Network Type ether

    #AIX-Forum