The following is a sample ASE configuration database.
!! ---------------------------------------------------------------------------
!! ASE database /var/ase/config/asecdb
!! ---------------------------------------------------------------------------
ASE functionality version: V1.5
ASE logging level: Informational
Number of ASE members: 2
Primary network default retry settings: (see /etc/hsm.conf for overrides)
Primary network max retries: 4
Primary network time between retries: 10
Primary network time between successes: 30
Primary network time between failures: 50
Backup network default retry settings: (see /etc/hsm.conf for overrides)
Backup network max retries: 4
Backup network time between retries: 10
Backup network time between successes: 300
Backup network time between failures: 300
AM default retry settings: (see /etc/hsm.conf for overrides)
AM max retries: 2
AM time between retries: NA
AM time between successes: 20
AM time between failures: 300
Network interface default retry settings: (see /etc/hsm.conf for overrides)
Network interface max retries: 4
Network interface time between retries: 10
Network interface time between successes: 30
Network interface time between failures: 50
!! ---------------------------------------------------------------------------
!! ASE database information
!! ---------------------------------------------------------------------------
ASE database format: V1.5
ASE database created by product: TruCluster Production Server
ASE database created by member: mc0kitche1
ASE database timestamp version: 936812437
ASE database last updated on: Wed Sep 8 13:40:37 1999
ASE database last updated by: mc0kitche2
ASE database revision number: 169
!! ---------------------------------------------------------------------------
!! ASE network interface configuration
!! ---------------------------------------------------------------------------
Member name: mc0kitche1
Member IP address: IP_ADDRESS
Daemon communication use: Primary
Member aliveness ping use: Primary
Monitor interface setting: ignore
Interface name: kitche1
Interface IP address: IP_ADDRESS
Daemon communication use: Never
Member aliveness ping use: Never
Monitor interface setting: monitor
Member name: mc0kitche2
Member IP address: IP_ADDRESS
Daemon communication use: Primary
Member aliveness ping use: Primary
Monitor interface setting: ignore
Interface name: kitche2
Interface IP address: IP_ADDRESS
Daemon communication use: Never
Member aliveness ping use: Never
Monitor interface setting: monitor
!! ---------------------------------------------------------------------------
!! ASE alert script information
!! ---------------------------------------------------------------------------
System alert script name: /var/ase/sbin/ase_run_sh
System alert script timeout: 20
@startText alert_script_0
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: ase_logcrit_sh.sh,v $ $Revision: 1.2.7.2 $ (DEC) $Date: 1996/11/21 17:07:45 $
ADMIN="root"
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
TIME=`date +"%D %T"`
ERR_FILE=/var/ase/tmp/alertMsg
HSM_STATUS=`awk -F: '{print $2}' ${ERR_FILE} | sed 's/ //g'`
case "${HSM_STATUS}" in
HSM_PATH_STATUS)
awk -f /var/ase/lib/path_status_awk ${ERR_FILE}
;;
HSM_NI_STATUS)
awk -f /var/ase/lib/ni_status_awk ${ERR_FILE}
;;
esac
if [ -n "${ADMIN}" ]; then
if [ ! -f "${ERR_FILE}" ]; then
echo "Critical ASE error or status change detected on `date`" > ${ERR_FILE}
fi
mailx -s "***Critical ASE error or status change - ${TIME}" ${ADMIN} < ${ERR_FILE}
fi
rm -f ${ERR_FILE}
@endText alert_script_0
!! ---------------------------------------------------------------------------
!! ASE service configuration for kitche
!! ---------------------------------------------------------------------------
@startService kitche
Service name: kitche
Service type: NFS
Relocate on boot of favored member: yes
Placement policy: favored
Favored member(s): mc0kitche1,mc0kitche2
NFS locking file: /var/ase/mnt/kitche/share/kitche/public/.ase/nfs_lock
IP address: IP_ADDRESS
Device: kitche_spool#printer
kitche_spool#printer mount point: /var/ase/mnt/kitche/usr/var/spool/printer
kitche_spool#printer filesystem type: advfs
kitche_spool#printer mount options: rw,groupquota,userquota
Device: kitche_spool#mqueue
kitche_spool#mqueue mount point: /var/ase/mnt/kitche/usr/var/spool/mqueue
kitche_spool#mqueue filesystem type: advfs
kitche_spool#mqueue mount options: rw,groupquota,userquota
Device: kitche_spool#mail
kitche_spool#mail mount point: /var/ase/mnt/kitche/usr/var/spool/mail
kitche_spool#mail filesystem type: advfs
kitche_spool#mail mount options: rw,groupquota,userquota
Device: kitche_imap#imap
kitche_imap#imap mount point: /var/ase/mnt/kitche/usr/var/spool/imap
kitche_imap#imap filesystem type: advfs
kitche_imap#imap mount options: rw,groupquota,userquota
Device: kitche_spool#bprinter
kitche_spool#bprinter mount point: /var/ase/mnt/kitche/usr/var/spool/bprinter
kitche_spool#bprinter filesystem type: advfs
kitche_spool#bprinter mount options: rw,groupquota,userquota
Device: kitche_spool#bmqueue
kitche_spool#bmqueue mount point: /var/ase/mnt/kitche/usr/var/spool/bmqueue
kitche_spool#bmqueue filesystem type: advfs
kitche_spool#bmqueue mount options: rw,groupquota,userquota
Device: kitche_asdu#asdu
kitche_asdu#asdu mount point: /var/ase/mnt/kitche/usr/net
kitche_asdu#asdu filesystem type: advfs
kitche_asdu#asdu mount options: rw,groupquota,userquota
Device: kitche_staff4#staff4
kitche_staff4#staff4 mount point: /var/ase/mnt/kitche/share/kitche/usr/staff4
kitche_staff4#staff4 filesystem type: advfs
kitche_staff4#staff4 mount options: rw,groupquota,userquota
Device: kitche_staff3#staff3
kitche_staff3#staff3 mount point: /var/ase/mnt/kitche/share/kitche/usr/staff3
kitche_staff3#staff3 filesystem type: advfs
kitche_staff3#staff3 mount options: rw,groupquota,userquota
Device: kitche_staff2#staff2
kitche_staff2#staff2 mount point: /var/ase/mnt/kitche/share/kitche/usr/staff2
kitche_staff2#staff2 filesystem type: advfs
kitche_staff2#staff2 mount options: rw,groupquota,userquota
Device: kitche_staff1#staff1
kitche_staff1#staff1 mount point: /var/ase/mnt/kitche/share/kitche/usr/staff1
kitche_staff1#staff1 filesystem type: advfs
kitche_staff1#staff1 mount options: rw,groupquota,userquota
Device: kitche_public#public
kitche_public#public mount point: /var/ase/mnt/kitche/share/kitche/public
kitche_public#public filesystem type: advfs
kitche_public#public mount options: rw,groupquota,userquota
Device: kitche_kits#kits
kitche_kits#kits mount point: /var/ase/mnt/kitche/share/kitche/kits
kitche_kits#kits filesystem type: advfs
kitche_kits#kits mount options: rw,groupquota,userquota
AdvFS domain: kitche_imap
kitche_imap volumes: /dev/vol/imapdg/imap
AdvFS domain: kitche_spool
kitche_spool volumes: /dev/vol/kitchedg/spool
AdvFS domain: kitche_asdu
kitche_asdu volumes: /dev/vol/asdudg/asdu
AdvFS domain: kitche_staff4
kitche_staff4 volumes: /dev/vol/kitchedg/staff4
AdvFS domain: kitche_staff3
kitche_staff3 volumes: /dev/vol/kitchedg/staff3
AdvFS domain: kitche_staff2
kitche_staff2 volumes: /dev/vol/kitchedg/staff2
AdvFS domain: kitche_staff1
kitche_staff1 volumes: /dev/vol/kitchedg/staff1
AdvFS domain: kitche_public
kitche_public volumes: /dev/vol/kitchedg/public
AdvFS domain: kitche_kits
kitche_kits volumes: /dev/vol/kitchedg/kits
LSM disk group: asdudg
asdudg disks: rzg28 rzg36
LSM disk group: imapdg
imapdg disks: rzd30 rzd38
LSM disk group: kitchedg
kitchedg disks: rzc28 rzc29 rzc30 rzc36 rzc37 rzc38 rzd28 rzd29 rzd36 rzd37 rzf30g rzf30h rzf38g rzf38h
!! ---------------------------------------------------------------------------
!! NFS exports list for kitche
!! ---------------------------------------------------------------------------
@startText kitche_NFS_exports
/share/kitche/public -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 zk3_world
/share/kitche/usr/staff1 -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 production shaman tomc bjorn rebel
/share/kitche/usr/staff1/mangel
/share/kitche/usr/staff2 -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 production shaman tomc bjorn rebel
/share/kitche/usr/staff2/capen
/share/kitche/usr/staff2/schott ping pong
/share/kitche/usr/staff3 -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 production shaman tomc bjorn rebel
/share/kitche/usr/staff4 -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 production shaman tomc bjorn rebel
/share/kitche/usr/staff4/angel crufty hdflhc
/share/kitche/usr/staff4/shancock beach
/usr/var/spool/mail -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/usr/var/spool/printer -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/usr/var/spool/mqueue -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/share/kitche/kits -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2 production
/usr/net -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/usr/var/spool/imap -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/usr/var/spool/bprinter -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
/usr/var/spool/bmqueue -root=kitche1:kitche2:mc0kitche1:mc0kitche2:brrkitche1:brrkitche2
@endText kitche_NFS_exports
!! ---------------------------------------------------------------------------
!! start script for kitche
!! ---------------------------------------------------------------------------
Timeout for kitche's start script: 60
Arguments passed to kitche's start script: kitche
@startText kitche_start_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: startAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:32 $
#
# A skeleton example of a start action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to start
else
svcName=
fi
if [ -x /var/adm/ues/bin/kitche_start.ksh ]; then
/var/adm/ues/bin/kitche_start.ksh &
else
echo Can not execute /var/adm/ues/bin/kitche_start.ksh
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kitche_start_script
!! ---------------------------------------------------------------------------
!! stop script for kitche
!! ---------------------------------------------------------------------------
Timeout for kitche's stop script: 120
Arguments passed to kitche's stop script: kitche
@startText kitche_stop_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile :stopAction.sh,v $ $Revision :1.2.4.3 $ (DEC) $Date :1994/10/28 18:14:28 $
#
# A skeleton example of a stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
svcName=
fi
if [ -x /var/adm/ues/bin/kitche_stop.ksh ]; then
/var/adm/ues/bin/kitche_stop.ksh
else
echo Can not execute /var/adm/ues/bin/kitche_stop.ksh
fi
#
# This script runs when the service is stopped, and also when the ASE
# is initializing on a member as it boots. You can test the context:
#
case "${MEMBER_STATE}" in
BOOTING) # Stopping ${svcName} as ASE member boots.
;;
RUNNING) # This is a true stop of ${svcName}.
;;
esac
#
# exit 0 = success - service stopped successfully
# exit 1 = failure - could not stop service
# exit 99 = failure - could not stop service (service busy)
#
exit 0
@endText kitche_stop_script
!! ---------------------------------------------------------------------------
!! add script for kitche
!! ---------------------------------------------------------------------------
Timeout for kitche's add script: 60
Arguments passed to kitche's add script: kitche
@startText kitche_add_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: addAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:17 $
#
# A skeleton example of an add action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to add
else
svcName=
fi
if [ -x /var/adm/ues/bin/kitche_add.ksh ]; then
/var/adm/ues/bin/kitche_add.ksh
else
echo Can not execute /var/adm/ues/bin/kitche_add.ksh
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kitche_add_script
!! ---------------------------------------------------------------------------
!! delete script for kitche
!! ---------------------------------------------------------------------------
Timeout for kitche's delete script: 60
Arguments passed to kitche's delete script: kitche
@startText kitche_delete_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: deleteAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:28 $
#
# A skeleton example of a delete action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to delete
else
svcName=
fi
if [ -x /var/adm/ues/bin/kitche_delete.ksh ]; then
/var/adm/ues/bin/kitche_delete.ksh
else
echo Can not execute /var/adm/ues/bin/kitche_delete.ksh
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kitche_delete_script
@endService kitche
!! ---------------------------------------------------------------------------
!! ASE service configuration for kase2
!! ---------------------------------------------------------------------------
@startService kase2
Service name: kase2
Service type: TAPE
Relocate on boot of favored member: yes
Placement policy: favored
Favored member(s): mc0kitche1,mc0kitche2
IP address: IP_ADDRESS
Tape devices: /dev/nrmt0h /dev/nrmt1h
Media changer devices: /dev/mc16b /dev/mc17b
Device: kitche_nsr#nsr
kitche_nsr#nsr mount point: /share/kitche/nsr
kitche_nsr#nsr filesystem type: advfs
kitche_nsr#nsr mount options: rw,groupquota,userquota
AdvFS domain: kitche_nsr
kitche_nsr volumes: /dev/vol/nsrdg/nsr
LSM disk group: nsrdg
nsrdg disks: rzg29 rzg37
!! ---------------------------------------------------------------------------
!! start script for kase2
!! ---------------------------------------------------------------------------
Timeout for kase2's start script: 60
Arguments passed to kase2's start script: kase2
@startText kase2_start_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: startAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:32 $
#
# A skeleton example of a start action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to start
else
svcName=
fi
if [ -x /var/adm/ues/bin/kase2_start.ksh ]; then
/var/adm/ues/bin/kase2_start.ksh
else
echo "Couldn't find /var/adm/ues/bin/kase2_start.ksh"
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kase2_start_script
!! ---------------------------------------------------------------------------
!! stop script for kase2
!! ---------------------------------------------------------------------------
Timeout for kase2's stop script: 60
Arguments passed to kase2's stop script: kase2
@startText kase2_stop_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile :stopAction.sh,v $ $Revision :1.2.4.3 $ (DEC) $Date :1994/10/28 18:14:28 $
#
# A skeleton example of a stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
svcName=
fi
#
# This script runs when the service is stopped, and also when the ASE
# is initializing on a member as it boots. You can test the context:
#
case "${MEMBER_STATE}" in
BOOTING) # Stopping ${svcName} as ASE member boots.
if [ -x /usr/bin/nsrexecd ]; then
/usr/bin/nsrexecd
else
echo "Couldn't find /usr/bin/nsrexecd"
fi
;;
RUNNING) # This is a true stop of ${svcName}.
;;
esac
if [ -x /var/adm/ues/bin/kase2_stop.ksh ]; then
/var/adm/ues/bin/kase2_stop.ksh
else
echo "Couldn't find /var/adm/ues/bin/kase2_stop.ksh"
fi
#
# exit 0 = success - service stopped successfully
# exit 1 = failure - could not stop service
# exit 99 = failure - could not stop service (service busy)
#
exit 0
@endText kase2_stop_script
!! ---------------------------------------------------------------------------
!! add script for kase2
!! ---------------------------------------------------------------------------
Timeout for kase2's add script: 60
Arguments passed to kase2's add script: kase2
@startText kase2_add_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: addAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:17 $
#
# A skeleton example of an add action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to add
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kase2_add_script
!! ---------------------------------------------------------------------------
!! delete script for kase2
!! ---------------------------------------------------------------------------
Timeout for kase2's delete script: 60
Arguments passed to kase2's delete script: kase2
@startText kase2_delete_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: deleteAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:28 $
#
# A skeleton example of a delete action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to delete
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText kase2_delete_script
@endService kase2
!! ---------------------------------------------------------------------------
!! ASE service configuration for unix
!! ---------------------------------------------------------------------------
@startService unix
Service name: unix
Service type: DISK
Relocate on boot of favored member: yes
Placement policy: favored
Favored member(s): mc0kitche2,mc0kitche1
IP address: IP_ADDRESS
Device: kitche_disk#disk
kitche_disk#disk mount point: /share/kitche/disk
kitche_disk#disk filesystem type: advfs
kitche_disk#disk mount options: rw,groupquota,userquota
AdvFS domain: kitche_disk
kitche_disk volumes: /dev/vol/diskdg/disk
LSM disk group: diskdg
diskdg disks: rzf28 rzf36
!! ---------------------------------------------------------------------------
!! start script for unix
!! ---------------------------------------------------------------------------
Timeout for unix's start script: 180
Arguments passed to unix's start script: unix
@startText unix_start_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: startAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:32 $
#
# A skeleton example of a start action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to start
else
svcName=
fi
if [ -x /var/adm/ues/bin/unix_start.ksh ]; then
/var/adm/ues/bin/unix_start.ksh
else
echo "Could not find /var/adm/ues/bin/unix_start.ksh"
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText unix_start_script
!! ---------------------------------------------------------------------------
!! stop script for unix
!! ---------------------------------------------------------------------------
Timeout for unix's stop script: 180
Arguments passed to unix's stop script: unix
@startText unix_stop_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile :stopAction.sh,v $ $Revision :1.2.4.3 $ (DEC) $Date :1994/10/28 18:14:28 $
#
# A skeleton example of a stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
svcName=
fi
if [ -x /var/adm/ues/bin/unix_stop.ksh ]; then
/var/adm/ues/bin/unix_stop.ksh
else
echo "Couldn't find /var/adm/ues/bin/unix_stop.ksh"
fi
#
# This script runs when the service is stopped, and also when the ASE
# is initializing on a member as it boots. You can test the context:
#
case "${MEMBER_STATE}" in
BOOTING) # Stopping ${svcName} as ASE member boots.
;;
RUNNING) # This is a true stop of ${svcName}.
;;
esac
#
# exit 0 = success - service stopped successfully
# exit 1 = failure - could not stop service
# exit 99 = failure - could not stop service (service busy)
#
exit 0
@endText unix_stop_script
!! ---------------------------------------------------------------------------
!! add script for unix
!! ---------------------------------------------------------------------------
Timeout for unix's add script: 180
Arguments passed to unix's add script: unix
@startText unix_add_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: addAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:17 $
#
# A skeleton example of an add action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to add
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText unix_add_script
!! ---------------------------------------------------------------------------
!! delete script for unix
!! ---------------------------------------------------------------------------
Timeout for unix's delete script: 180
Arguments passed to unix's delete script: unix
@startText unix_delete_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: deleteAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:28 $
#
# A skeleton example of a delete action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to delete
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText unix_delete_script
@endService unix
!! ---------------------------------------------------------------------------
!! ASE service configuration for xirtlu
!! ---------------------------------------------------------------------------
@startService xirtlu
Service name: xirtlu
Service type: DISK
Relocate on boot of favored member: no
Placement policy: favored
Favored member(s): mc0kitche2,mc0kitche1
IP address: IP_ADDRESS
Device: kitche_bspool#bprinter
kitche_bspool#bprinter mount point: /usr/var/spool/printer.backup
kitche_bspool#bprinter filesystem type: advfs
kitche_bspool#bprinter mount options: rw,groupquota,userquota
Device: kitche_bspool#bmqueue
kitche_bspool#bmqueue mount point: /usr/var/spool/mqueue.backup
kitche_bspool#bmqueue filesystem type: advfs
kitche_bspool#bmqueue mount options: rw,groupquota,userquota
AdvFS domain: kitche_bspool
kitche_bspool volumes: /dev/vol/bspooldg/bspool
LSM disk group: bspooldg
bspooldg disks: rze30 rze38
!! ---------------------------------------------------------------------------
!! start script for xirtlu
!! ---------------------------------------------------------------------------
Timeout for xirtlu's start script: 60
Arguments passed to xirtlu's start script: xirtlu
@startText xirtlu_start_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: startAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:32 $
#
# A skeleton example of a start action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to start
else
svcName=
fi
if [ -x /var/adm/ues/bin/xirtlu_start.ksh ]; then
/var/adm/ues/bin/xirtlu_start.ksh &
else
echo Can not execute /var/adm/ues/bin/xirtlu_start.ksh
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText xirtlu_start_script
!! ---------------------------------------------------------------------------
!! stop script for xirtlu
!! ---------------------------------------------------------------------------
Timeout for xirtlu's stop script: 60
Arguments passed to xirtlu's stop script: xirtlu
@startText xirtlu_stop_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile :stopAction.sh,v $ $Revision :1.2.4.3 $ (DEC) $Date :1994/10/28 18:14:28 $
#
# A skeleton example of a stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
svcName=
fi
#
# This script runs when the service is stopped, and also when the ASE
# is initializing on a member as it boots. You can test the context:
#
case "${MEMBER_STATE}" in
BOOTING) # Stopping ${svcName} as ASE member boots.
;;
RUNNING) # This is a true stop of ${svcName}.
if [ -x /var/adm/ues/bin/xirtlu_stop.ksh ]; then
/var/adm/ues/bin/xirtlu_stop.ksh &
else
echo Can not execute /var/adm/ues/bin/xirtlu_stop.ksh
fi
;;
esac
#
# exit 0 = success - service stopped successfully
# exit 1 = failure - could not stop service
# exit 99 = failure - could not stop service (service busy)
#
exit 0
@endText xirtlu_stop_script
!! ---------------------------------------------------------------------------
!! add script for xirtlu
!! ---------------------------------------------------------------------------
Timeout for xirtlu's add script: 60
Arguments passed to xirtlu's add script: xirtlu
@startText xirtlu_add_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: addAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:17 $
#
# A skeleton example of an add action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to add
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText xirtlu_add_script
!! ---------------------------------------------------------------------------
!! delete script for xirtlu
!! ---------------------------------------------------------------------------
Timeout for xirtlu's delete script: 60
Arguments passed to xirtlu's delete script: xirtlu
@startText xirtlu_delete_script
# *****************************************************************
# * *
# * Copyright (c) Digital Equipment Corporation, 1991, 1997 *
# * *
# * All Rights Reserved. Unpublished rights reserved under *
# * the copyright laws of the United States. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Digital *
# * Equipment Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Digital Equipment *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
# @(#)$RCSfile: deleteAction.sh,v $ $Revision: 1.2.2.2 $ (DEC) $Date: 1995/01/27 22:53:28 $
#
# A skeleton example of a delete action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to delete
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
@endText xirtlu_delete_script
@endService xirtlu