Installing and Managing the Multi Cloudera Manager Dashboard
To use the Multi Cloudera Manager Dashboard to monitor multiple CDH clusters, follow the steps in the following sections.
Installing and Enabling the Multi Cloudera Manager Status Dashboard
Minimum Required Role: Cluster Administrator (also provided by Full Administrator)
You can install the Multi Cloudera Manager Dashboard in either Hosted or Dedicated mode. (See Multi Cloudera Manager Dashboard Modes.
Hosted Mode Installation
Hosted mode uses an existing installation of Cloudera Manager that manages one or more clusters to also display the Multi Cloudera Manager Dashboard.
- Log in to the Cloudera Manager instance as a user with Administrator privileges.
- Select .
- Under Category, select Multi Cloudera Manager Dashboard.
- Select the Enable Multi Cloudera Manager Status Dashboard property.
- Click Save Changes to commit the changes.
http:/Cloudera_Manager_Host:Cloudera_Manager_port/cmf/aggregator/status
Dedicated Mode Installation
To install Multi Cloudera Manager Dashboard in Dedicated mode, you install Cloudera Manager on a single sever using the Installation Wizard, but you do not install CDH and other services.
- Install Cloudera Manager using one of the procedures described in Installation Overview.
- Use a web browser to open the Installation Wizard by logging in to the Cloudera Manager instance at http://<Cloudera Manager Server Host>:7180. Use the default credentials: Username: admin Password: admin.
- Select a Cloudera edition.
- Click Continue.
The Thank You for choosing Cloudera Manager and CDH notice appears.
- Click the ClouderaManager logo to open the Home page.
- Select .
- Under Category, select Multi Cloudera Manager Dashboard.
- Select the Enable Multi Cloudera Manager Status Dashboard property.
- Click Save Changes to commit the changes.
- Log in as root to the host where the Cloudera Manager Server is running.
- Open /etc/default/cloudera-scm-server in a text editor and append the following line to the end of the file:
export CMF_JAVA_OPTS="$CMF_JAVA_OPTS -DCM_AGGREGATOR_UI=true"
- Restart Cloudera Manager on the host where the Cloudera Manager Server is running, using the following command:
service cloudera-scm-server restart
http:/Cloudera_Manager_Host:Cloudera_Manager_port
Adding, Editing, or Deleting a Cloudera Manager Instance to Display on the Dashboard
Minimum Required Role: Cluster Administrator (also provided by Full Administrator)
To select the Cloudera Manager instances that manage cluster(s) you want to monitor using the Multi Cloudera Manager Dashboard, specify a name, URL, and credentials for each instance, using the steps in this section.Cloudera Manager instances monitored by the Multi Cloudera Manager Dashboard must be version 5.5.0 or higher.
Adding a Cloudera Manager to the Dashboard
- Open the Multi Cloudera Manager Dashboard.
- Select the Add Cloudera Managers tab.
- Click Add Cloudera Manager.
The Add Cloudera Manager screen displays.
- Enter a descriptive name for the Cloudera Manager in the Cloudera Manager Name field.
- Enter the URL of the Cloudera Manager in the Cloudera Manager URL field.
- Select one of the following options for Credentials:
- Create a New Account - Creates a new account on the Cloudera Manager instance. If you select this option, enter administrative credentials for the Cloudera Manager instance. The Cloudera Manager instance uses these credentials to create a new, internal account, and the Multi Cloudera Manager Dashboard uses this new account to access monitoring data from Cloudera Manager. The username for this account is not available and is not required. You can use this option to keep access to from the Multi Cloudera Manager Dashboard to the Cloudera Manager instance isolated from changes in the administrative user's credentials.
- Use an Existing Account - Uses the credentials you provide to access monitoring data from the Cloudera Manager instance. If you select this option, enter read-only credentials for the Cloudera Manager instance.
- Click Add Cloudera Manager.
The Cloudera Managers tab displays a line containing the Cloudera Manager instance you just added.
- Click Test Connectivity to make sure you can connect to the Cloudera Manager instance using the URL and credentials you provided. If the test fails, click Edit to modify the connection parameters. If the connection is correct, you can click the URL to open the Cloudera Manager Admin Console.
- Click Add Cloudera Manager again to add additional Cloudera Manager instances.
Managing Multi Cloudera Manager Dashboard Users
Minimum Required Role: User Administrator (also provided by Full Administrator)
Adding an Internal User Account
- Select .
- Click the Add User button.
- Enter a username and password.
- In the Role drop-down menu, select a role for the new user.
- Click Add.
Assigning User Roles
- Select .
- Check the checkbox next to one or more usernames.
- Select .
- In the drop-down menu, select the role.
- Click the Assign Role button.
User Roles for the Multi Cloudera Manager Status Dashboard
- Read-Only
- View configuration and monitoring information in Cloudera Manager.
- View service and monitoring information.
- View events and logs.
- View replication jobs and snapshot policies.
- View YARN applications and Impala queries.
The Read-Only role does not allow the user to:- Add services or take any actions that affect the state of the cluster.
- Use the HDFS file browser.
- Use the HBase table browser.
- Use the Solr Collection Statistics browser.
- User Administrator
- View configuration and monitoring information in Cloudera Manager.
- View service and monitoring information.
- Manage user accounts and configuration of external authentication.
- Use the HDFS file browser, the HBase table browser, and the Solr Collection browser.
- Perform the same tasks as the Read-Only role.
- Full Administrator - Full Administrators have permissions to view all data and do all actions, including reconfiguring and restarting services, and administering other users.
Viewing User Sessions
- Select .
- Click the tab User Sessions.
Managing Multi Cloudera Manager Dashboard Profiles
On the Status tab, each row displays aggregated monitoring information for each Cloudera Manager instance you have added and for each cluster managed by those instances. You can define custom Profiles to define the information that displays on each row on the Status tab. A separate set of custom profiles are maintained for each Cloudera Manager user. Custom profiles are not visible to other users.
- Physical
- HDFS
- HBASE
- IMPALA
- YARN
Adding a Multi Cloudera Manager Status Dashboard Profile
- Select the Profiles tab.
- Click Add Profile. (You can also duplicate an existing profile by clicking the icon next to the profile name and selecting Duplicate.)
The Add Profile dialog box displays.
- Enter a name for the profile.
The new profile is added to the list of profiles, and the configuration for the new profile displays.
- Select the columns and metrics you want to display for this profile by selecting any of the following:
- Show Column - The column displays in the Status table.
- Show Filter - The column is included in the Filters section.
- Expand Filter - For columns included in the Filters section, you can select whether to automatically show the filter
expanded when you go to the Status tab.
For more information about these columns, see Multi Cloudera Manager Status Dashboard Columns.
For more information about metrics, see Multi Cloudera Manager Status Dashboard Metrics. You can also add your own queries to create metrics that display information you want.
- To use the new profile on the dashboard, click Activate next to the Profile name.
You can also select the active profile on the Status tab. Select a profile from the drop-down Profile button located on the right of the Status tab, above the list of Cloudera Manager instances.
Editing a Multi Cloudera Manager Status Dashboard Profile
- Select the Profiles tab.
- Click the name of the profile you want to edit.
- Change the profile as needed.
To see your changes, activate the profile by clicking the drop-down arrow next to its name and selecting Activate.
Deleting a Multi Cloudera Manager Status Dashboard Profile
- Select the Profiles tab.
- Click the icon next to the Profile name.
- Select Delete.
Configuring Metrics to Display on the Multi Cloudera Manager Status Dashboard
Minimum Required Role: Cluster Administrator (also provided by Full Administrator)
The Multi Cloudera Manager Dashboard has a number of default queries you can use to display metrics. See Multi Cloudera Manager Status Dashboard Metrics.
You can also create custom queries by using the tsquery Language to write queries on data from the Cloudera Manager time-series datastore. Queries must return a single stream for display in the Multi Cloudera Manager Dashboard.
Adding a Custom Metric
- Select the Profiles tab.
- Click Configure Metrics.
- In the Aggregate Metrics area, click a icon to add a new metric
beneath the current metric.
A dialog box to define a new metric displays.
- Enter a name for the metric in the Name field.
- Enter a tsquery statement in the Query field.
- Click Save Changes to commit the changes.
- Click the Profiles tab.
- Select a profile.
- Locate the new metric in the list of metrics.
- Select Show Column, Show Filter, or Expand Filter as desired.
Editing a Metric
- Select the Profiles tab.
- Click Configure Metrics.
- Expand the query you want to edit by clicking the icon.
- Change the query statement or the name of the metric.
- Click Save Changes to commit the changes.
Deleting a Metric
- Select the Profiles tab.
- Click Configure Metrics.
- Click the icon in the row containing the query you want to delete.
- Click Save Changes to commit the changes.