Listing existing soft links to image directories in Cognos Analytics
Important: IBM Cloud Pak® for Data
Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
Use the image.sh script with the -c list_link option to list existing soft links to image directories in a Cognos Analytics service instance.
Synopsis
./image.sh
-c list_link
-n
instance_namespace
-t
tethered_namespace
-u
user_name
-p
password [-h]
Options
- -n instance_namespace
- The namespace or project.
- -p password
- Cloud Pak for Data user password.
- -t tethered_namespace
- Namespace in which Cognos Analytics is provisioned.
- -u user_name
- Cloud Pak for Data username.
- -h
- Prints help to the console and exits.
Example
The following example lists soft links in the Cognos Analytics service instances:
export ADMIN_NAME=<platform administrator user name>
export ADMIN_PASSWORD=<platform administrator password>
./image.sh -c list_link -n ${PROJECT_CPD_INST_OPERANDS} -t ${PROJECT_CPD_INSTANCE_TETHERED} -u ${ADMIN_NAME} -p ${ADMIN_PASSWORD}
Details of the soft links are in the format of
["subdirectory_name:link_name"]:
["portal_subdir:portal"]
Script file
For more information about creating the image.sh script, see Creating administration scripts.