• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic