support - Hortonworks Data Platform

Hortonworks Data Platform for Teradata® Administrator Guide

Product
Hortonworks Data Platform
Release Number
SLES 12
3.1.5
3.1.4
3.0.1
Published
August 2020
Language
English (United States)
Last Update
2020-09-14
dita:mapPath
rix1551812220422.ditamap
dita:ditavalPath
jbc1497974574502.ditaval
dita:id
B035-6097
Product Category
Open Source

Purpose

This command allows you to report disk status, configure disks after replacement, install files, and set passwords to match Ambari and PostgreSQL.

Syntax

hcli [--option] support [checkDisks [--option] ] | [configureDisk [--option]] | [install rpm name | patch name [--option]] | [manager_config [--option]] | [rebalance [--option]] | [tune_coresidence] [--option]]] | [[--nolog] support [setpgpass password ]

Parameters

hcli support checkDisks [OPTIONS]
Report status of disk drives in the cluster.
Option Description
--node Reports disks from the local node only (default on datanodes)
--system Reports disks from the entire cluster (default on master nodes)
--json Reports all data in JSON format
--failed Reports only disks with abnormal status
Exit code 0 indicates the command succeeded; exit code 1 if the report failed.
hcli support configureDisk [--check]
Configure, format, and prepare data node disk configurations for use after a disk drive replacement.
  • Create vdisks on RAID controller
  • Create filesystem and disk label if not present
  • Update mount options in /etc/fstab
  • Mount data drive filesystems
All Hadoop services on the node must be stopped with Ambari before using this command. Services can be started after the command completes with no errors.
  • Use the --check option to check that the data node disks are correctly configured and labeled. No configuration changes are made.
  • Exit code 0 indicates the command succeeded; exit code 1 indicates the number of nodes on which the command failed
hcli support install --rpm name | --patch name [--master | --data | --edge | --all | --dry-run ]
Install RPMs and patches on nodes in the cluster. Either the RPM and name or the patch and name are required.
  • -r | --rpm name Installs the specified RPM file.
  • -p | --patch name Installs the specified patch file.
Option Description
-m | --master Installs on master nodes
-d | --data Installs on data nodes
-e | --edge Installs on edge nodes
-a | --all Installs on all nodes
-n | --dry-run Tests the installation but does not make changes
Exit code 0 indicates the command succeeded; exit code 1 indicates the command failed.
Example:  hcli support install --rpm /tmp/new-package-file.rpm --master --edge
hcli support manager_config [OPTION]
Modify Ambari related settings.
Option Description
--port port number Update the port number used to connect to Ambari .
--host= host fqdn Update the hostname used to connect to Ambari .
--password A password prompt displays to update the Ambari administrator password.
Exit code 0 indicates the Ambari setting updated successfully; exit code 1 indicates the setting could not be updated.
hcli support rebalance
Adjust parameters to enable high-priority HDFS rebalancing after expanding or contracting a cluster.
  • Waits until rebalance is complete before exiting.
  • Exit code 0 indicates the rebalance succeeded; exit code 1 if the HDFS could not be rebalanced.
hcli [--nolog] support setpgpass password
Change the password on postgres and update postgres/.pgpass files on the postgres nodes.
Use the --nolog option to avoid recording passwords in debugging logs.
Exit code 0 indicates the command succeeded; exit code 1 indicates the command failed.
Example:  hcli --nolog support setpgpass pswd
hcli support tune_coresidence [--node | --help]
Tune data nodes in the cluster for coresidence configuration.
Option Description
-n | --node FQDN Specifies the fully-qualified domain name of a single node that is tuned to the coresidence configuration.
-n FQDN-NODE1 -n FQDN-NODE2 Specifies the fully-qualified domain names of all nodes that are tuned to the coresidence configuration.
-h | --help Shows help for this command.
Exit code 0 indicates that the tuning for coresidence configuration has completed; exit code 1 indicates an exception has occurred.
Example:  hcli support tune_coresidence
Example:  hcli support tune_coresidence --node <FQDN> [-h|--help]
Example:  hcli support tune_coresidence -n <FQDN-NODE1> -n <FQDN-NODE2> [-h|--help]