[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] rgmanager

On Tue, Jul 17, 2007 at 08:30:52AM +0200, Jordi Prats wrote:
> Hi,
> I've been searching for some documentation about the scripts used by 
> resource manager, but I found nothing. I've been using the start,stop 
> and status options on my scripts so if I want to move a service it stops 
> it and restarts it on the other node. There's any standard way to do 
> relocate (move the service)?

Normally, you want to stop the service before starting it on another
node; stop on one node followed by start on another node is called a
"relocation" in the context of linux-cluster or Red Hat's products.

> I've seen that the script vm.sh on cluster-2.0 sources have a "migrate" 
> this will do the job? (On the script is not implemented) There's any 
> more options?

If, however, you have a service which is capable of safely relocating
(like a virtual machine), you can implement the "migrate" option.

Note that in order to implement migration, you will need a special kind
of script called a resource agent, which is basically a script with
some XML that will tell the cluster software what it can do and what
its parameters are.

Lon Hohberger - Software Engineer - Red Hat, Inc.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]