import-rules

Imports routing rules and schedules to the server.

import-rules 
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
[-k value | --keystore-file=value>
<-p value | --exported-file-path=value> 
[-r value | --resource-pool-name=value]
[-u <true|false> | --use-default-resource-pool=<true|false>]
[-d <true|false> | --disabled=<true|false>]
[-s value | --site-name=value]
[-R value | --rule-conflict-resolution=value]
[-S value | --schedule-conflict-resolution=value]
[-e <true|false> | --test-run=<true|false>]

Overview

Use this command to import all the routing rules and schedules from the given file to the server.

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the bootstrap.xml file. If the tool password is omitted, the command will prompt the end-user for it on the console. See Bootstrap.xml file help topic for more information.
-k value
--keystore-file=value
Optional none The location of the keystore containing the certificates used for securing internal communication.
-p value
--exported-file-path=value
Required none The path to the file containing the rules and schedules to import.
-r value
--resource-pool-name=value
Optional none A resource pool name that can be used if the resource pool for a given rule is not found. The --resource-pool-name and --use-default-resource-pool arguments are mutually exclusive.
-u <true|false>
--use-default-resource-pool=<true|false>
Optional false If enabled and the resource pool for a given rule is not found, the default resource pool will be used instead, and the instances count will be automatically reset to one instance. The --resource-pool-name and --use-default-resource-pool arguments are mutually exclusive.
-d <true|false>
--disabled=<true|false>
Optional false If true, all the rules will be imported in a disabled state.
-s value
--site-name=value
none The name of a site into which the routing rules and schedules will be imported.
-R value
rule-conflict-resolution=value
Optional fail Defines how to handle importing a rule if there already exists a rule with the same name and the same file/user/group. The argument can be one of: fail (default), replace, or skip.
-S value
--schedule-conflict-resolution=value
Optional rename Defines how to handle copying a shared schedule if there already exists a shared schedule with the same name in the target server. The argument can be one of: rename (default), or replace. If the schedules are identical, the schedule in the target server will remain as it was. If the names are the same but the schedules are different, the schedule-conflict-resolution parameter determines whether the schedule in the target server should be renamed or replaced.
-e <true|false>
--test-run=<true|false>
Optional false If true, the import will not actually take place, but the command will produce a preview of the import status of each rule/schedule.