Link to home
Start Free TrialLog in
Avatar of sminfo
sminfo

asked on

start application server regarding node on hacmp..

let me see if I explain better..;)

I have  powerha 6.1 clusterwith  node1 and node2 on site A... and node3 on siteB...my application server has two scripts (start and stop) as you can see:

                                                                Change/Show Application Server

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

                                                        [Entry Fields]
  Server Name                                         app
  New Server Name                                    [app]
  Start Script                                       [/tools/scripts/sc1.sh start]
  Stop Script                                        [/tools/scripts/sc1.sh stop]

Open in new window


So.. I want to change these start/stop scripts regarding the node and site... I mean:

If I have the resource group on node1 and node2 (site A) use the above application server, but If the resource group is sent to node3 (site B) I would like to use a new application server with two new start/stop scripts...

is this possible in hacmp?
SOLUTION
Avatar of sjm_ee
sjm_ee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sminfo
sminfo

ASKER

but, the change would be only when the RG change from one site to another... I've searched ibm but could found a way to do this from powerha...
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>> I've searched ibm but could found a way to do this from powerha..<<
What exactly did you find?

I fear you're talking about configuring resource groups (this can indeed be done in node-specific way) but not about application servers.
Avatar of sminfo

ASKER

hi.. sorry the delay.... got the idea sjm_ee and wmp... I have an idea how I'm going to change our start/stop scripts depending the node/site he is... just curious wmp.. cllsnode shows in my case the 3 nodes:

NODE node1:
        Interfaces to network net_XD_data_01
                Communication Interface: Name node1data, Attribute public, IP address 172.17.36.73
        Interfaces to network net_ether_01
                Communication Interface: Name node1, Attribute public, IP address 172.17.32.101
                Communication Interface: Name sitearans, Attribute public, IP address 172.17.32.105
                Communication Interface: Name siter37, Attribute public, IP address 172.16.32.105

NODE node2:
        Interfaces to network net_XD_data_01
                Communication Interface: Name node2data, Attribute public, IP address 172.17.36.74
        Interfaces to network net_ether_01
                Communication Interface: Name node2, Attribute public, IP address 172.17.32.102
                Communication Interface: Name sitearans, Attribute public, IP address 172.17.32.105
                Communication Interface: Name siter37, Attribute public, IP address 172.16.32.105

NODE node3:
        Interfaces to network net_XD_data_01
                Communication Interface: Name node3data, Attribute public, IP address 172.16.36.73
        Interfaces to network net_ether_01
                Communication Interface: Name node3, Attribute public, IP address 172.16.32.101
                Communication Interface: Name sitearans, Attribute public, IP address 172.17.32.105
                Communication Interface: Name siter37, Attribute public, IP address 172.16.32.105

Open in new window


We have powerha with 3 nodes, 2 nodes on siteA and 1 node on siteB.  this output of cllsnode is what you see on your side?
Avatar of sminfo

ASKER

>> I've searched ibm but could found a way to do this from powerha..<<
What exactly did you find?

I thought powerha had something to change application servers, but I see it does not..

But teh answer has been answer, you both have gave me the idea to achieve my goal on our application server.. ;)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sminfo

ASKER

No, no problem at all wmp... what's important is the idea and not the commands to do it... ;)
Thanks again..

Thanks sjm_ee..