اگر در مراحل deployment add host در Oracle Cloud 13 یا Oracle Cloud 12

ERROR: The Oracle Management Server (OMS) host and port specified via OMS_HOST & EM_UPLOAD_PORT is not available.
ERROR: The Oracle Management Server (OMS) host and port specified via
OMS_HOST & EM_UPLOAD_PORT is not available.Pass in a valid hostname
and port number for the OMS to successfully deploy the agent.

با خطای بالا مواجه شدید موارد زیر را مد نظر قرار بدید و حتماً بررسی کنید :

 

1- بررسی وضعیت OMS :

 

[oracle@OMS ~]$ $OMS_HOME/bin/emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up BI Publisher Server is Down
BI Publisher is disabled, to enable BI Publisher on this host, use the 'emctl config oms -enable_bip' command

 

 

 

OMS بالا است.

2- ping OMS :

[oracle@OMS ~]$ $OMS_HOME/bin/emctl status oms
unknown host OMS 
[oracle@jystdrac1 ADATMP_2018-01-23_13-38-45-PM]$ ping 192.168.1.88 
PING 192.168.1.88 (192.168.1.88) 56(84) bytes of data.
64 bytes from 192.168.1.88: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 192.168.1.88: icmp_seq=2 ttl=64 time=0.615 ms

 

3- بررسی /etc/hosts/ :

#OMS
192.168.1.88 OMS
 
 

4-بررسی wget :

wget http://192.168.1.88:4903/empbs/genwallet
یا

wget https://192.168.1.88:4903/empbs/genwallet

یا

wget http://OMS:4903/empbs/genwallet

 

 
[oracle@jystdrac1 ~]$ wget http://OMS:4903/empbs/genwallet
--2018-01-23 16:02:03--  http://oms:4903/empbs/genwallet
Resolving oms... 192.168.1.88
Connecting to oms|192.168.1.88|:4903... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
--2018-01-23 16:02:04-- (try: 2) http://oms:4903/empbs/genwallet 
Connecting to oms|192.168.1.88|:4903... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2018-01-23 16:02:06-- (try: 3) http://oms:4903/empbs/genwallet 
Connecting to oms|192.168.1.88|:4903... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

 

 

5- بررسی مجدد پورت های باز Cloud Control

6- در صورت بر قرار بوده شرایط فوق و حل نشدن مشکل مسیر deploy را حذف و مجدد راه اندازی را انجام بدید.