Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Start of Admin server remotely

 
sumit mathur
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No i dont want to do that.In that case i need login credentails of Admin server.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
sumit mathur
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sumit mathur wrote:When i am trying to start the admin server from Machine2 then it throws me error.


Which error?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic