Browse Source

HPCC-15357 ConfigMgr - Topology Cluster should include alias attribute

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 9 years ago
parent
commit
903ed561ed

+ 1 - 1
deployment/deployutils/wizardInputs.cpp

@@ -1030,7 +1030,7 @@ IPropertyTree* CWizardInputs::createTopologyForComp(IPropertyTree* pNewEnvTree,
      
    xpath.clear().appendf("./%s/%s[1]/%s", XML_TAG_SOFTWARE, xmlTag.str(), XML_ATTR_NAME);
 
-   clusterStr.clear().appendf("<Cluster name=\"%s\" prefix=\"%s\"></Cluster>", component, component);
+   clusterStr.clear().appendf("<Cluster name=\"%s\" prefix=\"%s\" alias=\"\"></Cluster>", component, component);
  
    IPropertyTree* pCluster = createPTreeFromXMLString(clusterStr.str());
    if(pCluster)

+ 4 - 4
initfiles/etc/DIR_NAME/environment.xml.in

@@ -175,23 +175,23 @@
    <RoxieServerProcess computer="localhost" name="localhost" netAddress="."/>
   </RoxieCluster>
   <Topology build="_" buildSet="topology" name="topology">
-   <Cluster name="hthor" prefix="hthor">
+   <Cluster name="hthor" prefix="hthor" alias="">
     <EclSchedulerProcess process="myeclscheduler"/>
     <EclAgentProcess process="myeclagent"/>
     <EclCCServerProcess process="myeclccserver"/>
    </Cluster>
-   <Cluster name="thor" prefix="thor">
+   <Cluster name="thor" prefix="thor" alias="">
     <EclAgentProcess process="myeclagent"/>
     <EclCCServerProcess process="myeclccserver"/>
     <ThorCluster process="mythor"/>
     <EclSchedulerProcess process="myeclscheduler"/>
    </Cluster>
-   <Cluster name="roxie" prefix="roxie">
+   <Cluster name="roxie" prefix="roxie" alias="">
     <RoxieCluster process="myroxie"/>
     <EclCCServerProcess process="myeclccserver"/>
     <EclSchedulerProcess process="myeclscheduler"/>
    </Cluster>
-   <Cluster name="thor_roxie" prefix="thor">
+   <Cluster name="thor_roxie" prefix="thor" alias="">
     <EclCCServerProcess process="myeclccserver"/>
     <ThorCluster process="mythor"/>
     <RoxieCluster process="myroxie"/>