Setting up a Liberty server directory and a working directory for the Configuration Tool
You must set up a Liberty server directory to contain the configuration of the Configuration Tool server, and a working directory to store the policy definition files. A setup script (savingpolicy.sh) is provided to automate this process.
About this task
- User ID criteria for running the setup script
- To run the setup script, you must be logged in to the z/OS® system with a user ID that has the UID 0 attribute.
- Enter the directory that contains the setup script.
- Run the following command to start the setup script. Only the default z/OS shell is supported.
savingpolicy.shImportant: Before you run the
savingpolicy.shscript, make sure that the /tmp directory has at least 1 MB free space.
Follow the prompts of the script to provide necessary values.
To accept the default value that is shown in the parentheses, enter a blank value.
- When you are prompted to choose if you are deploying the Configuration Tool on z/OSMF or Liberty, enter 2 to select Liberty.
When you are prompted to specify the full path of directory where the Configuration Tool server
is installed, accept the default value, or specify the directory that you want to use.
- The directory must be readable by the STC_USRID and STC_GROUP that are specified in the /var/cdp-uiconfig/cdpui.properties file that is created in Configuring user IDs, group IDs, and security product.
- To avoid possible conflicts, do not use a directory that is defined as the Data Streamer working directory (CDP_HOME) or the Log Forwarder working directory (ZLF_WORK).
- If you specify an existing directory, you are prompted for confirmation because the files in the existing directory might be replaced. Enter y to continue with the directory, or enter n to specify another directory.
- When you are prompted to specify the Java™ home directory, accept the default value, or specify the Java home directory for your system.
- When you are prompted to specify the Configuration Tool Source Script Directory, accept the default value, or specify a directory that is allowed on your system.
What to do next
- Open the file server.xml under the Liberty server directory of the Configuration Tool. By default, you can find this file under /var/local/CDPServer/servers/cdp_ui_server/.
- Change the value of the variable
httpsPortto the port number you want to use.
Next, you need to copy the configuration files from the IBM Z® Operational Log and Data Analytics installation directory to the working directory for the Z Common Data Provider Configuration Tool.