Configure the EM of the non-default port (1521) of the listener

Source: Internet
Author: User

Em for configuring non-default listening PORT (1521) (※parameter name-SID and-PORT must be in uppercase)
Emca-config dbcontrol db-repos recreate-SID t11g-PORT 1715
Dynamic listening must be configured:
(You need to manually register listener for dynamic listeners with non-default port 1521)
Alter system set local_listener = t;

Configure the server's tns for dynamic listening:
(※When using Oracle Net Manager to test the service name, you must first save the network configuration and then click test)
C: \ ora11gR2 \ product \ 11.2.0 \ dbhome_1 \ NETWORK \ ADMIN
Tnsnames. ora
T =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = duzz) (PORT = 1715 ))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = t11gsrv)
)
)

View the listening status:
LSNRCTL> status
Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = duzz) (PORT = 1715 )))
LISTENER STATUS
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0-Production
Start Date: 28-1-2012 07:34:38
Normal operation time 0 days 2 hours 8 minutes 40 seconds
Tracking level off
Security ON: Local OS Authentication
SNMP OFF
Listener parameter file C: \ ora11gR2 \ product \ 11.2.0 \ dbhome_1 \ network \ admin \ listener. ora
Listener log file c: \ ora11gr2 \ diag \ tnslsnr \ duzz \ listener \ alert \ log. xml
Listener endpoint overview...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = duzz) (PORT = 1715 )))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (PIPENAME = \\\ pipe \ EXTPROC1715ipc )))
Service summary ..
The Service "CLRExtProc" contains one instance.
Instance "CLRExtProc", status UNKNOWN, contains one handler of this service...
The Service "t11g. world" contains one instance.
Instance "t11g", status READY, contains 1 handler of this service...
The Service "t11gXDB. world" contains one instance.
Instance "t11g", status READY, contains 1 handler of this service...
The Service "t11gsrv" contains one instance.
Instance "t11g", status UNKNOWN, contains 1 handler of this service...
Command executed successfully


Configure EM:
C: \ Documents ents and Settings \ Administrator> emca-config dbcontrol db-repos recreate-SID t11g-PORT 1715

EMCA started on 9:43:41
EM Configuration Assistant, 11.2.0.0.2 official version
Copyright (c) 2003,200 5, Oracle. All rights reserved.

Enter the following information:
Database Control configured for the Database t11g
You have selected to configure Database Control to manage the Database t11g
This operation will remove the existing configuration and default settings, and re-execute the configuration
Continue? [Yes (Y)/NO (N)]: y
The listener ORACLE_HOME [C: \ ora11gR2 \ product \ 11.2.0 \ dbhome_1]:
SYS user password:
DBSNMP user password:
Password of the SYSMAN User:
Password of the SYSMAN User: email address of the notification (optional ):
Notification sending (SMTP) server (optional ):
-----------------------------------------------------------------

The following settings have been specified:

Database ORACLE_HOME ...... C: \ ora11gR2 \ product \ 11.2.0 \ dbhome_1

Local host name ...... duzz
Listening program ORACLE_HOME .............. C: \ ora11gR2 \ product \ 11.2.0 \ dbhome_1
Listener port number ...... 1715
Database SID ...... t11g
Email Address of the notification ...............
Notification sending (SMTP) server ...............

-----------------------------------------------------------------
Continue? [Yes (Y)/NO (N)]: y
9:43:54 oracle. sysman. emcp. EMConfig perform
Information: The operation is being recorded in C: \ ora11gR2 \ export toollogs \ emca \ t11g \ emca_2012_01_28_09_43_41.log.
9:43:56 oracle. sysman. emcp. util. DBControlUtil stopOMS
Information: The Database Control is being stopped (this operation may take some time )...
9:43:57 oracle. sysman. emcp. EMReposConfig invoke
Information: deleting the EM archives. This operation may take some time )...
9:47:12 oracle. sysman. emcp. EMReposConfig invoke
Information: The archive has been deleted successfully.
9:47:13 oracle. sysman. emcp. EMReposConfig createRepository
Information: creating the EM archives (this operation may take some time )...
9:57:13 oracle. sysman. emcp. EMReposConfig invoke
Information: You have created a Data Archiving database.
13:43:21 oracle. sysman. emcp. EMReposConfig uploadConfigDataToRepository
Information: The configuration data is being uploaded to the EM archives (this operation may take some time )...
13:45:15 oracle. sysman. emcp. EMReposConfig invoke
Information: configuration data has been uploaded successfully.
2012-1-28 13:45:25 oracle. sysman. emcp. util. DBControlUtil configureSoftwareLib
Information: The software library has been configured successfully.
13:45:25 oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary
Information: deploying the pre-configuration file...
13:46:15 oracle. sysman. emcp. EMDBPostConfig configureSoftwareLibrary
Information: The pre-configuration file is successfully deployed.
2012-1-28 13:46:15 oracle. sysman. emcp. util. DBControlUtil secureDBConsole
Information: Protecting Database Control (this operation may take some time )...
2012-1-28 13:46:25 oracle. sysman. emcp. util. DBControlUtil secureDBConsole
Information: The Database Control is successfully protected.
2012-1-28 13:46:25 oracle. sysman. emcp. util. DBControlUtil startOMS
Information: Starting Database Control (this operation may take some time )...
13:47:11 oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
Information: The Database Control has been started successfully.
13:47:11 oracle. sysman. emcp. EMDBPostConfig configure mconfiguration
Information: >>>>>>>>>> Database Control URL is https: // duzz: 1158/em <
2012-1-28 13:47:15 oracle. sysman. emcp. EMDBPostConfig invoke
Warning:
* *********************** WARNING *************** *********

The management archive has been placed in security mode, in which Enterprise Manager data is encrypted. The encryption key is already in file C:/ora11gR2/product/11.2.0/dbhome_1/duzz_t11g/sysman/config/emkey. ora. Make sure to back up this file because encrypted data will not be available if this file is lost.

**************************************** *******************
The Enterprise Manager configuration has been completed successfully.
EMCA ended at 13:47:15

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.