1828986 Members
2130 Online
109986 Solutions
New Discussion

cluster with heartbeat

 
Marco_113
Frequent Advisor

cluster with heartbeat

hi all,
I' ve two machine with Red Hat 8.0 configured in cluster with heartbeat + mon.

I've configured three packages, this is my file haresources:

node1 192.168.1.20 smtp
node1 192.168.1.30 pop3
node2 192.168.1.40 imap

My question is:
Can i make a switch of one package without shutting down heartbeat on node1??

For example i need to switch only pop3 on node2;
The only way i know is to shut down heartbeat on node1, and node2 automatically gets pop3 and smtp packages.

Anyone knows if ther's a command, or a tool to do the switch of the single package??

Thanks in advance
3 REPLIES 3
RAC_1
Honored Contributor

Re: cluster with heartbeat

Without halting?? Kill a process in that package. But the clean methos is cmhaltpkg;cmrunpkg -n node2 "pkg_name"

Anil
There is no substitute to HARDWORK
renarios
Trusted Contributor

Re: cluster with heartbeat

Hi Marco,

The IP addresses of the nodes are not important in a cluster. If you switch a package,
that IP address switches too!
Follow Anil's advice to switch the package.

Cheers,

Renarios
Nothing is more successfull as failure
Marco_113
Frequent Advisor

Re: cluster with heartbeat

Ok,
i'm not using service guard.

I'm only using heartbeat and "mon".