| Author |
How to change server name with manageprofiles?
|
|
|
| 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 2007-11-27, 1:32 pm |
| 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 -> $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.
| |
|
| 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.
| |
| Gopala Molakaluri 2007-11-27, 1:32 pm |
| 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 c
onventions.<br />
<br />
-Dexthor.
| |
|
| How do you defer creating the server? -omitAction deployAdminConsole???<br />
I am federating immediately after creation.
|
|
|
|