Re: How to add targets manually, in OEM 12C, through command line...

I am trying to add the rac targets using emcli interface. Before adding rac_database as target type we need to add a cluster. I Used the following command to add a cluster but it fails with internal error. and the log files do not show any error.
Any idea how to fix this?
./emcli add_target -name="bacalbdb01n_cluster" -type="cluster" -host="bacalbdb01n1" -monitor_mode="1" -properties="OracleHome:/u01/crs/oracle/product/11/app;scanName:bacalbdb01n-scan;scanPort:1521" -instances="bacalbdb01n1:host;bacalbdb01n2:host"
Internal Error: The EM CLI system has encountered an internal error. Details have been added to the EM CLI log files.

Looks like it might be bug 15982024 where the target is already part of a cluster.   Can you check your unpromoted targets (Setup -> Add Target -> Auto Discovery Results -> tab Agent Based Targets) and see if a cluster on either of those hosts is already discovered but not yet promoted.  If so, you can try to delete that discovered cluster, and retry the cmd.
Log File Locations
The following examples show possible log file locations:
Example 2-3 No Configuration Directory Specified with Setup Verb (default location)
user.home/.emcli/.emcli.log user.home/.emcli/.emcli.log.1
If you do not specify a configuration directory when you run the setup verb (-dir option is omitted), EM CLI assumes the .emcli configuration directory is located within your local home directory. The log files are placed at the root level of the .emcli directory. The .emcli directory must be local (not mounted remotely).

