Using WLST Commands to Start the Administration Server

You start the Administration Server through the Node Manager by using WLST commands.

Prior to running WLST, identify the public IP address of the Administration Server VM and connect to it with SSH, as described in Connect to an Administration Server or Load Balancer VM.

  1. After connecting to the VM, switch to the oracle user:
    sudo su - oracle
  2. Check to see that the Node Manager is running:
    ps -ef | grep NodeManager
    You should receive messages showing that the Node Manager is running.
  3. Change the directory to where environment setup is located:
    cd /u01/data/domains/domain_name/bin

    For example:

    cd /u01/data/domains/OurServi_domain/bin
  4. Set up the environment.
    . ./setDomainEnv.sh
  5. Start WLST:
    java weblogic.WLST

    Note:

    If you see exceptions while starting the command, ignore them and continue to next step.
  6. To connect to the Node Manager, use the WLST nmConnect command:
    nmConnect ('username','password','host','nmPort','domainName','domainDir','nmType')
    Parameter Description Example
    username WebLogic Server username you specified when you created the service instance.  
    password WebLogic Server password you specified when you created the service instance.  
    host The host name of the Node Manager. This is typically of the format <instanceName>-wls-1. ourserviceinstance-wls-1
    nmPort Port number of the node manager. . 5556
    domainName Name of the domain. You can find the domain name on the Oracle SOA Cloud Service Instance Overview page. OurServi_domain
    domainDir Path to the domain. In Oracle SOA Cloud Service, the domain directory is /u01/data/domains/<domainName>. /u01/data/domains/OurServi_domain
    nmType Use SSL for Java-based SSL implementation. SSL

    For example:

    nmConnect ('weblogic','password','ourserviceinstance-wls-1','5556','OurServi_domain','/u01/data/domains/OurServi_domain','SSL')
    For more information about nmConnect parameters, see:
    • For Oracle Fusion Middleware 12.2.1: nmConnect in WLST Command Reference for WebLogic Server

    • For Oracle Fusion Middleware 12.1.3: nmConnect in WLST Command Reference for WebLogic Server

    • For Oracle Fusion Middleware 11.1.1.7: nmConnect in WLST Scripting Tool Command Reference

  7. Use the nmStart command to start the Administration Server:
    nmStart (server_name)

    For example:

    nmStart ('OurServi_adminserver')
  8. Exit WLST:
    exit()
  9. Exit the oracle session.
    exit
  10. Exit the command window:
    exit
  11. Open a browser window.
  12. Navigate to the Oracle SOA Cloud Service Console.
  13. Click the menu iconmenu for the desired service instance and select Open WebLogic Server Console.
  14. When the console login page appears, enter the WebLogic username and password you provided when you created the service instance.
  15. On the Administration Console, under Domain Structure, expand Environment.
  16. Select Servers.
  17. On the Configuration page, check that the Administration Server state is RUNNING.
You have now started the Administration Server through the Node Manager by using WLST commands.