EasyManua.ls Logo

Oracle ZFS Storage Appliance

Oracle ZFS Storage Appliance
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating an init.d Service
#
# chkconfig: 345 61 19
# description: mounts ZFS Storage Appliance shares
#
start()
{
mount /zfssa/dbname/backup1
mount /zfssa/dbname/backup2
mount /zfssa/dbname/backup3
mount /zfssa/dbname/backup4
echo "Starting $prog: "
}
stop()
{
umount /zfssa/dbname/backup1
umount /zfssa/dbname/backup2
umount /zfssa/dbname/backup3
umount /zfssa/dbname/backup4
echo "Stopping $prog: "
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
mount
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
2.
(Optional) Enable the init.d service for start-on-boot by entering:
# chkconfig zfssa_dbname on
3.
(Optional) Start and stop the service manually using the service commands:
618 Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016

Table of Contents

Other manuals for Oracle ZFS Storage Appliance

Related product manuals