Bugs item #2894072, was opened at 2009-11-08 02:02
Message generated for change (Settings changed) made by ashortland
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=779847&aid=2894072&group_id=151079Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules/Types
Group: 3.4.9
Status: Closed
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Anthony Shortland (ashortland)
Assigned to: Anthony Shortland (ashortland)
Summary: Added server.hostname to the ClientInstaller options
Initial Comment:
The latest version of the ControlTier client installer needs the server.hostname property set:
Here you go.
[deploy@ctier02 ClientInstaller]$ svn diff
Index: commands/configureClient.xml
===================================================================
--- commands/configureClient.xml (revision 1754)
+++ commands/configureClient.xml (working copy)
@@ -196,7 +196,7 @@
<var name="clientNodeName" value="${opts.targetHostname}"/>
</else>
</if>
- <var name="client.opts" value="-Dframework.ssh.user=${opts.targetUser} -Dserver.jetty.port=${opts.frameworkServerPort} -Dserver.jetty.hostname=${opts.frameworkServerHostname} -
Djetty.user.name=${opts.frameworkServerUsername} -Djetty.user.password=${opts.frameworkServerPassword} -Dserver.reportcenter.port=${opts.reportcenterPort} -Dclient.hostname=${opts.targetHostname} -
Dclient.node.name=${clientNodeName}"/>
+ <var name="client.opts" value="-Dframework.ssh.user=${opts.targetUser} -Dserver.jetty.port=${opts.frameworkServerPort} -Dserver.jetty.hostname=${opts.frameworkServerHostname} -
Djetty.user.name=${opts.frameworkServerUsername} -Djetty.user.password=${opts.frameworkServerPassword} -Dserver.reportcenter.port=${opts.reportcenterPort} -Dclient.hostname=${opts.targetHostname} -
Dclient.node.name=${clientNodeName} -Dserver.hostname=${opts.frameworkServerHostname}"/>
<echo>DEBUG: sshexec trust="${opts.trustClient}" host="${opts.targetHostname}" username="${opts.targetUser}" keyfile="${framework.ssh.keypath}" command="cd @{dest} && JAVA_HOME=${abs.targetCTierRoot}/pkgs/@{javapkgbase} CTIER_ROOT=${abs.targetCTierRoot} ${os.commandLinePrefix} --client ${client.opts}"/</echo>
<sshexec trust="${opts.trustClient}" host="${opts.targetHostname}" username="${opts.targetUser}" keyfile="${framework.ssh.keypath}" command="cd @{dest} && JAVA_HOME=${abs.targetCTierRoot}/pkgs/@{javapkgbase} CTIER_ROOT=${abs.targetCTierRoot} ${os.commandLinePrefix} --client ${client.opts}"/>
</sequential>
Thanks
JC
----------------------------------------------------------------------
Comment By: Anthony Shortland (ashortland)
Date: 2009-11-08 02:06
Message:
------------------------------------------------------------------------
r1814 | ashortland | 2009-11-08 02:06:13 -0800 (Sun, 08 Nov 2009) | 3
lines
Added server.hostname parameter to the invocation of the client
installer.
Tracker#:
https://sourceforge.net/tracker/?func=detail&aid=2894072&group_id=151079&atid=779847------------------------------------------------------------------------
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=779847&aid=2894072&group_id=151079