Database Reference
In-Depth Information
2.
Set environment variables.
a.
Operating System Time Zone variable, TZ: 3
export TZ='America/New_York'
The PERL5LIB variable should be unset to avoid being associated with the incorrect
PERL libraries.
b.
3.
Install Oracle Clusterware on both servers (see the Oracle Grid Infrastructure Installation
Guide).
4.
Install and configure OCFS2.
5.
Prepare the database for use with OMS (see Chapter 2 for more information).
Before installing the OMS, a virtual hostname that maps to a unique static IP address should be available (which
means an IP address that is currently not used, in the same subnet as the other Enterprise Manager components).
A VIP is configured on the public subnet used for accessing the server. If the server that hosts the VIP goes down,
it is relocated to an available member of the cluster by Oracle Clusterware. Likewise, if maintenance needs to be
performed on a server hosting the VIP, it can be relocated to another server in the cluster.
A VIP can be created in the same way as any other Clusterware resource. However, Oracle recommends that
you use the appvipcfg utility in Oracle Clusterware 11gR2 to create application VIPs. The VIP is created with a set
of predefined settings suitable for an application VIP, such as a placement policy and failback 4 option. See Oracle
Clusterware Administration and Deployment Guide11gR2 documentation for details on using appvipcfg .
Using the following steps, create an application VIP for the OMS:
After installing Oracle Clusterware 11gR2, log in as the ROOT user and issue the following
command:
1.
GRID_HOME/bin/appvipcfg create -network=1 \
-ip=192.168.1.0 \
-vipname=omsvip \
-user=root
An e xample output of running appvipcfg is as follows:
[root@oms1 bin]# /u01/app/11.2.0/grid/bin/appvipcfg create -network=1 \
-ip=192.168.1.0 \
-vipname=omsvip \
-user=root
Production Copyright 2007, 2008, Oracle.All rights reserved
2012-10-28 03:30:29: Creating Resource Type
2012-10-28 03:30:29: Executing /u01/app/11.2.0/grid/bin/crsctl add type
app.appvip_net1.type -basetype ora.cluster_vip_net1.type -file
/u01/app/11.2.0/grid/crs/template/appvip.type
2012-10-28 03:30:29: Executing cmd: /u01/app/11.2.0/grid/bin/crsctl add type
app.appvip_net1.type -basetype ora.cluster_vip_net1.type -file
3 The format for the TZ environment variable will depend on your operating system. For more information on setting the TZ
variable, see your operating system documentation.
4 The default value of the failback is set to 0, which means that the VIP and its dependent resources will not automatically fail back
to the original node after it becomes available again.
 
Search WWH ::




Custom Search