Gridcontrol11.1.0.1 Installation Guide

Source: Internet
Author: User

Gridcontrol11.1.0.1 Installation Guide

Grid control 11.1.0.1 Installation Guide

Get started
System Version
[Root @ gridcontrol ~] # Lsb_release-
LSB Version: base-4.0-amd64: base-4.0-noarch: core-4.0-amd64: core-4.0-noarch: graphics-4.0-amd64: graphics-4.0-noarch: printing-4.0-amd64: printing-4.0-noarch:
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.5 (Santiago)
Release: 6.5
Codename: Santiago
Software Version: version needs to be matched
Jdk: jdk-6u24-linux-x64-rpm.bin
Weblogic: wls1032_generic
Gridcontrol: GridControl_11.1.0.1.0_Linux_x86-64_1of3 GridControl_11.1.0.1.0_Linux_x86-64_2of3GridControl_11.1.0.1.0_Linux_x86-64_3of3

Note that the/etc/hosts configuration must be in the IP address format and domain name format.
[Root @ gridcontrol rlwrap-0.37] # cat/etc/hosts
127.0.0.1 localhost. localdomain localhost
192.170.100.8 server8.com server8
192.170.100.2 server2.com server2
192.170.100.6 server6.com server6
192.170.100.12 gridcontrol.com gridcontrol

1. Install the emrep Database
Install the data. Next step, you can proceed. I will not talk about it here, but you need to modify the parameter value.
Alter system set log_buffer = 10485760 SCOPE = SPFILE;
Alter system set processses = 500 SCOPE = SPFILE;
Alter system set session_cached_cursors = 200 SCOPE = SPFILE;
Alter system set log_archive_dest_1 = 'location =/home/oracle/app/archive 'scope = spfile;
SELECT name FROM v $ datafile;
Alter database datafile '/u01/oracle/oradata/emrep/undotbs01.dbf' RESIZE 200 M;
Enable Archiving
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.

Total System Global Area 4275781632 bytes
Fixed Size 2235208 bytes
Variable Size 822084792 bytes
Database Buffers 3439329280 bytes
Redo Buffers 12132352 bytes
Database mounted.

SQL> alter database archivelog;

Database altered.

SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination/home/oracle/app/archive
Oldest online log sequence 3
Next log sequence to archive 5
Current log sequence 5
SQL> alter database open;

Database altered.
2. Install JDK. Note that JDK 1.6 must be used instead of jrocket (alas, I have turned around here)
Root User
Chmod 755 jdk-6u24-linux-x64-rpm.bin
/Jdk-6u24-linux-x64-rpm.bin
Then install the rpm in the unzipping.
Rpm-ivh *. rpm -- force -- nodeps

Set environment variables after installation
ORACLE_SID = emrep
ORACLE_BASE =/home/oracle/app
ORACLE_HOME = $ ORACLE_BASE/product/11.0.2/db_1
Export ORACLE_SID ORACLE_BASE ORACLE_HOME
PATH = $ PATH: $ ORACLE_HOME/bin: $ HOME/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin: /usr/bin:/root/bin
Export PATH
Export DISPLAY = 192.170.100.188: 0.0
Stty erase ^ h
Alias sqlplus = 'maid sqlplus'
Alias rman = 'rlwrap rman'

Export OMS_HOME = $ ORACLE_BASE/Middleware/oms11g
Export AGENT_HOME = $ ORACLE_BASE/Middleware/agent11g
Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/X11R6/lib: $ LD_LIBRARY_PATH
Export ORACLE_MIDDLEWARE_HOME = $ ORACLE_BASE/Middleware
Export WLS_HOME = $ ORACLE_BASE/Middleware/wlserver_10.3
Export WT_HOME = $ ORACLE_BASE/Middleware/Oracle_WT
Export JAVA_HOME =/usr/java/default
Export PATH = $ JAVA_HOME/bin: $ JAVA_HOME/jre/bin: $ PATH
Export CLASSPATH = $ JAVA_HOME/lib: $ JAVA_HOME/jre/lib