Similar Messages

  • How to add target to jmsSystemResource MBean using JMX

    Does anybody know how to add target to jmsSystemResource MBean using JMX in WebLogic 9.0?(I am not using WSLT) I always get "NoSuchMethodException":
              [jmsServer] Caused by: java.lang.NoSuchMethodException: addTarget(weblogic.management.configuration.
              TargetMBean,) for com.bea:Name=admin01DefaultJMSServer,Type=JMSSystemResource

    go to the object which u want to compare
    go to->version management->select the TR request no->and select remote comparision there->and give the system where u need to compare this object
    and next press compare
    hope it will work
    cheer
    s.janagar

  • How to configure Auto Discovery in OEM 12c

    Hi
    I am new to OEM12c. I need to set up the auto email alerts through OEM 12c. through the Admin guide I have read the procedure.But I am not able to implement it. Can anybody tell me here the detailed procedure to add the managed target in OEM12c. We need to monitor mainly HCM domain form here. Please tell me the prerequisites also. When i try to configure auto discovery of host it asks me for host credentials but i ma not able to get for which credentials it is asking for.
    Thanks in Advance

    Hi,
    Configuring notification rules in 12c is different from earlier releases.
    The concept and function of notification rules has been replaced with a two-tier system consisting of Incident Rules and Incident Rule Sets :
    1. Incident Rules: Operate at the lowest level granularity (on discrete events) and performs the same role as notification rules from earlier releases.
    By using incident rules, you can automate the response to incoming incidents and their updates.
    A rule contains a set of automated actions to be taken on specific events, incidents or problems.
    The actions taken are for example : sending e-mails, creating incidents, updating incidents, and creating tickets.
    2. Incident Rule Set: A rule set is a collection of rules that applies to a common set of objects, for example, targets, jobs, and templates.
    To help you to achieve the Notification Rules configuration, refer those notes :
    How To Configure Notification Rules in 12C Enterprise Manager Cloud Control ? - Doc ID 1368036.1
    EM12c How to Add and Configure Email Addresses to EM Administrators and Update the Notification Schedule ? - Doc ID 1368262.1
    EM12c How to Subscribe or Unsubscribe for Email Notification for an Incident Rule Set ? - Doc ID 1389460.1
    EM 12c How to Configure Notifications for Job Executions ? - Doc ID 1386816.1
    ++ Regarding the Auto Discovery in 12c following the document below:
    Configure Auto Discovery In 12c - ID 1529868.1
    Regards,
    Venkat

  • How to add new operand in installation facts through FMs

    Hi,
    Please guide me for the following query:
    How to add new operands in installation facts through Function Module?
    Please guide me with any function module through which i can acheive the above requirement.
    Thanks and Regards

    Hi,
    Thanks for your reply please.
    Through the BAPI which you have specified i have not been able to add any new operand in the installation facts.
    Please guide me with the parameters which are required to be passed to create a new operand entry in the installation facts.
    Please guide.
    Thanks and Regards
    Edited by: MP Vashishth on Aug 11, 2011 1:43 PM

  • How to configured mail Alerts in OEM 12c for WebLogic Servers up/down status?

    Hi,
    I am new in Oracle Enterprise Manager so please tell me How to configured mail Alerts in OEM 12c for WebLogic Servers up/down status?
    Thanks,
    Sagar Pawar.

    Hi Sagar Pawar ,
    First you need to set the email notification :
    Kindly review :
    12c Cloud Control: Steps to Configure Incident Rules to Send Notifications or
    Manage Events / Incidents / Problems (Doc ID 1368036.1)
    12c Cloud Control: Steps to Configure Email Notification Method (Doc ID 1368262.1)
    Regards
    Ansari

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • How to reset the network IP address from terminal/command line in Mac OSX?

    Do anyone knows how to set the network IP address from terminal/command line in Mac OS X?

    how about a GUI, ever heard of a GUI? it's this really neat thing, where you don't have to worry about remembering long strings of text to do something. Mac OS X actually has a rather decent one (that was sarcasm by the way, Mac is the best) you could have it done in like 30 sec, if you use the network pane of system preferences.

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to undeploy an .sda file through command line

    Hi,
    How to undeploy an .sda file through command line.send me the related command to do it.and related information and links.

    Hi
    Please find below the steps to undeploy thro command line :
    Shut down the sdm server
    1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"
    2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"
    4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    5)start the sdm server again
    SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"
    Hope this helps. do not forget to reward points
    regards
    rajeshkr

  • How to block IP addresses or IP blocks through the 5505 ASDM interface, not through command lines?

    Is it possible to block IP addresses or IP blocks through the 5505 ASDM interface, and not through command lines? If so, how?

    Unfortunately I can't share any information on the router. It's company policy. But, if you could let me know where in the GUI interface of the router where I can find the ACL and how to enter the IPs to block I would really appreciate it.

  • How to migrate targets from one oem to another oem

    Hi ,
    we have two gridcontrols as follows
    https://oemgrid1:7799/em/console
    https://oemcnt:7799/em/console
    we have to move the 10 targets from one OEM ( https://oemgrid1:7799/em/console) to another OEM ( https://oemcnt:7799/em/console ) inclusing data ...
    how to migrate , any idea ?

    A) Assuming that both the EM are of same version, then you cannt migrate data and targets from one em to another.
    B) Assuming that both the EM are of different versions like EM1 10.2.0.5 and EM2 12.1.0.2 then also you cannt migrate data and targets from one em to another. In this case you still have the option to undergo the EM Upgrade process which will automate the historical data and target migration. Read about EM upgrade : http://docs.oracle.com/cd/E24628_01/upgrade.121/e22625/toc.htm

  • How to add printer manually in AIX/SOLARIS??

    Hi,
    I want to know how to add printers in AIX/SOLARIS manullay. Any body has step by step guide?
    Thanks,

    Hi Afi,
    You mean at OS level?...
    If thats the case use SMIT pdp -> Select Add a Printer/Plotter -> provide additional information as prompted.
    See,
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.printergd/doc/printrgd/config_printer_no_queue_smit.htm
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.printergd/doc/printrgd/config_printer_no_queue_smit.htm
    and
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.printergd/doc/printrgd/config_printer_no_queue_smit.htm
    Regards
    Juan

  • Targets down one OEM 12c console

    I have successfully installed OEM 12c on RHEL6, it is a  3-node using F5 Big IP SLB. OMS is up and running on all three nodes, however the OEM console shows three targets to be down on the first node as seen below.
    1. node1:4889_Management_service
    2. node1:4889_Management_service_CONSOLE
    3. node1:4889_Management_service_PBS
    The same three targets are reported up on node2 and node3.
    I ran ./emctl status oms -details on all three nodes and the results are the same.
    It looks like a false alarm to me. Any ideas?

    Hi Bill Wagman,
    You can remove the agents and its monitored targets as below:
    a. On the agent machine, stop the agent if running.
    b. On the OMS machine, run the following:
    1. Ensure emcli is configured:
    <12c_OMS_HOME>/bin>./emcli setup
    2. Login to emcli:
    <12c_OMS_HOME>/bin>./emcli login -username=SYSMAN
    3. Remove the problematic agents from console:
    <12c_OMS_HOME>/bin>./emcli delete_target -name="<agent machine name:port>" -type="oracle_emd" -delete_monitored_targets -async
    To delete a specific target, you can use the following command:
    <12c_OMS_HOME>/bin>./emcli delete_target -name="<target_name>" -type="<target_type>"
    Once the agent is removed from console, you can use the following note to deinstall agent software from agent machine:
    Note 1368088.1 - How to De-install the Enterprise Manager Cloud Control 12c Agent
    Note: The steps in the note 454081.1 is not applicable for 12c agents. It is not recommended to update repository objects manually.
    Regards,
    Anandu

  • How to add comments in IP so that no multiple lines are created?

    Hi,
    I have a problem with adding free text in IP. I'm using this How-to guide:
    How to Flexibly Change Characteristic Values and Comments in BI Integrated Planning
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92
    Using this method creates lines with zeros.
    I need to create an input ready query with only one single line, let's say a single selected co-order. When the user opens this query the inputready line may be empty or it may have already have some values that an other user has saved earlier for that line. Now, the user needs to be able to add free text as a comment for the line. However, if there already exist a value with an added comment then the user should see it here. So the problem is that the user does not know if there already exists a comment for the line when he opens the query. How can I create a query in such a way that only the line with the latest comment (or it there are no comments then an empty line) is shown?
    Br,
    Aino Tuominen

    I hope you are modelling comments as per the how-to-guide. In this document, its shown as Comment is an IO with no-master data and free text field used as transaction data in info cube. And we are using repost method to modify comments.
    So when you add a new row, either the new row will have comment field as blank and you enter some comment for that row in the input box, and press repost button so that the entered comments gets attached to the new row. And then when you run the input ready query next time, you definitely see the latest comment for that row and you can change if you want.
    Just design as per the document, keep comment as a characteristic in any of the dimensions, use this field as row in the input ready query.

  • How to tell if you have OEM 12c BP1 installed?

    I had OEM 12c installed and attempted to download/apply the Solaris OEM agent software. I ran into the "Below host metric patches are not applied to OMS." error. I discovered this was because I needed BP1.
    After 3 days of trying to uninstall OEM, finally got it uninstalled, downloaded OEM 12c w/BP1 and installed it.
    Once again, I tried to download/apply the Solaris OEM agent software...and I got the same error message. Very frustrating.
    I don't see anything in the "About" pop-up or "emctl status oms" output that actually says a BP has been installed though. Could I have just reinstalled the non-BP version? I got the installations zips directory from the Oracle website that says "Enterprise Manager Cloud Control 12c Release 1 (12.1.0.1) for Linux x86-64
    (With Bundle Patch 1)" so I don't think that's the issue. Is there something else I need to do to get BP 1 working??

    Few things:
    a) If you have linux oms with bp1 and want to deploy solaris agents ( with bp1) then you need to follow the steps from this doc:
    http://docs.oracle.com/cd/E24628_01/doc.121/e35229/aix_solaris.htm#CIHJJGDG
    You will be required to apply patches on OMS and plugin homes on OMS.
    b) If you want to find wether the OMS installed has bp1 or not follow the note: How to Determine if EM Cloud Control 12c with bp1 has Been Installed (Doc ID 1424439.1)

Maybe you are looking for