Archive

Archive for March, 2012

12c Cloud Control: How to Modify the Password for SYSMAN

March 29, 2012 Leave a comment

If the current SYSMAN password is known


1. Stop all the OMS:

cd <OMS_HOME>/bin
emctl stop oms
Execute the same command on all the OMS machines including the primary OMS machine. Do not include '-all' as the Admin Server needs to be up during this operation.

2. Modify the SYSMAN password:

cd <OMS_HOME>/bin
emctl config oms -change_repos_pwd

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:
cd <OMS_HOME>/bin
emctl stop oms -all
emctl start oms

If the current SYSMAN password is unknown but the password has not been changed manually at the Database


1. Stop all the OMS:

cd <OMS_HOME>/bin
emctl stop oms
Execute the same command on the primary OMS machine as well. Do not include '-all' as the Admin Server needs to be up during this operation.

2. Modify the SYSMAN password:

cd <OMS_HOME>/bin
emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <sys user password> -new_pwd <new sysman password>

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:

cd <OMS_HOME>/bin
emctl stop oms -all
emctl start oms

Categories: cloud control1 2c

Add a second port to SCAN Listener

March 21, 2012 9 comments

1) check the scan listener status

make sure the ORACLE_HOME is set to the GRID_HOME


oracle@rac1:>lsnrctl stat LISTENER_SCAN3

LSNRCTL for HPUX: Version 11.2.0.2.0 - Production on 21-MAR-2012 15:39:52

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_SCAN3
Version                   TNSLSNR for HPUX: Version 11.2.0.2.0 - Production
Start Date                21-MAR-2012 12:20:20
Uptime                    0 days 3 hr. 19 min. 32 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/11.2.0.2/grid/network/admin/listener.ora
Listener Log File         /u01/app/11.2.0.2/grid/log/diag/tnslsnr/cruz/listener_scan3/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN3)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.223.61)(PORT=1521)))
Services Summary...
Service "SYSLET" has 2 instance(s).
Instance "SYSLET1", status READY, has 1 handler(s) for this service...
Instance "SYSLET2", status READY, has 1 handler(s) for this service...
The command completed successfully

2) we can see the scan is listening on port 1521, now let’s add second port


oracle@rac1:> srvctl modify scan_listener -p “TCP:1521/TCP:1522″

3) stop and start the scan listener to get the new value in place


oracle@rac1:>srvctl stop scan_listener
oracle@rac11:>srvctl start scan_listener

4) check the scan listener status again


oracle@rac1:>lsnrctl stat LISTENER_SCAN3

LSNRCTL for HPUX: Version 11.2.0.2.0 - Production on 21-MAR-2012 15:39:52

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_SCAN3
Version                   TNSLSNR for HPUX: Version 11.2.0.2.0 - Production
Start Date                21-MAR-2012 12:20:20
Uptime                    0 days 3 hr. 19 min. 32 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/11.2.0.2/grid/network/admin/listener.ora
Listener Log File         /u01/app/11.2.0.2/grid/log/diag/tnslsnr/cruz/listener_scan3/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN3)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.223.61)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.223.61)(PORT=1521)))
Services Summary...
Service "SYSLET" has 2 instance(s).
Instance "SYSLET1", status READY, has 1 handler(s) for this service...
Instance "SYSLET2", status READY, has 1 handler(s) for this service...
The command completed successfully

Categories: Oracle Rac