Asset ID: |
1-79-1594223.1 |
Update Date: | 2018-05-01 |
Keywords: | |
Solution Type
Predictive Self-Healing Sure
Solution
1594223.1
:
How To Stop and Start the Entire Exalogic Control Stack In An Exalogic EECS v2.0.6.0.0 and later Virtual releases
Related Items |
- Oracle Exalogic Elastic Cloud Software
- Enterprise Manager Ops Center
- Exalogic Elastic Cloud X5-2 Eighth Rack
|
Related Categories |
- PLA-Support>Eng Systems>Exalogic/OVCA>Oracle Exalogic>MW: Exalogic Core
|
In this Document
Applies to:
Enterprise Manager Ops Center - Version 12cR3 (12.3) to 12cR3 (12.3) [Release 12.0]
Exalogic Elastic Cloud X5-2 Eighth Rack - Version X5 to X5 [Release X5]
Oracle Exalogic Elastic Cloud Software - Version 2.0.6.0.0 and later
Linux x86-64
Oracle Virtual Server(x86-64)
The described procedure in this document is only applicable to EECS v2.0.6.x.x Virtual Environments and will not work for other Exalogic versions. To carry out these steps on EECS v2.0.4.0.x Virtual releases, please see the following Documents:
1. Document ID: 1501228.1 - How To Start A Stopped Exalogic Control Stack In An Exalogic Virtual Environment
2. Document ID: 1564397.1 - Full Stop/Start Sequence For Exalogic Virtualized Environment
Purpose
This document describes how to stop and start the entire Exalogic Control stack in EECS v2.0.6.0.0.
Scope
Details
Exalogic Control vServer Distribution
The number of VMs that make up the Exalogic Control stack has been reduced from five in EECS 2.0.4.0.x to three in 2.0.6.0.0
The Exalogic Control stack in EECS 2.0.6.0.0 consists of the following VMs:
- Two Proxy Controller VMs : PC2 & PC1
- Exalogic Control VM: This VM hosts the Enterprise Controller (EC1), Oracle VM Manager (OVMM), and Oracle Virtual Assembly Builder (OVAB) components. The same VM also hosts the Oracle database (DB) used by EM Ops Center and Oracle VM Manager. In earlier releases, each of these components was hosted on a dedicated VM.
Note:
In EECS v2.0.6.0.0, the Exalogic Control VMs are distributed over fewer compute nodes: two nodes in the case of a fresh EECS v2.0.6.0 installation, and three nodes if you upgrade from EECS v2.0.4.x to 2.0.6.0.0
Exalogic Control Component
|
Exalogic Control vServer “Simple” Name
|
Compute node (default) hosting the Exalogic Control vServer
|
Fresh installation
|
Upgrade
|
Fresh installation
|
Upgrade
|
DB, OVMM, and EC
|
ExalogicControl
|
ExalogicControlOVMM
|
cn01
|
cn01
|
PC1
|
ExalogicControlOpsCenterPC1
|
ExalogicControlOpsCenterPC1
|
cn01
|
cn03
|
PC2
|
ExalogicControlOpsCenterPC2
|
ExalogicControlOpsCenterPC2
|
cn02
|
cn02
|
Exalogic Control vServer Identification
Exalogic Control vServers can be identified as follows. On the master compute node (first node of the rack), execute the following command to identify the path to the vm.cfg file for each of the Exalogic Control Stack core vServers:
- Fresh EECS 2.0.6.0.0 install:
root@elorl03cn01 ~]# find /OVS -wholename '*VirtualMachines/*/vm.cfg' -exec grep -H 'simple_' {} \;|grep Exalogic
/OVS/Repositories/0004fb0000030000209678530ae89eb7/VirtualMachines/0004fb000006000079ec6d30f251addb/vm.cfg:OVM_simple_name = 'ExalogicControl'
/OVS/Repositories/0004fb0000030000209678530ae89eb7/VirtualMachines/0004fb0000060000f18dd947707040f0/vm.cfg:OVM_simple_name = 'ExalogicControlOpsCenterPC1'
/OVS/Repositories/0004fb0000030000209678530ae89eb7/VirtualMachines/0004fb0000060000ca43c340c7c165d7/vm.cfg:OVM_simple_name = 'ExalogicControlOpsCenterPC2'
root@elorl03cn01 ~]#
- Upgraded (from EECS 2.0.4.x ) EECS 2.0.6.0.0 install:
[root@tlv04cn01 ~]# find /OVS -wholename '*VirtualMachines/*/vm.cfg' -exec grep -H 'simple_' {} \;|grep Exalogic
/OVS/Repositories/0004fb000003000046192057794d6d5f/VirtualMachines/0004fb00000600002089fc94fb7e61f0/vm.cfg:OVM_simple_name = 'ExalogicControlOpsCenterPC1'
/OVS/Repositories/0004fb000003000046192057794d6d5f/VirtualMachines/0004fb00000600002bc872940f690a75/vm.cfg:OVM_simple_name = 'ExalogicControlOpsCenterPC2'
/OVS/Repositories/0004fb000003000046192057794d6d5f/VirtualMachines/0004fb0000060000403b9aed6824cbb8/vm.cfg:OVM_simple_name = 'ExalogicControlOVMM'
[root@tlv04cn01 ~]#
Note both the full path and UUID of each vServer entry and for later use (the UUID will be the name of the parent directory containing the vm.cfg file).
Stopping and Starting the Entire Exalogic Control stack
Stopping the whole Exalogic Control stack
To stop the Exalogic Control stack, complete the following steps:
-
SSH to the PC1 vServer and run the following commands:
# /opt/sun/xvmoc/bin/proxyadm stop -w -v
# shutdown -h now
Note:
Note the compute node (e.g. compute node 03) on which the PC1 vServer was running.
-
SSH to the PC2 vServer and run the following command:
# /opt/sun/xvmoc/bin/proxyadm stop -w -v
# shutdown -h now
Note:
Note the compute node (e.g. compute node 02) on which the PC2 vServer was running.
-
SSH to the Exalogic Control vServer and run the following commands:
# /opt/sun/xvmoc/bin/ecadm stop -w -v
# service ovmm stop
# service oracle-db stop
# shutdown -h now
Note: Note the compute node (e.g. compute node 01) on which the Exalogic Control vServer was running with services: DB, EC1, OVAB, and OVMM
Starting the whole Exalogic Control stack
In order to start any of the Exalogic Control stack vServers, you need to connect the respective nodes hosting them.
Connect to the compute node that run each Exalogic Control vServer, then start each core vServer with the command below.
# xm create <path to vm.cfg>
Note:
For the <path to vm.cfg> , you can use the captured details from the section Exalogic Control vServer Identification. For example to start the Exalogic Control vServer:
# xm create 0004fb000006000079ec6d30f251addb/vm.cfg
Make sure that the path to the vm.cfg is relative to the position where you are running the command.
For instance if you were at "/" then the command would be something like:
# xm create /OVS/Repositories/0004fb00000300006d6e02d86039a86e/VirtualMachines/0004fb000006000079ec6d30f251addb/vm.cfg
-
Start the Exalogic Control vServer. Ensure that it is started on the same node on which it was running earlier.
-
SSH to the Exalogic Control vServer and ensure that the required services are running:
-
Ensure that the Oracle Database service is running:
Note to Support: The command "service oracle-db status" do not work in 2.0.6.0.0. There is an Enhancement Request filed ( Bug 17827606/ Bug 17827529 ) to get this backported to 2.0.6.0.x. Once this is backported, the command will be available.
Find out the status of the service:
# service oracle-db status
Till the Enhancement is fixed, you can verify if the 'oracle-db' service configured to start runlevel or not and validate its process is running or not, as follows:
[root@elorl03ec01-adm ~]# /sbin/chkconfig --list | grep oracle-db
oracle-db 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@elorl03ec01-adm ~]# ps -ef | grep pmon
oracle 8509 1 0 07:54 ? 00:00:00 ora_pmon_elctrldb
root 10948 14119 0 10:09 pts/2 00:00:00 grep pmon
[root@elorl03ec01-adm ~]#
If the 'ora_pmon_elctrldb' process is not running, then start it with the next step.
If the service is not running, run the following command:
# service oracle-db start
-
Ensure that the OVMM (Oracle VM Manager) service is running:
Find out the status of the service:
# service ovmm status
If the service is not running, run the following command:
# service ovmm start
-
Ensure that the OVAB (Oracle Virtual Assembly Builder) service is running. This step is applicable only to Exalogic version until Jan 2017 PSU (i.e. 2.0.6.2.170117) and lower, for latest Exalogic releases 2.0.6.2.170418 and 2.0.6.3.x, this step is not applicable.
Note:
We will not be supporting Oracle Virtual Assembly Builder (OVAB) on the 2.0.6.3.0 Exalogic release or future releases of Exalogic Elastic Cloud Software. Even though we will continue to support customers who are running OVAB on Exalogic versions up until 2.0.6.2.170418, our recommendation to customers is not to adopt OVAB on Exalogic henceforth, if they desire to be aligned with the Exalogic Elastic Cloud Software Roadmap. Please reach out to Support if you are an existing Exalogic customer using OVAB and have questions on this roadmap.
Please review Document ID : 1965704.1 - Direction For Oracle Virtual Assembly Builder (OVAB) On Exalogic
For Exalogic running on Jan 2017 PSU or lower , find out the status of the service on Exalogic version :
# service ovab status
If the service is not running, run the following command:
# service ovab start
-
Ensure that the EC1 (Enterprise Controller) service is running:
Find out the status of the service:
# /opt/sun/xvmoc/bin/ecadm status
If the service is offline
, run the following command:
# /opt/sun/xvmoc/bin/ecadm start -w -v
-
Start the PC2 vServer. Ensure that it is started on the same node on which it was running earlier. PC2 can be started using xm create command as follows:
xm create <path to vm.cfg of PC2 vserver>
- SSH to the PC2 vServer and ensure that the PC2 service is running:
Find out the status of the service:
# /opt/sun/xvmoc/bin/proxyadm status
If the service is offline
, run the following command:
# /opt/sun/xvmoc/bin/proxyadm start -w -v
-
Repeat the above steps 3 and 4 for PC1.
References
<NOTE:1501228.1> - How To Start A Stopped Exalogic Control Stack In EECS v2.0.1.0.x and EECS v2.0.4.0.x Virtual Environments
<NOTE:1564397.1> - Full Stop/Start Sequence For Exalogic Virtualized Environment
Attachments
This solution has no attachment