Sample configurations

Configuration 1 for AIX, Linux, and Solaris

[Placeholder]

ProcessOnOnly nfs_daemon(

PathName = "/usr/lib/nfs/nfsd"

Arguments = "-a 8"

)

Configuration 2 for AIX, Linux, and Solaris

[Placeholder]

include "types.cf"

cluster ProcessCluster (

.

.

.

group ProcessOnOnlyGroup (

SystemList = { sysa, sysb }

AutoStartList = { sysa }

)

ProcessOnOnly Process1 (

PathName = "/usr/local/bin/myprog"

Arguments = "arg1 arg2"

)

ProcessOnOnly Process2 (

PathName = "/bin/csh"

Arguments = "/tmp/funscript/myscript"

)

// resource dependency tree

//

// group ProcessOnOnlyGroup

// {

// ProcessOnOnly Process1

// ProcessOnOnly Process2

// }

Configuration 1 for HP-UX

ProcessOnOnly sendmail_pr (

PathName = "/usr/sbin/sendmail"

Arguments = "-bd -q30m"

)

Configuration for Linux

<resource name="sendmail" type="ProcessOnOnly">

<attribute name="Arguments"><scalar>"-bd -q30m" </scalar></attribute>

<attribute name="PathName"><scalar>"/usr/sbin/sendmail" </scalar></attribute>

<attribute name="PidFile"><scalar>"/var/run/sendmail.pid" </scalar></attribute>

</resource>