Managing Cloudera Data Science Workbench Hosts
This topic describes how to perform some common tasks related to managing Cloudera Data Science Workbench hosts.
Migrating a Deployment to a New Set of Hosts
Adding a Worker Host
Using Cloudera Manager
- Log in to the Cloudera Manager Admin Console.
- Add a new host to your cluster. Make sure this is a gateway host and you are not running any services on this host.
- Assign the HDFS, YARN, and Spark 2 gateway roles to the new host. For instructions, refer the Cloudera Manager documentation at Adding a Role Instance.
- Go to the Cloudera Data Science Workbench service.
- Click the Instances tab.
- Click Add Role Instances.
- Assign the Worker and Docker Daemon roles to the new host. Click Continue.
- Review your changes and click Continue. The wizard finishes by performing any actions necessary to add the new role instances. Do not start the new roles at this point. You must run the Prepare Node command as described in the next steps before the roles are started.
- The new host must have the following packages installed on it.
nfs-utils libseccomp lvm2 bridge-utils libtool-ltdl iptables rsync policycoreutils-python selinux-policy-base selinux-policy-targeted ntp ebtables bind-utils nmap-ncat openssl e2fsprogs redhat-lsb-core socat
You must either manually install these packages now, or, allow Cloudera Manager to install them in the next step.If you choose the latter, make sure that Cloudera Manager has the permission needed to install the required packages. To do so, go to the Cloudera Data Science Workbench service and click Configuration. Search for the Install Required Packages property and make sure it is enabled.
- Click Instances and select the new host. From the list of available actions, select the Prepare Node command to install the required packages on the new node.
- On the Instances page, select the new role instances and click .
Using Packages
On an RPM deployment, the procedure to add a worker host to an existing deployment is the same as that required when you first install Cloudera Data Science Workbench on a worker. For instructions, see Installing Cloudera Data Science Workbench on a Worker Host.
Removing a Worker Host
Using Cloudera Manager
- Log into the Cloudera Manager Admin Console.
- Click the Instances tab.
- Select the Docker Daemon and Worker roles on the host to be removed from Cloudera Data Science Workbench.
- Select Stop to confirm the action. Click Close when the process is complete. and click
- On the Instances page, re-select the Docker Daemon and Worker roles that were stopped in the previous step.
- Select Delete to confirm the action. and then click
Changing the Domain Name
Cloudera Data Science Workbench allows you to change the domain of the web console.
Using Cloudera Manager
- Log into the Cloudera Manager Admin Console.
- Go to the Cloudera Data Science Workbench service.
- Click the Configuration tab.
- Search for the Cloudera Data Science Workbench Domain property and modify the value to reflect the new domain.
- Click Save Changes.
- Restart the Cloudera Data Science Workbench service to have the changes go into effect.