Creating a profile to use the cpd-cli management commands
Before you can complete certain set up and management tasks for IBM® Cloud Pak for
Data, you must create a profile so that you can
run the appropriate cpd-cli
commands.
About this task
Any user who plans to complete the following tasks needs to create a profile:
- Gathering diagnostics and checking the health of the Cloud Pak for Data cluster (by running the
cpd-cli diag
command) - Managing Cloud Pak for Data users (by running the
cpd-cli user-mgmt
command) - Managing service instances (by running the
cpd-cli service-instance
command) - Migrating data, including metadata, between Cloud Pak for Data deployments (by running the
cpd-cli export-import
command)
Before you run any cpd-cli
commands, ensure that:
- You downloaded the
cpd-cli
11.3.0 command line utility for your operating system and Cloud Pak for Data edition from: https://github.com/IBM/cpd-cli/releases.
A profile enables the cpd-cli
to verify that you are a Cloud Pak for Data user and that you have the appropriate
administrator permissions to complete a given task.
Procedure
Results
You can now run cpd-cli
commands with this profile using the
--profile
flag. For example:
./cpd-cli service-instance list --profile cpd-admin-profile
Otherwise, you receive an Error: required flag(s) "profile" not set error.