Re: OEM 12c new install emcli question

  • From: Chris Taylor <christopherdtaylor1994@xxxxxxxxx>
  • To: Peter Sharman <pete.sharman@xxxxxxxxxx>
  • Date: Thu, 12 Nov 2015 15:03:20 -0600

Well, it sounds like the surgery went well :)

Yeah, I'm not sure what's going on. The documentation for EM 12.1 makes it
sound like "emcli get_ca_info" should *just work. *But it doesn't work.
And the documentation runs you around in circles.
Now, due to the browser updates that have gone out, the browsers will block
SSL access to the Administration URL after the initial install as Weblogic
10.3.6 uses a SSL v2/v3 and TLS 1.0. SSL v2/v3 is on its way out, and we
need TLS 1.2 (I think it is).



On Thu, Nov 12, 2015 at 1:28 PM, Peter Sharman <pete.sharman@xxxxxxxxxx>
wrote:

If memory serves me correctly (which is more than usually dubious the day
after surgery!) that emcli help output Chris posted was what you get before
running emcli setup? My emcli help command returns a lot more than that on
12.1.0.5. But just to show the incredibly useful output on that particular
verb:



bash-4.1$ emcli help | grep get_ca_info

get_ca_info -- Display the info about the Certificate Authorities



Told you it was useful! J



Pete

[image: Oracle logo]

Pete Sharman
Database Architect, DBaaS / DBLM
Enterprise Manager Product Suite
33 Benson Crescent CALWELL ACT 2905 AUSTRALIA

Phone: +61262924095 | | Mobile: *+61414443449 <%2B61414443449>*
Email: pete.sharman@xxxxxxxxxx Twitter: @SharmanPete LinkedIn:
au.linkedin.com/in/petesharman
Website: petewhodidnottweet.com
------------------------------

"Controlling developers is like herding cats."

Kevin Loney, Oracle DBA Handbook



"Oh no, it's not, it's much harder than that!"

Bruce Pihlamae, long term Oracle DBA
------------------------------



*From:* Courtney Llamas
*Sent:* Friday, November 13, 2015 4:45 AM
*To:* christopherdtaylor1994@xxxxxxxxx
*Cc:* oracle-l@xxxxxxxxxxxxx
*Subject:* Re: OEM 12c new install emcli question



Be sure to run



emcli sync



And then try

emcli help get_ca_info



Sent from my iPhone


On Nov 12, 2015, at 11:08 AM, Chris Taylor <
christopherdtaylor1994@xxxxxxxxx> wrote:

I've installed OEM 12c (12.1.0.5) on a Linux x86-64 server and I'm going
the OEM Cloud Control Security Guide now (
http://docs.oracle.com/cd/E24628_01/doc.121/e36415/sec_features.htm#EMSEC13024
)



For one of the emcli commands to check the certificates it says run this
command:

emcli get_ca_info -ca_id="1;2" -details



However, I get the following error:

/oracle/oem/product/middleware/oms/bin/emcli get_ca_info -ca_id="1;2" -details

Error: The command name "get_ca_info" is not a recognized command.

Run the "help" command for a list of recognized commands.

You may also need to run the "sync" command to synchronize with the current
OMS.

So, I'm curious - is the emcli delivered with 12.1.0.5 different than the
one referenced in the documentation?



Here's what I get if I type emcli help

/oracle/oem/product/middleware/oms/bin/emcli help

Summary of commands:

argfile -- Execute emcli verbs from a file

help -- Get help for emcli verbs (Usage: emcli help [verb_name])

invoke_ws -- Invoke EM web service.

login -- Login to the EM Management Server (OMS)

logout -- Logout from the EM Management Server

setup -- Setup emcli to work with an EM Management Server

status -- List emcli configuration details

sync -- Synchronize with the EM Management Server

version -- List emcli verb versions or the emcli client version



Help?



Chris




JPEG image

Other related posts: