Running an installation job 

Submit a DataStax Enterprise install job to run on a cluster, datacenter, or node.

Submit a DataStax Enterprise install job to run on a cluster, datacenter, or node. An install job includes running a configuration job and by default, installing Java and the JCE Policy files required to enable unlimited strength encryption.

Lifecycle Manager runs jobs concurrently for different clusters; however, jobs for the same cluster execute sequentially and remain in the Pending state while other install or configure jobs are currently running.

Lifecycle Manager pushes configuration jobs to a single node at a time and restarts DataStax Enterprise on that node. For a newly added cluster, the very first install job runs on several concurrent nodes. The concurrency speeds the initial install process and is safe because the new cluster cannot serve clients until it has been installed for the first time. After that, install and configure jobs proceed one-node-at-a-time to ensure cluster availability. The job does not progress to the next node until the current node successfully restarts (that is, the node is responding on the native_transport_port). By default, the job gracefully stops prematurely if a job fails for a single node. Jobs that are already running on nodes are allowed to finish, but the job does not continue running on any remaining nodes for that job. Doing so prevents any potential configuration problems from bringing down multiple nodes, or even the entire cluster. If required, override this default behavior with the Continue on error option, which will attempt to run the job on all nodes, regardless of failure.

Install jobs that expand an existing cluster are throttled to one node at a time to prevent too much data from streaming concurrently.

Note: If the version of DataStax Enterprise associated with a configuration profile being pushed differs from the installed version, the job fails. Version upgrades or downgrades of DataStax Enterprise are not supported within Lifecycle Manager.

Prerequisites

  • All credentials (SSH and repositories) must be created, configuration profiles defined, and a cluster topology model built or imported before running any install jobs in Lifecycle Manager.
  • LCM does not create data directories or manage their permissions on your behalf. If you want to use a custom data directory, please ensure that it exists and is owned by the cassandra user.
  • An installed version of Python 2.6 through 2.7 is required on the target nodes. LCM does not automate the installation of Python. Install jobs fail if Python is not installed.
  • Ensure that there is not any clock drift, which can interfere with LCM generating TLS certificates. Check the clock drift rule in the Best Practice Service to ensure clocks are in sync before proceeding.

Procedure

  1. Click Clusters from the Lifecycle Manager navigation menu.
  2. Select the cluster, datacenter, or node to run an install on.
  3. Click Install from the drop menu.
    The Install Job dialog appears.

  4. Upon encountering an error on any given node, the job ceases running on additional nodes. Any nodes that are already running continue to completion. To override this default behavior, select Continue on error, which will continue running the job on subsequent nodes until all are finished.
  5. Optional: Enter a description about the job.
  6. Enter a password in the New DSE password box to replace the default password for the cassandra user.
  7. If LDAP authentication is configured for a DSE cluster, you are prompted to enter your LDAP Username and LDAP Password the first time an install job is run on the cluster. Providing the LDAP credentials is necessary for OpsCenter to connect to the cluster for monitoring.
  8. Select an auto_bootstrap option in cassandra.yaml. To override the LCM smart default, choose True or False as required.
    • LCM Default: Sets the option depending on actions within the job. When adding a cluster or datacenter, sets auto_bootstrap to False. When adding nodes to an existing datacenter, sets auto_bootstrap to True.
      Warning: When adding a node to an existing datacenter that has already been converged (that is, an install job has already been run) in LCM, a tooltip warning appears: New nodes that list themselves as seeds will fail to bootstrap and will require immediately running a repair on the node. DataStax recommends designating the node as a seed after the node has bootstrapped into the cluster.
    • True: Explicitly sets auto_bootstrap to True.
    • False: Explicitly sets auto_bootstrap to False.
  9. Click Submit.
    The job is submitted. A dialog informs you the job is in the queue to run.
  10. Click View Job Summary to navigate quickly to the Jobs page to monitor the job progress. Click Close if you do not want to immediately monitor the job and prefer to remain in the Clusters workspace.