wood burning stoves*
The moose likes BEA/Weblogic and the fly likes Start of Admin server remotely Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Start of Admin server remotely" Watch "Start of Admin server remotely" New topic
Author

Start of Admin server remotely

sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34

Is it possible to start the admin server from remote machine.

My design goes like this

Machine 1 : Admin + Managed server

Now I go to Machine 2 and add the Managed server 2 in a cluster with Admin server which is running on machine 1.This addition i am doing from Machine 2 using WLST online script.

After addition of managed server ,the admin server goes down so that changes get reflected in config.xml of Admin server.

Now i need to start the admin server. The one way is to go to Admin server and start the admin server from there.

When i am trying to start the admin server from Machine2 then it throws me error. I am starting using WLST offline command as mentioned:

adminServerURL="ADMINSERVERURL:7001"

startServer('ANP-7001','anp',adminServerURL,'weblogic','weblogic','/opt/fsm/domains/anp',jvmArgs='-XX:MaxPermSize=512m, -Xmx512m')

exit ()

So it there a way to start the admin server from remote machine???
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
One way is to login into that machine remotely and start the server... Or you don't want to do that?
sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34
No i dont want to do that.In that case i need login credentails of Admin server.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

If the admin server is installed as a service (in windows), you can go to the My computer icon and connect to the remote machine's services and start the server. Are you looking for an automated start ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34
Deepak

Is it possible to start to admin server using WLST offline command . This is to be done from Machine2.

ya i want to automate this process using shell script which internally can call .py script to start the server.



Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
sumit mathur wrote:When i am trying to start the admin server from Machine2 then it throws me error.


Which error?
 
GeeCON Prague 2014
 
subject: Start of Admin server remotely