geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject Farming questions
Date Tue, 14 Apr 2009 17:34:10 GMT

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.


Mime
View raw message