Oracle Enterprise Manager Cloud Control 12c Kapatma Açma

Merhaba Arkadaşlar,

Bu yazımda sizlere Oracle Enterprise Manager Cloud Control 12c yi kapatma açma adımlarını anlatıyor olacağım. Cloud Control 12c yi bilmeyenler için bu yazımı okumalarını tavsiye ederim.

 

Cloud Control 12c yi bazen herhangi bir sebepten dolayı restart etmeniz gerekebilir. Bazen sapıtabiliyor 😉 bazen maintenance amaçlı restart vs gibi durumlar için gerekebilir. Aşağıdaki adımlarla düzgün bir şekilde kapatıp açabilirsiniz.

 

Önce Agent stop edilir.

[oracle@deveci01 bin]$ ./emctl stop agent
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.

Sonra Tüm OMS Servisleri aşağıdaki gibi stop edilir.

[oracle@deveci01 bin]$
[oracle@deveci01 bin]$ emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down

 

OMS Stop olduktan sonra OMS nin kullandığı Database Aşağıdaki gibi kapatılır.

[oracle@deveci01 bin]$
[oracle@deveci01 bin]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.1.0 Production on Fri Jun 27 15:48:43 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.
/rdbms/admin/spreport.sql

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options



[oracle@deveci01 bin]$ lsnrctl stop

LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 27-JUN-2014 15:49:11

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=deveci01.mehmetsalih.com)(PORT=1521)))
The command completed successfully
[oracle@deveci01 bin]$


Böylece OMS ye ait tüm servisler kapatıldı, işimiz bittikten sonra tekrar açmak için aşağıdaki adımlar kullanılır.

[oracle@deveci01 bin]$ lsnrctl start

LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 27-JUN-2014 15:49:34

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

Starting /u01/app/oramon/product/12.1.0/db1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 12.1.0.1.0 - Production
System parameter file is /u01/app/oramon/product/12.1.0/db1/network/admin/listener.ora
Log messages written to /u01/app/oramon/diag/tnslsnr/deveci01/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=deveci01.mehmetsalih.com)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=deveci01.mehmetsalih.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.1.0 - Production
Start Date 27-JUN-2014 15:49:34
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oramon/product/12.1.0/db1/network/admin/listener.ora
Listener Log File /u01/app/oramon/diag/tnslsnr/deveci01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=deveci01.mehmetsalih.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@deveci01 bin]$


Veritabanı açılır.

[oracle@deveci01 bin]$
[oracle@deveci01 bin]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.1.0 Production on Fri Jun 27 15:49:38 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 3256942592 bytes
Fixed Size 2293640 bytes
Variable Size 1744830584 bytes
Database Buffers 1493172224 bytes
Redo Buffers 16646144 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
[oracle@deveci01 bin]$


Şimdi Tüm OMS Servisleri aşağıdaki gibi açılır.

 

[oracle@deveci01 bin]$ emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
[oracle@deveci01 bin]$

 

Açıldıktan sonra Servis aşağıdaki gibi kontrol edilir.

[oracle@deveci01 bin]$
[oracle@deveci01 bin]$
[oracle@deveci01 bin]$ emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : deveci01.mehmetsalih.com
HTTP Console Port : 7788
HTTPS Console Port : 7802
HTTP Upload Port : 4889
HTTPS Upload Port : 4903
EM Instance Home : /u01/app/oramon/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oramon/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://deveci01.mehmetsalih.com:7802/em
Upload URL: https://deveci01.mehmetsalih.com:4903/empbs/upload

WLS Domain Information
Domain Name : GCDomain
Admin Server Host : deveci01.mehmetsalih.com
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: deveci01.mehmetsalih.com
WebTier is Up
Oracle Management Server is Up
[oracle@deveci01 bin]$


Gerektiğinde emcli ile Cloud control e aşağıdaki gibi login olunabilir.

[oracle@deveci01 bin]$ ./emcli login -username='sysman'
Enter password :

Login successful

 

Böylece bu yazınında sonuna gelmiş bulunmaktayım bir sonraki yazıda görüşmek dileğiyle esen kalın…

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

 

Oracle Exadata SQL Server Goldengate Weblogic EBS ve Linux konusunda aşağıdaki konularda 7×24 Uzman Danışmanlara yada Eğitimlere mi İhtiyacınız var [email protected] adresine mail atarak Bizimle iletişime geçebilirsiniz.

– Oracle Veritabanı Danışmanlığı
– Oracle Veritabanı Bakım ve Destek
– Exadata Danışmanlığı
– Exadata Bakım ve Destek
– SQL Server Veritabanı Danışmanlığı
– SQL Server Veritabanı Bakım ve Destek
– Goldengate Danışmanlığı
– Goldengate Bakım ve Destek
– Linux Danışmanlığı
– Linux Bakım ve Destek
– Oracle EBS Danışmanlığı
– Oracle EBS Bakım ve Destek
– Weblogic Danışmanlığı
– Weblogic Bakım ve Destek
– Oracle Veritabanı Eğitimleri
– Oracle VM Server Danışmanlığı
– Oracle VM Server Bakım ve Destek
– Oracle EPPM Danışmanlığı
– Oracle EPPM Bakım ve Destek
– Oracle Primavera Danışmanlığı
– Oracle Primavera Bakım ve Destek
– Oracle Eğitimleri
– SQL Server Eğitimleri
– Goldengate Eğitimleri
– Exadata Eğitimleri
– Linux Eğitimleri
– Oracle EBS Eğitimleri
– Oracle VM Server Eğitimleri
– Weblogic Eğitimleri
– Oracle EPPM Eğitimleri
– Oracle Primavera Eğitimleri

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *