geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viola lu <viola...@gmail.com>
Subject Re: Farming questions
Date Wed, 15 Apr 2009 02:51:25 GMT
Pls first make sure node nuce10 :

 clusterNodeName=NODE --> clusterNodeName=nuce10
RemoteDeployHostname=localhost ->RemoteDeployHostname=$your_nuce10_ip

in file $G_install_dir\var\config\config-substitutions.properties,

and config.xml file is
org.apache.geronimo.configs/farming/2.1/car should be
org.apache.geronimo.configs/farming/2.1.3/car
<ns:property name="host">nuce29</ns:property>should be <ns:property
name="host">$Your_nuce29_IP</ns:property>
and do the same thing on node nuce29

then run command on nuce10
deploy.bat/sh --user system --password manager start
org.apache.geronimo.configs/farming//car
deploy.bat/sh --user system --password manager --host nuce29_IP --port
[nuice20_rmi_port] start org.apache.geronimo.configs/farming//car

deploy.bat/sh --user system --password manager deploy --targets
org.apache.geronimo.configs/farming/2.1.3/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.3/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore
your_application your_cluster_plan.xml

Good Luck!



On Wed, Apr 15, 2009 at 1:34 AM, ericp56 <eric.phetteplace@twcable.com>wrote:

>
> Hello,
>
> I am using Geronimo 2.1.3
>
> I tried following http://cwiki.apache.org/GMOxDOC21/farming.html but
> nothing
> happens as expected.
>
> I am trying to add nuce29 as a cluster member, and nuce10 is the deployment
> "base"
>
> So, in nuce29's config.xml:
>    <module name="org.apache.geronimo.configs/farming/2.1.3/car">
>        <gbean
>
> name="org.apache.geronimo.configs/farming/2.1/car?ServiceModule=org.apache.geronimo.configs/farming/2.1/car,j2eeType=NodeInfo,name=NodeInfo2"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>            <attribute name="name">NUCE10</attribute>
>            <attribute
>
> propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor"
> name="extendedJMXConnectorInfo">
>                <ns:javabean
> class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo"
> xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2"
> xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0"
> xmlns="">
>                    <ns:property name="username">system</ns:property>
>                    <ns:property name="password">manager123</ns:property>
>                    <ns:property name="protocol">rmi</ns:property>
>                    <ns:property name="host">nuce10</ns:property>
>                    <ns:property name="port">1100</ns:property>
>                    <ns:property name="urlPath">JMXConnector</ns:property>
>                    <ns:property name="local">false</ns:property>
>          </ns:javabean></attribute>
>        </gbean>
>        <gbean name="ClusterInfo">
>            <attribute name="name">${clusterName}</attribute>
>        </gbean>
>    </module>
>
> In nuce10's:
>    <module name="org.apache.geronimo.configs/farming/2.1.3/car">
>        <gbean name="ClusterInfo">
>            <attribute name="name">${clusterName}</attribute>
>        </gbean>
>    </module>
>
> clusterName = NUCEPROD
>
>
> In the Geronimo shell, I try:
> deploy/distribute  --targets NUCEPROD,name=MasterConfigurationStore
> HealthMonitor.war
> and get:
> ERROR DeploymentException: No target named or matching
> 'name=NUCEPROD,MasterConfigurationStore' was found
>
> If I try:
> deploy/distribute  --targets name=MasterConfigurationStore
> HealthMonitor.war
> then it deploys it on NUCE10 as  twcable/HealthMonitor_G_SLAVE/1.0/car and
> not on NUCE29.  And also, the app fails to start on NUCE10, but I don't
> want
> it there anyway.
>
>
> What am I doing wrong?
>
> Thanks,
>
> Eric
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Farming-questions-tp23044218s134p23044218.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


-- 
viola

Mime
View raw message