You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Amanda Moran (JIRA)" <ji...@apache.org> on 2016/10/19 00:27:58 UTC

[jira] [Updated] (TRAFODION-1554) installer should run system level commands on each node

     [ https://issues.apache.org/jira/browse/TRAFODION-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amanda Moran updated TRAFODION-1554:
------------------------------------
    Assignee:     (was: Amanda Moran)

> installer should run system level commands on each node
> -------------------------------------------------------
>
>                 Key: TRAFODION-1554
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1554
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: installer
>    Affects Versions: 2.0-incubating
>            Reporter: Eason Zhang
>
> Install Trafodion on 3 nodes which have different network interface, 2 of them is ‘eth2’, the rest one is ‘eth3’. But the dcs-site.xml on 3 nodes have the same ‘dcs.dns.interface’ value ‘eth2'. So DCS server on 'eth3' node  will not have the correct IP address.
>  
>  
> Check the installer code:
>  
> dcs_installer:
> # get external network interface
> EXTERNAL_NETWORK=$(netstat -rn | grep "^0.0.0.0" | awk '{print $8}’)
>  
> traf_start:
> if [ "$node_count" -ne "1" ]; then
>    echo "***INFO: copying install to all nodes" | tee -a $INSTALL_LOG
>    $PDCP $MY_NODES -x $HOSTNAME -r $SQ_ROOT $SQ_ROOT/..
>  
>  
> Installer will obtain the network interface from the node which is running the script, and copy the modifed dcs-site.xml to all the other nodes. 
>  
> It should be better to run such kind of system level commands on each node, not just copy the one to all nodes. The node configuration may not be the same on all nodes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)