#!/bin/sh # # This script needs to be run by the root user. It needs to be modified # for the environment in which it's to be run. See comments below. # # Due to the number of commands that need to be executed by the root user # within this script and due to the fact that these command can fail under # different circumstances, Oracle recommends that, initially, each command # be performed manually (instead of running via this script). After required # changes are made and after some level of comfort is attained for the # successfull and repeatable execution of each command, this script should # be used to execute all commands. # #/bin/mount ORACLE_HOME_FS ORACLE_HOME_MP # Uncomment the previous line after replacing: # ORACLE_HOME_FS with the filesystem containing the 9iAS 9.0.2 Infrastructure # ORACLE_HOME_MP with the directory where ORACLE_HOME_FS is to be mounted to # (ie, the mount point) # Example: /bin/mount /dev/sdd3 /oracle # #/sbin/ifconfig eth0:1 netmask NETMASK LOGICAL_IP # Uncomment the previous line after replacing: # NETMASK with the netmask value for your network # LOGICAL_IP with the logical IP address that will be used for this solution # Example: /sbin/ifconfig eth0:1 netmask 255.255.252.0 130.35.149.193 # /bin/su - oracle -c "/u01/app/oracle/dba/startAS10g904infra.sh /u01/app/oracle/product/904_infra asdb password clust01.mydomain.com:0.0 clust01.mydomain.com" # Uncomment the previous line after replacing: # ORACLE_USER with the username that installed the 9iAS 9.0.2 Infrastructure # PATHOFSTARTSCRIPT with the full path of the start9ias902infra.sh script # (which is included in the same package (in the same directory) that this # script came from) # ORACLE_HOME with the ORACLE_HOME of the 9iAS 9.0.2 Infrastructure # ORACLE_SID with the ORACLE_SID of the 9iAS 9.0.2 Infrastructure # IAS_PASS with the 9iAS Instance Password set during the 9iAS 9.0.2 # Infrastructure install # DISPLAY with the DISPLAY value of your display # LHOSTNAME with the fully qualified logical hostname that will be used for # this solution # Example: /bin/su - oracle -c "/home/oracle/ias902_cfc/start9ias902infra.sh /oracle/ias902/infra iasdb welcome1 mydisplay:0.0 infrahost.oracle.com" #