• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Start of Admin server remotely

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No i dont want to do that.In that case i need login credentails of Admin server.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
I am not young enough to know everything. - Oscar Wilde This tiny ad thinks it knows more than Oscar:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic