Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users
Question about crm_resource start/stop
 

Index | Next | Previous | View Flat


Alain.Moulle at bull

Jul 2, 2009, 7:58 AM


Views: 304
Permalink
Question about crm_resource start/stop

//heartbeat-2.99.2-8.1 + pacemaker-1.0.4-23.1 //

Hi,
I'd like to find simple command to stop, start a resource.
The man of crm_resource gives :

Start/stop a resource
crm_resource -r my_first_ip -p target_role -v started

crm_resource -r my_first_ip -p target_role -v stopped

but it is not clear for me what are the "my_first_ip" and "target_role"
parameters and moreover where to retrieve them.

Moreover, for migrate, the man gives :
Migrating a resource to a specific location
crm_resource -M -r my_first_ip -H c001n02

so I tried in fact :
crm_resource -M -r <my-resource-name> -H <my hostname>

and it works !
But when I tried :

crm_resource -r <my-resource-name> -v stopped

it does not work, it does not stop the resource.


Thanks for help

Regards
Alain


_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Subject User Time
Question about crm_resource start/stop Alain.Moulle at bull Jul 2, 2009, 7:58 AM
    Re: Question about crm_resource start/stop Valentin.Vidic at CARNet Jul 2, 2009, 8:02 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.