A SERVICE OF

logo

BMC Software, Inc., Confidential and Proprietary Information
Starting Servers (Unix Host) 4-17
You have set DATABASE_NAME to the name of the Oracle database.
os/v.r represents the operating system and the version of the Database
Administration product that you are using.
Note
The default installation directory for PATROL products is /usr/bmc.
Database Administration products are installed under
/usr/bmc/PDBAdmin. However, you can specify an installation directory
other than
/usr/bmc. For example, if you specify /usr/myserv, the product
is installed under /usr/myserv/PDBAdmin.
Creating a Startup File (AIX)
If you are using AIX, you need to update the /etc/inittab file. Add a line
similar to the following line to the
inittab file:
rcpatrol:2:wait:sh /etc/rc.patrol
Following is an example of a startup file (called rc.patrol):
#!/bin/ksh
# This is the default directory for oraenv
PATH=$PATH:/usr/local/bin
# Set the Oracle environment
. oraenv <<!
DATABASE_NAME
!
#This is the job directory
export BMC_LOCAL=/usr/bmc/jobs
# This is the default directory
export BMC_HOME=/usr/bmc/PDBAdmin/
os
/
v.r
# This is the port value
export BMC_PORT=1313
# This is the language directory
export ML_ROOT=/usr/bmc/PDBAdmin/
os
/
v.r
# This specifies the language used by the server
export ML_LANG=en_US.iso88591
# Start the Database Administration server
$BMC_HOME/patroldb start