Pivotal Knowledge Base

Follow

Some icm_client commands fail after upgrade to DCA 2.1.1.0 Redhat 6.6

Environment

  • DCA 2.1.1.0
  • Redhat 6.6
  • PHD 2.1.0.0

Symptom

When running icm_client reconfigure or deployment operations the following warning is displayed

[WARNING] Please verify supported OS type and version. Supported OS: RHEL6.4, RHEL6.5, CentOS6.4, CentOS6.5

Cause

In the recent DCA 2.1.1.0 update the redhat version is upgraded to 6.6 which is not support by the PHD 2.1.0.0 evnironment check scripts. This can cause some configuration operations to fail when the "scanhosts" function is called.

Workarounds

  • Option(1) Edit script "/usr/lib/gphd/gphdmgr/lib/server/ScanHost.py" on Pivotal Command Center server and include support for RHEL 6.6
    1. Change following line in the checkOSNameVersion() function from this
      if ( ('6.1' in osVersion) | ('6.2' in osVersion) | ('6.3' in osVersion) | ('6.4' in osVersion) | ('6.5' in osVersion) ) & (osType == True):
    2. to the following by adding "| ('6.6' in osVersion)"
      if ( ('6.1' in osVersion) | ('6.2' in osVersion) | ('6.3' in osVersion) | ('6.4' in osVersion) | ('6.5' in osVersion) | ('6.6' in osVersion) ) & (osType == True):
  • Option(2) Disable "scanhosts" using flags for the given operation. For example the reconfigure function uses flag "-s" to disable scan hosts
    [gpadmin@pccadmin ~]$ icm_client reconfigure
    Usage: /usr/bin/icm_client reconfigure [options]
    
    Options:
      -h, --help            show this help message and exit
      -l CLUSTERNAME, --clustername=CLUSTERNAME
                            the name of the cluster on which the operation is
                            performed
      -c CONFDIR, --confdir=CONFDIR
                            Directory path where cluster configuration is stored
      -s, --noscanhosts     Do not verify cluster nodes.
      -p, --nopreparehosts  Do not preparehosts as part of deploying the cluster.
      -j JDKPATH, --java=JDKPATH
                            Location of Sun Java JDK RPM (Ex: jdk-
                            7u15-linux-x64.rpm). Ignored if -p is specified
      -t, --ntp             Synchronize system clocks using NTP. Optionally takes
                            NTP server as argument. Defaults to pool.ntp.org
                            (requires external network access). Ignored if -p is
                            specified
      -d, --selinuxoff      Disable SELinux for the newly added nodes. Ignored if
                            -p is specified
      -i, --iptablesoff     Disable iptables for the newly added nodes. Ignored if
                            -p is specified
      -P, --nopasswordlessssh
                            Skip setting up passwordless ssh for gpadmin account.
                            This assumes the passwordless ssh has already been
                            setup beforeahead. Ignored if -p is specified.
      -y SYSCONFIGDIR, --sysconf=SYSCONFIGDIR
                            [Only if HAWQ is part of the deploy] Directory
                            location of the custom conf files (sysctl.conf and
                            limits.conf) which will be appended to
                            /etc/sysctl.conf and /etc/limits.conf of the newly
                            added slave nodes. Default:
                            /usr/lib/gphd/gphdmgr/hawq_sys_config/. Ignored if -p
                            is specified
      -f, --force           Forcibly reconfigure the cluster (allows changes to
                            any servicesConfigGlobals property)

Comments

Powered by Zendesk