Forum Stats

  • 3,825,906 Users
  • 2,260,574 Discussions
  • 7,896,729 Comments

Discussions

OHS multiple instance creation

3478661
3478661 Member Posts: 13
edited Aug 16, 2017 10:11AM in Java System Web Server

I am trying to create instances using the opmnctl , but it is failing with the name ofr oracle instance path , can some one please share the process of configuring multiple OHS instances running on same host with out a domain ( no weblogic )

Command trying to execute:

./opmnctl createinstance -instanceName inst1 -oracleInstance /u01/instances/inst1

Errors:

Command failed: Invalid instance name: inst1  (Instance name must begin with an alphabetic character; may only contain alphanumeric characters, or the underscore (_) or hyphen (_) characters; and must be 4 to 30 characters long.)

Command failed: The oracle instance is not empty.  Select a different location or remove the instance at this location.

Answers

  • handat
    handat Member Posts: 4,688 Gold Crown
    edited Aug 16, 2017 6:09AM

    If you don't have weblogic, then use createcomponent instead, ie

    opmnctl createcomponent -componentType OHS -componentName insts1 -listenPort <port>

  • 3478661
    3478661 Member Posts: 13
    edited Aug 16, 2017 10:07AM

    Thank you for the suggestion , while running this command I got an error Command failed: Command requires argument: -oracleInstance, I am not able to create instance as mentioned  in original post  in order to provide the instance path , please advise

  • 3478661
    3478661 Member Posts: 13
    edited Aug 16, 2017 10:11AM

    Wanted to add additional information , as config.sh silent mode is deprecated we have to run it in either GUI or console mode, I wanted to run the configuration in Command line , please advise

    Thanks

This discussion has been closed.