Download the files dsmc-sched and dsmc-sched.xml, then follow this procedure as root (or RBAC equivalent):
# cp dsmc-sched /lib/svc/method
# chmod 555 /lib/svc/method/dsmc-sched
# mkdir /var/svc/manifest/application/backup
# cp dsmc-sched.xml /var/svc/manifest/application/backup
# svccfg import /var/svc/manifest/application/backup/dsmc-sched.xml
# svcadm enable dsmc-sched
# svcs -p dsmc-sched
STATE STIME FMRI
online Apr_04 svc:/application/backup/dsmc-sched:default
Apr_04 239 dsmc
# ps -fp 239
UID PID PPID C STIME TTY TIME CMD
root 239 1 0 Apr 04 ? 3:25 /usr/bin/dsmc sched
You can prove that SMF is doing its job by killing the dsmc process. It should restart automatically.
Back to Ian Chard's home page.