美创科技技术社区

注册

 

发新话题 回复该主题

gridcontrol 11.1.0.1 for linux64 安装(一) [复制链接]

1#


本文档讲述如何在linux RH5(64)上安装gridcontrol 11.1.0.1的server。
基本步骤如下:
1、 安装JDK1.6-18+
2、 安装weblogic10.3.2
3、 为weblogic打补丁,先12426828、后WDJ7(p9438213_10320_Generic.zip)
4、 使用已经存在的数据库(10.2.0.5)安装gridcontrol 11.1.0.1 server
一、安装JDK1.6-18+
1、 下载JAVA
http://java.sun.com/javase/downloads/index.jsp
点击JDK DOWNLOAD,如下选择jdk-6u31-linux-x64.bin
2、mkdir jdk16
chmod -R 777 jdk16
su – oracle
cd /jdk16
[oracle@grid jdk16]$ ls
jdk-6u31-linux-x64.bin
chmod +x *.bin
./*.bin
[oracle@grid jdk16]$ ls
jdk-6u31-linux-x64.bin jdk1.6.0_31
3、vi .bash_profile
export JAVA_HOME=/jdk16/jdk1.6.0_31
export PATH=$JAVA_HOME/binPATH
export JRE_HOME=$JAVA_HOME/jre
[oracle@grid ~]$ . .bash_profile
4、[oracle@grid ~]$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
二、安装weblogic10.3.2
注:必须是10.3.2,不能使用更高的版本
1、下载软件并上传至服务器
2、为weblogic创建一个BASE目录/grid
[root@grid /]# mkdir grid
[root@grid /]# chown -R oracle:dba grid
su – oracle
3、安装weblogic
[oracle@grid gc]$ pwd
/soft/gc
[oracle@grid gc]$ ls -rtl
total 924268
-rw-r–r– 1 oracle dba 945517652 Mar 21 18:47 wls1032_generic.jar
[oracle@grid gc]$ which java
/jdk16/jdk1.6.0_31/bin/java
[oracle@grid gc]$ export DISPLAY=10.0.0.2:0.0
[oracle@grid gc]$ xclock
[oracle@grid gc]$ java -d64 -jar wls1032_generic.jar
4、图形界面如下:

MIDDLEWAR_HOME目录:该目录位于BASE目录(/grid)下,此处需要手工输入

注:选择Typical安装


三、为weblogic打补丁
注:Ensure that you apply patch ID WDJ7 on Oracle WebLogic Server using the Oracle Smart Update utility. This patch fixes bugs 8990616, 9100465, and 9221722.
For information on applying this patch, see My Oracle Support note 1072763.1.
需要打的补丁是WDJ7(9438213),不过打该补丁之前必须打补丁12426828
1、 下载这两个补丁:9438213、12426828
2、 打补丁12426828
[oracle@grid grid]$ ls
middlehome p12426828_1035_Generic.zip
[oracle@grid grid]$ unzip *.zip
Archive: p12426828_1035_Generic.zip
inflating: patch-client-installer330_generic32.jar
inflating: README.txt
[oracle@grid grid]$ which java
/jdk16/jdk1.6.0_31/bin/java
[oracle@grid grid]$ java -jar patch-client-installer330_generic32.jar
3、 打补丁9438213
3.1创建cache_dir目录($MIDDLEWARE_HOME/utils/bsu/cache_dir)
[oracle@grid gc]$ cd /grid/middlehome/
[oracle@grid middlehome]$ cd utils/
[oracle@grid utils]$ ls
bsu ccr clone config quickstart uninstall utils.jar
[oracle@grid utils]$ cd bsu
[oracle@grid bsu]$ ls -tl
total 40
-rwxr-x— 1 oracle dba 90 Mar 21 19:01 bsu.sh
-rw-r–r– 1 oracle dba 550 Mar 21 19:01 bsu.jar
-rw-r–r– 1 oracle dba 546 Mar 21 19:01 patch-client.jar
-rw-r–r– 1 oracle dba 25214 Mar 21 19:01 smartupdate.ico
[oracle@grid bsu]$ mkdir cache_dir
[oracle@grid bsu]$ ls -rtl
total 44
-rw-r–r– 1 oracle dba 25214 Mar 21 19:01 smartupdate.ico
-rw-r–r– 1 oracle dba 546 Mar 21 19:01 patch-client.jar
-rw-r–r– 1 oracle dba 550 Mar 21 19:01 bsu.jar
-rwxr-x— 1 oracle dba 90 Mar 21 19:01 bsu.sh
drwxr-xr-x 2 oracle dba 4096 Mar 21 19:18 cache_dir
3.2、复制补丁到cache_dir目录并解压
[oracle@grid gc]$ cp p9438213_10320_Generic.zip /grid/middlehome/utils/bsu/cache_dir/
[oracle@grid gc]$ cd /grid/middlehome/utils/bsu/cache_dir
[oracle@grid cache_dir]$ ls -rtl
total 972
-rw-r–r– 1 oracle dba 987165 Mar 21 19:20 p9438213_10320_Generic.zip
[oracle@grid cache_dir]$ unzip *.zip
Archive: p9438213_10320_Generic.zip
inflating: README.txt
inflating: 4D53.jar
inflating: NIXN.jar
inflating: patch-catalog_16922.xml
inflating: WDJ7.jar
inflating: XLXA.jar
[oracle@grid cache_dir]$
[oracle@grid cache_dir]$ rm README.txt
[oracle@grid cache_dir]$ rm -rf p9438213_10320_Generic.zip
[oracle@grid cache_dir]$ ls -rtl
total 7200
-rw-r–r– 1 oracle dba 7328143 Feb 1 23:48 patch-catalog_16922.xml
-rw-r–r– 1 oracle dba 4904 Feb 1 23:48 XLXA.jar
-rw-r–r– 1 oracle dba 387 Feb 1 23:48 WDJ7.jar
-rw-r–r– 1 oracle dba 3652 Feb 1 23:48 NIXN.jar
-rw-r–r– 1 oracle dba 8683 Feb 1 23:48 4D53.jar
3.3、安装
[oracle@grid bsu]$ ./bsu.sh -prod_dir=/grid/middlehome/wlserver_10.3 -patchlist=WDJ7 -verbose -install
Checking for conflicts..
No conflict(s) detected
Installing Patch Set ID: WDJ7
Starting installation of Patch ID: XLXA
Installing /grid/middlehome/utils/bsu/cache_dir/XLXA.jar
Extracting /grid/middlehome/patch_wls1032/patch_jars/Bug9221722_1032.jar
Updating /grid/middlehome/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar
Old manifest value: Class-Path=
New manifest value: Class-Path=../../../patch_jars/Bug9221722_1032.jar
Result: Success
Starting installation of Patch ID: 4D53
Installing /grid/middlehome/utils/bsu/cache_dir/4D53.jar
Extracting /grid/middlehome/patch_wls1032/patch_jars/Bug9100465_1032.jar
Updating /grid/middlehome/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar
Old manifest value: Class-Path=../../../patch_jars/Bug9221722_1032.jar
New manifest value: Class-Path=../../../patch_jars/Bug9100465_1032.jar ../../../patch_jars/Bug9221722_1032.jar
Result: Success
Starting installation of Patch ID: NIXN
Installing /grid/middlehome/utils/bsu/cache_dir/NIXN.jar
Extracting /grid/middlehome/patch_wls1032/patch_jars/bug8990616_1032.jar
Updating /grid/middlehome/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar
Old manifest value: Class-Path=../../../patch_jars/Bug9100465_1032.jar ../../../patch_jars/Bug9221722_1032.jar
New manifest value: Class-Path=../../../patch_jars/bug8990616_1032.jar ../../../patch_jars/Bug9100465_1032.jar ../../../patch_jars/Bug9221722_1032.jar
Result: Success
分享 转发
TOP
发新话题 回复该主题