Command Reference

Command Reference

Setting Up Server Configuration

Setting Up Server Configuration

Configure the connection settings for the RulePoint server if you want to use https to run rpcmd. Use the configure command to set up https or http for all the commands.
The command uses the following syntax:
rpcmd.sh configure
Make sure that you have configured secure connection during RulePoint installation.
  1. Run the following command to configure the properties to connect to the RulePoint server
    configure
  2. The utility prompts you if you want to enable HTTPS.
  3. To enable HTTPS, type
    Y
    and press
    ENTER
    .
  4. If you do not want to enable HTTPS, type
    N
    , and skip to Step 6.
  5. If you type
    Y
    , perform the following tasks:
    1. To generate the keystore file, type
      N
      . The file is generated in the
      RULEPOINT_CMD_HOME/bin
      directory.
    2. To use your own keystore file, type
      Y
      , and press
      ENTER
      .
    3. Enter the keystore path, and press
      ENTER
      .
    4. Enter the password for the keystore file, if prompted.
  6. Enter the host name or IP address of the machine where RulePoint is installed.
  7. Enter the port number. The port must be unique. The default port number is 8443 for https and 8080 for http.
  8. Enter the application service name. By default, the service name is rulepoint.
  9. Enter the user name and password that you use for the RulePoint login.
You can use either the http or the https connection to connect to the RulePoint server . When you plan to use https, configure the https settings and run the commands for the various tasks directly. You can choose to override the secure settings while running the commands. In this case, you need to add the connection settings.

Example

If you configured the connections settings, use the following syntax to deploy all objects:
/rpcmd.sh deployall -pn Banking -at responders -as "Default Responder Controller"
If you want to override the connection settings, use the following syntax to deploy all objects:
/rpcmd.sh deployall -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn Banking -at responders -as "Default Responder Controller"

0 COMMENTS

We’d like to hear from you!