unix admin department - james l dorman - home … startup...unix admin department for application...

5
UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris version? POL0581-003 [document date] 5975 Santa Fe Street, San Diego, CA 92109

Upload: trinhkhanh

Post on 09-Mar-2018

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: UNIX ADMIN DEPARTMENT - James L Dorman - Home … startup...UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris

UNIX ADMIN DEPARTMENT

FOR

APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX

Why is this policy so different from the Solaris version?

POL0581-003

[document date]

5975 Santa Fe Street, San Diego, CA 92109

administrator
Draft
Page 2: UNIX ADMIN DEPARTMENT - James L Dorman - Home … startup...UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris

POL0581-003 Application Startup/Shutdown Scripts for AIX Policy [document date]

APPROVAL

Name Signature Title Date

Rick Knode

SDDPC

Page 3: UNIX ADMIN DEPARTMENT - James L Dorman - Home … startup...UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris

POL0581-003 Application Startup/Shutdown Scripts for AIX Policy [document date]

REVISION HISTORY

Date Revision CR No. Description Author

12/31/2001 1st Draft [number] Initial Draft Jim Altier/Eric Walker

SDDPC

Page 4: UNIX ADMIN DEPARTMENT - James L Dorman - Home … startup...UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris

POL0581-003 Application Startup/Shutdown Scripts for AIX Policy [document date]

TABLE OF CONTENTS

1. Information ...........................................................................................................................1 2. Requirement ........................................................................................................................1 3. Related Documents .............................................................................................................1

SDDPC Page i

Page 5: UNIX ADMIN DEPARTMENT - James L Dorman - Home … startup...UNIX ADMIN DEPARTMENT FOR APPLICATION STARTUP/SHUTDOWN SCRIPTS FOR AIX Why is this policy so different from the Solaris

POL0581-003 Application Startup/Shutdown Scripts for AIX Policy [document date]

1. INFORMATION This document provides information on documenting standard templates for application startup/shutdown scripts and for documenting standard procedures for changing these scripts, and maintaining revision control. This document also assumes that the creators of application startup and shutdown scripts:

a. are familiar with operating systems commands and application commands and required parameters, if any.

b. are fluent in shell scripting

c. have a working knowledge of revision control using RCS

The document only covers application startup/shutdown scripts. Standard startup/shutdown scripts supplied by the operating system are not covered, unless they are to be modified.

2. REQUIREMENT

2.1 Adding an application for startup: If an application is to be started when the system is booting up, edit the /etc/rc.local file.

For Example: To start Oracle at startup you would add lines. su - oracle -c "/orasys00/app/oracle/product/8.1.x/bin/dbstart"

(If the DBA wants the listener to start) su - oracle -c "/orasys00/app/oracle/product/8.1.x/bin/lsnrctl start”

To start sysedge:

/usr/lpp/EMPsysedge/bin/sysedge.startup start

To start nfsguard add line. /etc/nfsguard

2.2 Adding an application for shutdown: If the application is to be stopped before shutdown of the system, edit /etc/shutdown.

For Example: To shutdown Oracle you would add line. su - oracle -c "/orasys00/app/oracle/product/8.1.x/bin/dbshut”

3. RELATED DOCUMENTS None.

SDDPC Page 1