Enterprise Manager Cloud Control 13c部署文档
Oem13200c安装部署文档
一、 环境检查:
echo 11000 65000 > /proc/sys/net/ipv4/ip_local_port_range
[[email protected] ~]# cat /proc/sys/net/ipv4/ip_local_port_range
11000 65000
/etc/sysctl.conf
kernel.shmmax parameter to 4294967295
/sbin/chkconfig boot.sysctl on
/sbin/sysctl –p
192.168.9.243 oem.oracle.com
192.168.9.242 oem.oms.com
groupadd -g 600 oinstall
groupadd -g 601 dba
useradd -g oinstall -G dba -u 603 oracle
echo oracle | passwd --stdin oracle
mkdir -p /u01/oracle
chown -R oracle:oinstall /u01
chmod -R 775 /u01
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=ORACLE_HOME/lib
export LIBPATH=ORACLE_HOME/lib
#export ORACLE_SID=test
export PATH=HOME/bin:$ORACLE_HOME/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:.
groupadd -g 600 oinstall
groupadd -g 601 dba
useradd -g oinstall -G dba -u 603 oem
echo oem | passwd --stdin oem
mkdir -p /u01/oem
chown -R oem:oinstall /u01
chmod -R 775 /u01
export ORACLE_BASE=/u01/oem
export ORACLE_HOME=ORACLE_BASE/agent/core/12.1.0.2.0
export LD_LIBRARY_PATH=PATH:ORACLE_HOME/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oem/bin:.
-rw-r–r--. 1 oracle oinstall 1014530602 Feb 20 16:07 linuxamd64_12102_database_2of2.zip
-rw-r–r--. 1 oracle oinstall 1673544724 Feb 20 16:09 linuxamd64_12102_database_1of2.zip
-rw-r–r--. 1 oracle oinstall 376876746 Feb 20 16:37 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip
-rw-r–r--. 1 oem oinstall 553563556 Feb 20 16:08 em13200_linux64-3.zip
-rw-r–r--. 1 oem oinstall 2118110455 Feb 20 16:14 em13200_linux64-2.zip
-rw-r–r--. 1 oem oinstall 2084299941 Feb 20 16:16 em13200_linux64-4.zip
-rw-r–r--. 1 oem oinstall 474441637 Feb 20 16:17 em13200_linux64-6.zip
-rw-r–r--. 1 oem oinstall 554607894 Feb 20 16:19 em13200_linux64.bin
-rw-r–r--. 1 oem oinstall 2128070240 Feb 20 16:20 em13200_linux64-5.zip
[[email protected] media]$ unzip linuxamd64_12102_database_1of2.zip && unzip linuxamd64_12102_database_2of2.zip
[[email protected] ~]# /tmp/CVU_12.1.0.2.0_oracle/runfixup.sh
All Fix-up operations were completed successfully.
[[email protected] ~]# /u01/oraInventory/orainstRoot.sh
Changing permissions of /u01/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/oraInventory to oinstall.
The execution of the script is complete.
[[email protected] ~]# /u01/oracle/product/db_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/oracle/product/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin …
Copying oraenv to /usr/local/bin …
Copying coraenv to /usr/local/bin …
Creating /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
[[email protected] ~]$ netca
Oracle Net Services Configuration:
/u01/oracle/product/db_1/assistants/dbca/templates
[[email protected] media]$ cp 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip /u01/oracle/product/db_1/assistants/dbca/templates
[[email protected] templates]$ unzip 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip
Archive: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Linux_x64.zip
inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Large_deployment.sql
inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Medium_deployment.sql
inflating: set_repo_param_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0_Small_deployment.sql
inflating: shpool_12.1.0.2.0_Database_SQL_for_EM13_2_0_0_0.sql
inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Large_deployment.dbc
inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Medium_deployment.dbc
inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0_Small_deployment.dbc
inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0.dfb
inflating: 12.1.0.2.0_Database_Template_for_EM13_2_0_0_0.ctl
[[email protected] templates]$ dbca
Oracle000
[[email protected] media]$ ./em13200_linux64.bin
0%…
Oracle000
Oracle000
[[email protected] ~]# /u01/oem/allroot.sh
Starting to execute allroot.sh …
Starting to execute /u01/oem/root.sh …
/etc exist
Creating /etc/oragchomelist file…
/u01/oem
Finished product-specific root actions.
/etc exist
Finished execution of /u01/oem/root.sh …
Starting to execute /u01/agent/agent_13.2.0.0.0/root.sh …
Finished product-specific root actions.
/etc exist
Finished execution of /u01/agent/agent_13.2.0.0.0/root.sh …
[[email protected] ~]#
sysman
Oracle000
基础环境搭建完成。