If you want to put the node in standby (this will affect all resources
running on that node), check the crm_standby command.

If you want to affect specific resource(s), you will need to use the
crm_resource command.

After putting a node in standby, you need to put it off standby.
Similarly, after moving a resource with crm_resource, you will need to
remove the constraints that crm_resource created for you.

Check out http://www.linux-ha.org/v2/AdminTools/

Some commands have man pages, others give you help by running them
without arguments.

HTH
Yan

Tao Yu wrote:
> Hi all,
> 
> I am a new user of heartbeat.
> 
> I configure a cluster with two nodes, and I want to move resource from
> current running node to the other one. From the mgmt_common.h, I can not
> figure out which message I should send to the mgmt module so I do the
> following:
>     1. send "standby on" to current running node (node1)
>     2. wait for some time, then send "standby off" to node1, to make sure
> it could fail over back.
> 
> Is there a single command can having this done?
> 
> Thanks,
> Tao
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to