• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

change the webserver definition

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

I have a remote webserver configured with the application server and i configured even the application.
and everything is working perfect , but now i need to change the webserver definition from default webserver1 to host name of that server.

This is the part i missed ....now to do this task , Is there any way to just update the webserver definition name and configuration location without actually deleting the webserver1 definition form the dmgr cell???

like " set webserverName " form wsadmin.sh ......but i'm not able to figure out to use this to change the definition from webserver1 to host_name ..... ( we have 2 more webserver on 2 diff nodes federated to the cell )

" wsadmin> set webserverName host_name webserverHostName host_name.domain "

placing the webserver name to the host( which i wanted to change from the default webserver1) by using the hostname so that it can config the webserver defined on that host Can this solve the issues ???


if changed does this effect the application deployed??

I guess this shouldn't not disturb anything on the application side as we are only trying to change the websever name but the host is the same to which everything is configured.

Thanks in Advance !
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Browse thru "Sample Scripts for WebSphere Application Server" available from IBM for what you are looking for:
http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

Look for usage of AdminConfig object for changing the name of the webserver.
 
Rahuul Dravid
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Deepak Pant wrote:Browse thru "Sample Scripts for WebSphere Application Server" available from IBM for what you are looking for:
http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

Look for usage of AdminConfig object for changing the name of the webserver.




Hey Deepak thanks for the quick reply,

ya i'm assuming that we can make use of this "AdminConfig object to modify configuration objects" ,
But i'm not able to figure out how to use this .... i tired a couple of ways but didn't work ,

and then i wondered can we really change it and found some answers saying we cann't and the way is to delete and recreate it with new definition
reply
    Bookmark Topic Watch Topic
  • New Topic