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>]
[-i <true|false> | --ignore-unavailable-files=<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 |
---|---|---|---|
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
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 prompts the end-user for it on the console. See Bootstrap.xml file help topic for more information. |
|
Optional | none | The location of the keystore containing the certificates used for securing internal communication. |
|
Required | none | The path to the file containing the rules and schedules to import. |
|
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. |
|
Optional | false | If enabled and the resource pool for a given rule is not found, the default resource pool is used instead, and the instances count is automatically reset to one instance. The --resource-pool-name and --use-default-resource-pool arguments are mutually exclusive. |
|
Optional | false | If
true , all of the rules are imported in a disabled state.
|
|
none | The name of a site into which the routing rules and schedules are imported. | |
|
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 the following.
|
|
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 ofthe following.
|
|
Optional | false | If
true , the import does not take place. The command produces a preview of the import status of each rule/schedule.
|
|
Optional | false | Defines how to scheduled jobs if jobs or files are not available. If
true , then the associated scheduled jobs or routing rules are not created.
|
Parent topic: Command-line reference
Related information