Sunteți pe pagina 1din 1

sqlplus

username:sys as sysdba
Password:

SQL > select name, cdb, con_id from v$database;

SQL> select instance_name, status, con_id from v$instance;

### verfiy that the "dispatchers" parameter in the initialization parameter file
includes the
"PROTOCOL=TCP" attribute.

SQL> show parameter dispatchers;

### Execute the DBMS_XDB.setHTTPSPort procedure


to set the HTTPS port 5500 and the DBMS_XDB.setHTTPPort
procedure to set the HTTP port 5510 for EM Express

SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500);

SQL> exec DBMS_XDB_CONFIG.SETHTTPPORT(5510);

### Login to Database EM Express Home Page.

https://192.168.100.69:5500/em

https://192.168.100.69:5510/em

### Configuring OEM Express for PDB "PDB1"

SQL > alter session set container=PDB1;

1.--Display all pluggable databases and their status

SQL> select NAME, OPEN_MODE from v$pdbs;

2.-- Alter the session and set container as PDB1

SQL> alter session set container=PDB1;

3.--Execute the DBMS_XDB.setHTTPSPort procedure


to set the HTTPS port 5501 and the DBMS_XDB.setHTTPPort
procedure to set the HTTP port 5511 for EM Express

SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5501);

SQL> exec DBMS_XDB_CONFIG.SETHTTPPORT(5511);

4.--Login to Database EM Express home page.

https://192.168.100.69:5501/em
https://192.168.100.69:5511/em

SQL> select DBMS_XDB_CONFIG.GETHTTPPORT() from dual;

S-ar putea să vă placă și