Configuring Common REST API options
To configure version 2.1 of CRA
Enter values in the Common Rest API Options panel. For information about these values, see the table that follows the following figure:
Select the required Common REST API Server option (Liberty or Standalone) to
use. If the Liberty Server option value is NO, specify the values for the
Standalone Server option.
More: +
Common Rest API/Liberty User-ID . . . . . . 2222
Common Rest API/Liberty Group-ID . . . . . 2222
Liberty Server Usage:
Install CRA Application On Liberty Server NO (YES/NO)
Liberty Server Base Path . . . . . . . .
/shrd/wlp/usr/servers/WLPSVREJ/dropins
Standalone Server Usage:
Note: This configuration not needed when installing on Liberty server.
Common Rest API Started Task Name . . . . CRATCSRV
Common Rest API Port Number . . . . . . . 15565
Common Rest API Host Name . . . . . . . .
localhost
Note: Port number and host name on which CRA 2.1.0 would be running, the url to access it is: https://<host>:<port>/cra
Common Rest API/CMF Base Path . . . . . .
/u/MAINVIEW/cra210
Java Home Path . . . . . . . . . . . . .
/usr/lpp/java/J17.0_64
Enter SSL details to use HTTPS connection or keep default to use BMC
provided self-signed certificate.
SSL Certificate:
Use SSL Connection . . . . . . . . . . . YES (YES/NO)
SSL Type . . . . . . . . . . . . . . . . (JKS/PKCS12/JCERACFKS)
SSL Certificate Path Or Key Ring Path . .
SSL Private Key/Password (If Required) .
SSL Alias Name . . . . . . . . . . . . .
Client Certificate:
Client Certificate Needed . . . . . . . . NONE (NEED/NONE)
Client Type . . . . . . . . . . . . . . . (JKS/PKCS12/JCERACFKS)
Client Certificate Path Or Key Ring Path
Client Private Key/Password (If Required)
Timeouts:
CRA Request Timeout . . . . . . . . . . . 60
Token Timeout . . . . . . . . . . . . . . 15
CMF Integration With z/OSMF Resource Monitoring:
Configure CMF Integration Server . . . . NO (YES/NO)
CMF Started Task Name . . . . . . . . . . GPMTCSRV
CMF Integration Server Port Number . . . 15567
Section | Field | Value |
---|---|---|
Liberty Server Usage | Install CRA Application On Liberty Server | Enter YES to install Common REST API on a preinstalled WebSphere Liberty server. Default value: NO. |
Liberty Server Base Path | Enter the full path of the dropins folder under the WebSphere Liberty server directory. For example, /shrd/wlp/usr/servers/WLPSVREJ/dropins | |
Standalone Server Usage | Common Rest API Started Task Name | Enter the started task name for the Common REST API. The name must not exceed eight characters. Default value: CRATCSRV |
Common Rest API Port Number | Enter the port number on which the Common REST API runs. Default value: 15565 After completing the configuration process, you can access the UI using one of the following link formats:
https://<host>:<port>/cra/swagger
http://<host>:<port>/cra/swagger | |
Common Rest API Host Name | Enter the host name on which the Common REST API application server runs. Default value: localhost After completing the configuration process, you can access the UI using one of the following link formats:
https://<host>:<port>/cra/swagger
http://<host>:<port>/cra/swagger | |
Common Rest API/CMF Base Path | Enter the root path for a CRA directory. You must specify a unique path for a CRA installation. Default value: /u/MAINVIEW/cra210 | |
Java Home Path | Enter the path for a 64-bit Java17 home directory that exists on the installed host. Default value: /usr/lpp/java/J17.0_64 | |
Use SSL Connection | Enter YES to use an HTTPS connection. Enter NO to use a non-SSL (HTTP) connection. Default value: YES | |
SSL Type | If the Use SSL Connection field value is set to YES, enter the SSL certificate (keystore) type (JKS, JCERACFKS, JCECCARACFKS, or PKCS12). | |
SSL Certificate Path Or Key Ring Path | If the Use SSL Connection field value is set to YES, enter a keystore path or SAF Keyring used for SSL encryption. For JCERACFKS and JCECCARACFKS, specify the valid keyring details. For other types, specify the UNIX location of the keystore. | |
SSL Private Key/Password (If Required) | If the Use SSL Connection field value is set to YES, you must enter a keystore password to be used to protect the integrity of the keystore. The password must contain at least six characters. For JCERACFKS and JCECCARACFKS, the password is password. | |
SSL Alias Name | If the Use SSL Connection field value is set to YES, enter the SSL alias name. | |
Client Certificate Needed | Enter NEED if a client certificate is required.1 Default value: NONE | |
Client Type | If the Client Certificate Needed field value is set to NEED, enter an SSL certificate type (JKS, JCERACFKS, JCECCARACFKS, or PKCS12) to set up a secure connection. | |
Client Certificate Path Or Key Ring Path | If the Client Certificate Needed field value is set to NEED, enter a truststore as a repository of security certificates that is used for SSL encryption. For JCERACFKS and JCECCARACFKS, specify the valid keyring details. For other types, specify the UNIX location of the truststore. | |
Client Private Key/Password (If Required) | If the Client Certificate Needed field value is set to NEED, you must enter a truststore password to protect the integrity of the truststore. The password must contain at least six characters. For JCERACFKS and JCECCARACFKS, the password is password. | |
CRA Request Timeout | (Change only if required) Enter the maximum time in seconds for the Common REST API Backend server Ops Infrastructure to respond. Default value: 60 seconds | |
Token timeout | (Change only if required) Enter the maximum time in minutes a user session is kept active on the server. Default value: 15 minutes | |
CMF Integration With z/OSMF Resource Monitoring 2 | Configure CMF Integration Server | Enter YES to configure CMF integration server with IBM z/OSMF resource monitoring. Default value: NO |
CMF Started Task Name | Enter the started task name for the CMF integration server. Default value: GPMTCSRV | |
CMF Integration Server Port Number | Enter the port number on which the CMF integration server runs. Default value: 15567 |
1 If the Client Certificate Needed field value is set to NEED, make sure that you uncomment the following statements (by removing # marks) from the CRATCENV member that is present in the &INSTALLHLQ.BMCSAMP data set.
The JCL code sample follows:
2 To configure the CMF Integration Server to extract BMC AMI Ops Monitor for CMF data, seeConfiguring CRA to extract CMF data.
Version 2.0 of CRA contains the following configuration information: