TSM Client on SMF
November 29th, 2005
With the help of Stephen from Sun, I got the TSM scheduler running in SMF. Here is the manifest:
< ?xml version="1.0"?>
< !DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="manifest" name="TIVsmCba:dsmc">
<service name="application/dsmc" type="service" version="5">
<create_default_instance enabled="false"/>
<single_instance />
<dependency name="fs-local" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/system/filesystem/local"/>
</dependency>
<exec_method type="method" name="start" exec="/opt/tivoli/tsm/client/ba/bin/dsmc sched > /dev/null 2>&1 &" timeout_seconds="60"/>
<exec_method type="method" name="stop" exec="/usr/bin/pkill dsmc" timeout_seconds="60"/>
<stability value="Unstable"/>
<template>
<common_name>
<loctext xml:lang="C">Tivoli Storage Manager Client</loctext>
</common_name>
</template>
</service>
</service_bundle>
< !DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="manifest" name="TIVsmCba:dsmc">
<service name="application/dsmc" type="service" version="5">
<create_default_instance enabled="false"/>
<single_instance />
<dependency name="fs-local" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/system/filesystem/local"/>
</dependency>
<exec_method type="method" name="start" exec="/opt/tivoli/tsm/client/ba/bin/dsmc sched > /dev/null 2>&1 &" timeout_seconds="60"/>
<exec_method type="method" name="stop" exec="/usr/bin/pkill dsmc" timeout_seconds="60"/>
<stability value="Unstable"/>
<template>
<common_name>
<loctext xml:lang="C">Tivoli Storage Manager Client</loctext>
</common_name>
</template>
</service>
</service_bundle>
Technorati Tags: Solaris, SMF, OpenSolaris, Tivoli
