12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the...

14
On LINUX X86 64 BIT Download foll files from oracle.com : 1. 11g Rel 2 for LINUX. 1. linux.x64_11gR2_database_1of2 2. linux.x64_11gR2_database_2of2 2. 12c Cloud Control - Enterprise Manager. 1. em12_linux64_disk1of2 2. em12_linux64_disk2of2 Copy both sets of zip files into separate directories on linux server and unzip them. Begin installation 1. Install 11g rel2 Linux software. 2. Create database using 11g rel2 Linux software Before creating database, make sure /etc/hosts file has name of host : Otherwise dbca database creation will fail with: ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP) (HOST=cloud.control)(PORT=1521)) Hostname [oracle@cloud oradata]$ hostname cloud.control [oracle@cloud flash_recovery_area]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail.

Transcript of 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the...

Page 1: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

On LINUX X86 64 BIT

Download foll files from oracle.com :

1. 11g Rel 2 for LINUX.

1. linux.x64_11gR2_database_1of22. linux.x64_11gR2_database_2of2

2. 12c Cloud Control - Enterprise Manager.

1. em12_linux64_disk1of22. em12_linux64_disk2of2

Copy both sets of zip files into separate directories on linux server and unzip them.

Begin installation

1. Install 11g rel2 Linux software.

2. Create database using 11g rel2 Linux software

Before creating database, make sure /etc/hosts file has name of host :

Otherwise dbca database creation will fail with:

ORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=cloud.control)(PORT=1521))

Hostname

[oracle@cloud oradata]$ hostname

cloud.control

[oracle@cloud flash_recovery_area]$ cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6

10.254.8.200 cloud.control cloud

[oracle@cloud flash_recovery_area]$

Page 2: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Also make sure ulimit –n is unlimited.

[oracle@cloud bin]$ ulimit -n

1024

[oracle@cloud bin]$

Get unix to change it to unlimited or 4096.

Once database is created , remove the dbcontrol repository created by dbca for enterprise manager.

emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD <sysman password>

emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle12c -SYSMAN_PWD oracle12c

ALTER SYSTEM SET processes=300 SCOPE=SPFILE;ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

Shutdown immediate;

Startup;

2. Cloud Control installation.

Create directory to hold Middleware ( Web Logic,etc)

cd /home/oracle

mkdir Middleware

cd /home/oracle/stage

[oracle@cloud stage]$ export DISPLAY=10.254.101.208:0.0

[oracle@cloud stage]$ ./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 400 MB. Actual 98300 MB Passed

Checking swap space: must be greater than 150 MB. Actual 5951 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed

Page 3: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-09_10-59-46AM. Please wait ...[oracle@cloud stage]$

Page 4: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager
Page 5: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Click on warning row and ignore

Click OK and then Ignore

Page 6: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager
Page 7: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Note down the administrator passwords.

Page 8: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager
Page 9: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager
Page 10: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager
Page 11: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Carry out checks

Agent checks

cd /home/oracle/Middleware/agent/agent_inst/bin

./emctl status agent

[oracle@cloud bin]$ ./emctl status agent

Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0

Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.

---------------------------------------------------------------

Agent Version : 12.1.0.1.0

OMS Version : 12.1.0.1.0

Protocol Version : 12.1.0.1.0

Page 12: 12c cloud_control_installation Web view12/2/2012 · Once database is created , remove the dbcontrol repository created by dbca for enterprise manager. ... Oracle Enterprise Manager

Agent Home : /home/oracle/Middleware/agent/agent_inst

Agent Binaries : /home/oracle/Middleware/agent/core/12.1.0.1.0

Agent Process ID : 11855

Parent Process ID : 11783

Agent URL : https://cloud.control:3872/emd/main/

Repository URL : https://cloud.control:4901/empbs/upload

Started at : 2011-12-12 11:24:29

Started by user : oracle

Last Reload : (none)

Last successful upload : 2011-12-12 13:03:22

Last attempted upload : 2011-12-12 13:03:22

Total Megabytes of XML files uploaded so far : 1.45

Number of XML files pending upload : 0

Size of XML files pending upload(MB) : 0

Available disk space on upload filesystem : 70.67%

Collection Status : Collections enabled

Last attempted heartbeat to OMS : 2011-12-12 13:04:53

Last successful heartbeat to OMS : 2011-12-12 13:04:53

---------------------------------------------------------------

Agent is Running and Ready

[oracle@cloud bin]$ pwd

/home/oracle/Middleware/agent/agent_inst/bin

[oracle@cloud bin]$