RE: OEM 12c new install emcli question

From: Peter Sharman <pete.sharman_at_oracle.com>
Date: Thu, 12 Nov 2015 11:28:48 -0800 (PST)
Message-ID: <c7206e8f-efcb-48ee-917e-196c72623df0_at_default>



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

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

Phone: HYPERLINK "tel:+61262924095"+61262924095 | | Mobile: +61414443449  Email: HYPERLINK "mailto:pete.sharman_at_oracle.com"pete.sharman_at_oracle.com  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_at_gmail.com
Cc: oracle-l_at_freelists.org
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 <HYPERLINK "mailto:christopherdtaylor1994_at_gmail.com"christopherdtaylor1994_at_gmail.com> 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

 

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Nov 12 2015 - 20:28:48 CET

Original text of this message