Configuring oracle enterprise manager express 12c




1.TO configure EM express and connect to the database using EM database Express the Listener should be up an running.


[oracle@pavanorcl101 ~]$ lsnrctl status

LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 17-OCT-2017 15:17:47

Copyright (c) 1991, 2014, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pavanorcl101.mydomain.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date                17-OCT-2017 15:17:22
Uptime                    0 days 0 hr. 0 min. 25 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/12.1.0.2/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/pavanorcl101/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pavanorcl101.mydomain.com)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully



2.check whelther the HTTP is set and not by using the below command


Execute dbms_xdb_config.gethttpport procedure to set the HTTP port


SQL>  select dbms_xdb_config.gethttpport() from dual;

DBMS_XDB_CONFIG.GETHTTPPORT()
-----------------------------
                            0


3. If the HTTP is not yet set, execute the below procedure:

SQL> exec dbms_xdb_config.sethttpport(8080);

PL/SQL procedure successfully completed.



SQL> select dbms_xdb.gethttpport() from dual;

DBMS_XDB.GETHTTPPORT()
----------------------
                  8080


4.Use the “alter system register” Oracle command. PMON process wakes up at every 60 seconds and provide information to the listener. If any problem arises and your PMON process fails then it's not possible to register information to listener periodically.In this case you can do 'Manual service registration' using command:

ALTER SYSTEM REGISTER;

This command forces the registration of database information to the listener.


SQL> alter system register;

System altered.



SQL> alter system set shared_servers=5 scope=both;

System altered.




SQL> show parameter dispatcher;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
dispatchers                          string      (PROTOCOL=TCP) (SERVICE=orclXD
                                                 B)
max_dispatchers                      integer






[oracle@pavanorcl101 ~]$ lsnrctl status

LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 17-OCT-2017 15:22:55

Copyright (c) 1991, 2014, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=pavanorcl101.mydomain.com)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date                17-OCT-2017 15:17:22
Uptime                    0 days 0 hr. 5 min. 33 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/12.1.0.2/dbhome_1/network/admin/listener.oa
Listener Log File         /u01/app/oracle/diag/tnslsnr/pavanorcl101/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pavanorcl101.mydomain.com)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=pavanorcl101.mydomain.com)(PORT=8081))(Security(my_wallet_directory=/u01/app/oracle/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW)
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pavanorcl101.mydomain.com)(PORT=8080))(Presentaton=HTTP)(Session=RAW))
Services Summary...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully


5.Grant EM_EXPRESS_BASIC role to pavan in order to make pavan to login to the EM express:


SQL> grant EM_EXPRESS_BASIC to pavan;

Grant succeeded.


#################################################################################
link to connnect to OEM express:

http://192.168.56.102:8080/em/login

or

http://pavanorcl101.mydomain.com:8080/em/login



login as: pavan
password:##pavan_password##
#################################################################################

Comments

Popular posts from this blog

Oracle Database Client(12.1.0.2.0) Installation for Microsoft Windows(x64)

configuring goldengate