> -----Original Message-----
> From: Mansour Raad [mailto:[EMAIL PROTECTED]
> Sent: 27 August 2004 10:55
> To: [EMAIL PROTECTED]
> Subject: Shutdown Merlin gracefully
> 
> Hi,
> 
> 
> 
> Is there a way to shutdown Merlin programmatically ? rather than a
Ctrl-C
> !


If your running from the commandline - the termination signal is the
Ctrl-C.  This triggers a graceful and orderly decommissioning of
components and system shutdown.

There are things in the pipeline that will change this - namely some
work on a console facility that enabling remote control over the kernel
via command components (e.g. hot block deployment, component
reconfiguration, etc.).  You can do a lot of this already if you're in
control of an embedded kernel - but the console stuff will make this a
lot easier.

> In addition, how do you startup Merlin as a windows service with a
> specified block ?

There's something on this in the Wiki somewhere.  Basically you need to
install Merlin as an NT service (there is a script to do this in the
bin/n4 directory), setup a environment variable named MERLIN_DAEMON
point to some directory which will server as the ${merlin.dir}, and from
there you can parameterize merlin using a merlin.properties file to do
anything you want (and if your running the svn version you could even
play around with the command console stuff).

> Or for that matter, multiple Merlin service instances?

Take a look at the files in bin/nt - basically you could setup multiple
service instances just be tweaking a few of the files - in particular -
different examples of wrapper.conf (to declare the different services
and to declare different home directories).

Cheers, Steve.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to