Database Reference
In-Depth Information
Note
in a raC environment, osWatCher needs to be installed and run on all nodes in the cluster.
Configuring OSW to Start Automatically After a System Start
Systems issues don't appear after making appointments. To avoid surprises and to have most of the data available,
OSW should be considered as a utility to run at regular intervals in the background.
Step 1: Install the required RPM file to configure oswb as a service
[root@ssky1l4p1 downloads]# rpm -ivh oswbb-service-7.2.0-1.noarch.rpm
Preparing... ########################################### [100%]
1:oswbb-service ########################################### [100%]
-----------------------------
Step 2: Set up required parameters for auto start of OSW
[root@ssky1l4p1 ]# vi /etc/oswbb.conf
# Set OSW_ARCHIVE where the logs should be stored
OSW_ARCHIVE='archive'
# Set OSW_COMPRESSION to the desired compression scheme
OSW_COMPRESSION='gzip'
# Set OSW_HOME to the directory where your OSWatcher tools are installed
OSW_HOME='/u01/app/oracle/product /oswbb'
# Set OSW_INTERVAL to the number of seconds between collections
OSW_INTERVAL='30'
# Set OSW_RETENTION to the number of hours logs are to be retained
OSW_RETENTION='48'
# Set OSW_USER to the owner of the OSW_HOME directory
OSW_USER='oracle'
----------------------------
Step 3: Verify the chkconfig to ensure the OSW is enabled for auto start
[root@ssky1l4p1]# /sbin/chkconfig --list oswbb
oswbb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Step 4: Start OSW as a service
[root@ssky1l4p1]#
[root@ssky1l4p1]# /sbin/service oswbb start
Starting OSWatcher: [ OK ]
[root@ssky1l4p1]#
Step 5: Stop OSW as a service
[root@ssky1l4p1]# /sbin/service oswbb stop
Stopping OSWatcher: [ OK ]
 
 
Search WWH ::




Custom Search