Check the java version.
[Oracle @ gridcontrol ~] $ Java-version
Java version "1.6.0 _ 24"
Java (TM) SE Runtime Environment (build 1.6.0 _ 24-b07)
Java HotSpot (TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
[Oracle @ gridcontrol ~] $

3. Install weblogic10.3.2. Note that this version is required.
Java-d64-jar wls1032_generic.jar


 

 

 

 

 

Do not run quickstart after installation.


4. Install gridcontrol 11.1.0.1


./RunInstaller

 

 

 

Install the missing package
Rpm-q \
Glibc \
Rng-utils \
Make \
Binutils \
Gcc \
Libaio \
Glibc-common \
Compat-libstdc ++-296 \
Libstdc ++ \
Libstdc ++-devel \
Setarch \
Sysstat \
Compat-db | grep "not installed"
[Root @ gridcontrol ~] # Rpm-ivh *. rpm -- force -- nodeps
Warning: compat-db-4.6.21-15.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Warning: rng-utils-2.0-1.14.1.fc6.x86_64.rpm: headv3 DSA/SHA1 Signature, key ID 37017186: NOKEY
Preparing... ######################################## ### [100%]
1: setarch ####################################### #### [20%]
2: rng-utils ##################################### ###### [40%]
3: compat-db ##################################### ###### [60%]
4: compat-db ##################################### ###### [80%]
5: compat-libstdc ++-296 ################################# ######### [1, 100%]

 

 

 


Delete the previous em
[Oracle @ gridcontrol 11g_grid_control_linux_x86-64] $ emca-deconfig dbcontrol db-repos drop

Started emca at Jun 3, 2015 9:00:35
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003,201 1, Oracle. All rights reserved.

Enter the following information:
Database SID: emrep
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Password for SYSMAN user:
----------------------------------------------------------------------
WARNING: While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [Yes (Y)/no (N)]: y
Jun 3, 2015 9:00:45 oracle. sysman. emcp. EMConfig perform
INFO: This operation is being logged at/home/oracle/app/export toollogs/emca/emrep/emca_2015_06_03_21_00_34.log.
Jun 3, 2015 9:00:45 oracle. sysman. emcp. util. GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked

Jun 3, 2015 9:00:45 oracle. sysman. emcp. ParamsManager checkListenerStatusForDBControl
WARNING: Error initializing SQL connection. SQL operations cannot be specified med
Jun 3, 2015 9:00:45 oracle. sysman. emcp. EMDBPreConfig configure mdeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be stored med. Some of the possible reasons may be:
1) EM is configured with different hostname then physical host. Set environment variable ORACLE_HOSTNAME = And re-run EMCA script
2) ORACLE_HOSTNAME is set. Unset it and re-run EMCA script
Jun 3, 2015 9:00:45 oracle. sysman. emcp. EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while )...
Jun 3, 2015 9:02:50 oracle. sysman. emcp. EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
Finished emca at Jun 3, 2015 9:02:50

 

 

 

 

 

Script executed by root
/Home/oracle/app/Middleware/oms11g/allroot. sh

 

 

 

 

 

 

This installation is complete

Agent deployment

Method 1:

Copy the agentDownload. linux_x64 file of the grid control host to the client.

Grid control installation path:/home/oracle/app/Middleware/oms11g/sysman/agent_download/11.1.0.1.0/linux_x64

Scp/home/oracle/app/Middleware/oms11g/sysman/agent_download/11.1.0.1.0/linux_x64/agentDownload. linux_x64 server2:/home/u01/app/oracle/agent

 

Run the command on the client. (ensure that the grid process and the database used are online)

Chmod + x agentDownload. linux_x64

Export PATH = $ ORACLE_HOME/jdk/bin: $ ORACLE_HOME/bin: $ PATH

./AgentDownload. linux_x64-B/u02/agent-m gridcontrol.com-r 4900-y

Change the password and unlock the dbsnmp user of the two databases.

Alter user dbsnmp identified by oracle account unlock;

 

Method 2:

Ssh between nodes needs to be configured

Su-oracle
-- Create a hidden directory
Mkdir ~ /. Ssh
-- Only visible to you
Chmod 700. ssh
Cd. ssh
-- Touch creates an empty file.
Touch authorized_keys
-- The generated key is also executed in server2.
/Usr/bin/ssh-keygen-t dsa
-- Add the content in id_dsa.pub to the end of authorized_keys.
Cat id_dsa.pub> authorized_keys
-- Add the public key in server2 to the end of authorized_keys
Ssh server2 cat. ssh/id_dsa.pub> authorized_keys
-- Copy to server2
Scp authorized_keys server2 :~ /. Ssh

 

 

 

 

Then, complete the next step.

View agent status: add the agent directory

/Home/u01/app/oracle/agent/agent11g/bin/emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996,201 0 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version: 11.1.0.1.0
OMS Version: 11.1.0.1.0
Protocol Version: 11.1.0.0.0
Agent Home:/home/u01/app/oracle/agent/agent11g
Agent binaries:/home/u01/app/oracle/agent/agent11g
Agent Process ID 9904
Parent Process ID: 9882
Agent URL: https://server2.com: 4903/emd/main/
Repository URL: https://gridcontrol.com: 4903/em/upload
Started at: 17:37:36
Started by user: oracle
Last Reload: 17:56:31
Last successful upload: 18:08:02
Total Megabytes of XML files uploaded so far: 3.99
Number of XML files pending upload: 0
Size of XML files pending upload (MB): 0.00
Available disk space on upload filesystem: 43.83%
Last successful heartbeat to OMS: 18:08:44
---------------------------------------------------------------
Agent is Running and Ready

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.