![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1635661.1 : How to determine the currently active Oracle Private Cloud Appliance (PCA)/Virtual Compute Appliance (VCA) master Management Node
In this Document
Applies to:Private Cloud Appliance - Version 1.0.1 and laterOracle Virtual Compute Appliance X3-2 Hardware - Version All Versions and later Linux x86-64 GoalThis article describes how to determine the current Oracle Private Cloud Appliance (PCA) master Management Node. SolutionPrior to version 2.0.5, Oracle Private Cloud Appliance (PCA) was formerly known as Oracle Virtual Compute Appliance (VCA). [root@ovcamn05r1 ~]# head /etc/ovca-info
==== Begin build info ==== date: 2015-06-17 release: 2.0.5 build: 94 ... [root@ovcamn05r1 sbin]# ovca* pca* lrwxrwxrwx. 1 root root 9 Aug 3 00:39 ovca-admin -> pca-admin lrwxrwxrwx. 1 root root 16 Aug 3 00:39 ovca-check-master -> pca-check-master -rwxr-xr-x. 1 root root 2911 Jun 9 10:42 ovca-daemon lrwxrwxrwx. 1 root root 8 Aug 3 00:40 ovca-diag -> pca-diag lrwxrwxrwx. 1 root root 10 Aug 3 00:39 ovca-helper -> pca-helper lrwxrwxrwx. 1 root root 11 Aug 3 00:39 ovca-node-db -> pca-node-db -rwxr-xr-x. 1 root root 3023 Jun 9 10:42 ovca-remote-rpc -rwxr-xr-x. 1 root root 1209 Jun 9 10:42 ovca-rpc lrwxrwxrwx. 1 root root 19 Aug 3 00:39 ovca-update-password -> pca-update-password lrwxrwxrwx. 1 root root 11 Aug 3 00:39 ovca-updater -> pca-updater -rwxr-xr-x. 1 root root 860 Jun 9 10:42 pca-admin -rwxr-xr-x. 1 root root 2471 Jun 9 10:42 pca-backup -rwxr-xr-x. 1 root root 352 Jun 9 10:42 pca-check-master -rwxr-xr-x. 1 root root 650 Jun 9 10:42 pca-dhcpd -rwxr-xr-x. 1 root root 27296 Jun 9 10:42 pca-diag -rwxr-xr-x. 1 root root 14062 Jun 9 10:42 pca-factory-init -rwxr-xr-x. 1 root root 5835 Jun 9 10:42 pca-helper -rwxr-xr-x. 1 root root 6095 Jun 9 10:42 pca-node-db -rwxr-xr-x. 1 root root 4165 Jun 9 10:42 pca-redirect -rwxr-xr-x. 1 root root 4188 Jun 9 10:42 pca-update-password -rwxr-xr-x. 1 root root 7135 Jun 9 10:42 pca-updater -rwxr-xr-x. 1 root root 24119 Jun 9 10:42 pca-vm-tool The following outlines several methods for users to identify the currently active Oracle PCA master Management Node. 1. Connect to Oracle PCA Virtual IP (VIP)For the purpose of High Availability (HA), an Oracle PCA environment comprises two Management Nodes (MNs) whereby:
The floating Virtual IP (VIP) used to access PCA management services (Oracle WebLogic Server, OVCA Dashboard, Oracle VM Manager, etc.) is only ever brought up on the active master Management Node. Note that in the event of maintenance or failure, master Management Node role failover from the active to standby Management Node may take several minutes to complete.
2. Run pca-check-master scriptRun the /usr/sbin/pca-check-master script on either PCA Management Node to identify the currently active master Management Node e.g.: [root@ovcamn06r1 ~]# /usr/sbin/pca-check-master
NODE: 192.168.4.4 MASTER: True [root@ovcamn06r1 ~]# [root@ovcamn05r1 ~]# /usr/sbin/pca-check-master
NODE: 192.168.4.3 MASTER: False [root@ovcamn05r1 ~]# 3. Existence of /dlm/ovca/master fileThe currently active master Management Node can also be determined by the existence of the /dlm/ovca/master file e.g. [root@ovcamn06r1 ~]# ls -l /dlm/ovca/master
-rwx------ 1 root root 64 Mar 11 19:44 /dlm/ovca/master [root@ovcamn06r1 ~]# [root@ovcamn05r1 ~]# ls -l /dlm/ovca/master
ls: cannot access /dlm/ovca/master: No such file or directory [root@ovcamn05r1 ~]# Referenceshttp://docs.oracle.com/cd/E40371_01/E40647/html/admin-intro-ha.htmlAttachments This solution has no attachment |
||||||||||||||||||||||
|