You can customize some text and images that are used in the configuration and compliance
GUIs by using the brand.sh script.
About this task
The script is located here:
ncm_install_dir/ncm/bin/utils/support/brand.sh
Procedure
-
Ensure that the path to the Java bin directory is included in the environment's
path.
You can use a command similar to the following
example:
export PATH=path_to_WAS_install_dir/IBM/WebSphere/AppServer/java/bin:$PATH
- Ensure that the
zip
utility is installed. You can use a
command similar to the following to install the utility:
yum install zip
- Run the script by using a command similar to the following:
brand.sh -a path_to_resource_archive.zip -s keystore_password
The following table describes the required and optional arguments.
Table 1. Command-line options for the
brand.sh script
Option |
Description |
-a path_to_resource_archive.zip |
Required. Full path to the resource archive. |
-s keystore_password |
Required. Keystore password for the keystore file. |
-b base_directory |
Optional. Base directory for the target Netcool Configuration
Manager installation. The
default is: /opt/IBM/tivoli/netcool/ncm. |
-c keystore_file |
Optional. Java keystore file for signing the resource bundle jar. The default value is:
/headless/.keystore. |
-k key_alias |
Optional. Alias for the key to use when signing the resource bundle jar. The default value
is: mykey . The given alias must refer to a valid key in the specified keystore
file. |
-K key_password |
Optional. Key password. The default is the same as keystore password. |
-t working_directory |
Optional. A temporary working directory. The default value is:
/var/tmp/brand_221219_180153_5043_tmp.d. |
-l log_mode |
Optional. The logging mode. Allowed values are any one of the following:
- FATAL
- ERROR
- WARN
- INFO
- DEBUG
|
-v |
Optional. Using this option turns on verbose mode, which generates a log file. Verbose mode
is off by default. Turning on verbose mode is equivalent to using the option -l
DEBUG . |
-h |
Optional. Print this usage message and exit successfully. |
- Restart Netcool Configuration
Manager. Clear the Web Start
client-side cache and restart the browser to ensure that all changes are displayed
correctly.
The branding changes are visible in the compliance and configuration
GUIs.
Example
The following example supplies keystore information to the script:
./brand.sh -a /opt/IBM/tivoli/netcool/ncm/bin/utils/support/ibm-tivoli-itncm-vendor-resource-bundle-example.zip -s "customerxxxstore1" -K "customerxxxkey1" -k "customerxxxalias" -l DEBUG -c /opt/IBM/tivoli/netcool/ncm/bin/utils/support/KeyStore.jks