Remote Administration Of Domain Through WLST

For administration of the whole domain and all the servers in the domain, we can use WLST commands. This is the best way for a monitoring and managing the complete domain using nodemanager.

To start the admin server using WLST, ensure that the admin server is associated to a machine. Once done, start the WLST tool.

Start the nodemanager using the command startNodeManager() as seen in the image.

Note: Nodemanager starts and runs irrespective of the WLST tool. Even if you exit from WLST, the nodemanager will still be running.

Now you need to connect to the nodemanager using the nmConnect() command. This needs to be done because you need to start the the servers through node manager.

Example:  nmConnect(‘weblogic’, ‘weblogic’, ‘localhost’, ‘5556’, ‘example_domain’,’D:/BEA103/user_projects/domains/example_domain’,’plain’)
– The above command takes username, password, hostname, port, domain name, domain directory and nodemanager type (SSL, Plain) as arguments.

1) To start the admin server through WLST using nodemanager, type the below command:
– nmStart(‘AdminServer’)

2) To check the status of the admin/managed servers, type the command:
– nmServerStatus(‘AdminServer’)
– nmServerStatus(‘MS1’)

3) To stop/kill the server, enter the command:
– nmKill(‘AdminServer’)

Steps to start the managed servers remotely:

– On the remote machine, start the WLST tool and connect to the local running admin server:

Once connected, do the nmEnroll from the remote machine:

Now to start the managed servers from the remote machine, connect to the nodemanager using nmConnect as above and do the nmStart on the managed servers.

The servers status can be checked from the remote machine.

If you have any queries, do get back to us.

Best Regards,
Wonders Team!

Latest Comments

  1. sahil January 5, 2011
    • divya January 11, 2011
  2. Ravi January 5, 2011
    • divya January 11, 2011
  3. Ravi January 6, 2011
  4. ram January 7, 2011
    • Administrator January 7, 2011
  5. kishore January 21, 2011
    • Administrator January 21, 2011
  6. suresh February 7, 2011
    • divya February 9, 2011
  7. Rob June 20, 2011
  8. Alok September 22, 2011
    • Administrator September 27, 2011
  9. Alok October 13, 2011
  10. Raman Ramaiya July 4, 2012
    • Administrator August 21, 2012
  11. rav September 16, 2015
    • Administrator September 21, 2015
  12. Santhosh April 15, 2016

Leave a Reply