StorageWorks Command Console Agent in a TruCluster Environment Application Note

Shared Storage Solutions Using Fibre Channel Hubs
Page 4 EKSMA41AN. A01
#
PATH=.:/etc:/bin:/usr/bin:/usr/ucb:/sbin
export PATH
SD="/usr/opt/SWCC220/bin/steamd"
grep -qsw steam /etc/inittab
if [ $? -eq 0 ]
then
sed ’/steamd/d’ /etc/inittab > /etc/inittab.tmp
mv /etc/inittab.tmp /etc/inittab
init q
else
exit 0
fi
With the Start/Stop scripts created and tested, complete the process by using the asemgr
utility to create the service. Below is a sample session with comments italicized.
tincp4>asemgr
TruCluster Production Server (ASE)
ASE Main Menu
a) Managing the ASE -->
m) Managing ASE Services -->
s) Obtaining ASE Status -->
x) Exit ?) Help
Enter your choice: m
/ Select “m” to create a new service. /
Managing ASE Services
c) Service Configuration -->
r) Relocate a service
on) Set a service on line
off) Set a service off line
res) Restart a service
s) Display the status of a service
a) Advanced Utilities -->
q) Quit (back to the Main Menu)
x) Exit ?) Help
Enter your choice [q]: c
/ Select “c” for a new service. /
Service Configuration
a) Add a new service
m) Modify a service
o) Modify a service without interrupting its
availability
d) Delete a service
s) Display the status of a service
c) Display the configuration of a service