Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change server name with manageprofiles?

186 views
Skip to first unread message

d...@floridasbestcoast.com

unread,
Nov 27, 2007, 9:57:33 AM11/27/07
to
I created an app server with managedprofiles...<br />
<br />
#!/bin/sh<br />
WAS_HOME=/opt/IBM/WebSphere/AppServer61<br />
<br />
$WAS_HOME/bin/manageprofiles.sh \<br />
-create \<br />
-profileName AppSrv01 \<br />
-profilePath $WAS_HOME/profiles/AppSrv01 \<br />
-templatePath $WAS_HOME/profileTemplates/default \<br />
-nodeName sproutMserveNode \<br />
-hostName `hostname -f` \<br />
-omitAction samplesInstallAndConfig defaultAppDeployAndConfig<br />
<br />
The only thing is that this creates the app server with the name "server1" (the default). Is there anyway to create one and specify the name or modify the name afterwards?

Gopala Molakaluri

unread,
Nov 27, 2007, 10:13:15 AM11/27/07
to
You have basically created a standalone ApplicationServer profile. This standalone profile is fully selfsufficient and hence it needs some server to run its adminconsole Application. Hence it creates server1 server by default. <br />
<br />
You can always create additional servers using wsadmin -&gt; $AdminConfig create Server .... or $AdminTask (if its available). The first server is special as it holds the adminconsole and possibly bunch of Samples Apps. <br />
<br />
-Dexthor.

Gopala Molakaluri

unread,
Nov 27, 2007, 11:06:56 AM11/27/07
to
If you are federating, why not defer the Server creation till after the Federation ? <br />
<br />
Though it is possible to have Servers precreated before federation, it will add more overhead to the Federation process if you have too much of configuration to be dealt with and may result in fed-failure. <br />
<br />
If you want custom Server names, create them using wsadmin leaving aside server1 (which is key for Federation to succeed). After federation is complete, delete server1 server from that node, leaving aside your other Servers which complies to your naming conventions.<br />
<br />
-Dexthor.

d...@floridasbestcoast.com

unread,
Nov 27, 2007, 10:56:47 AM11/27/07
to
Thanks for the reply; however, I'm creating a server that will be federated to a deployment manager. I want my servers to have unique names.

d...@floridasbestcoast.com

unread,
Nov 27, 2007, 11:39:20 AM11/27/07
to
How do you defer creating the server? -omitAction deployAdminConsole???<br />
I am federating immediately after creation.
0 new messages