Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Export Settings command exports the settings defined in the following AdminPoint dialog boxes to an output file in XML format:•    Location

  • Location Settings

...

  • Grouping Settings

...

  • SLA Settings

This command uses the following format:

Windows  

...

 infra\bin\psin_cli.bat
                    -i3-user

...

<user_

...

name>
                    {-i3-encrypted-password

...

<encrypted_

...

password>
                    | -i3-clear-password

...

<clear_

...

password>}
                    -action export-settings
                    -dialog <settings_dialog_type>
                    -settingsfile

...

<path_&_name_of_output_

...

file>
UNIX             ./infra/bin/psin_cli.sh
                    -i3-user <user

...

_

...

name>
                    {-i3-encrypted-password

...

<encrypted_

...

password>
                    | -i3-clear-password

...

<clear_

...

password>}
                    -action export-settings
                    -dialog <settings_dialog_type>
                    -settingsfile

...

<path_&_name_of_output_

...

file>

Dialog argument

The following table describes the syntax of the dialog argument.

Table 7-1    Elements 1 Elements of the Dialog argumentElement    Description

ElementDescription
dialog settings_dialog_

...

name

The type of dialog to be exported. The possible values are:

...

  • locations

...

  • grouping

...

  • sla
settingsfile path_name_of_output_

...

fileThe name of the XML file to export the setting dialogs data to.

Anchor
ImportSettingscommand
ImportSettingscommand
Import Settings command

The Import Settings command imports the settings defined in the following AdminPoint dialog boxes from an input file in XML format:•    Location

  • Location Settings

...

  • Grouping Settings

...

  • SLA Settings

Before the import process, all definitions are backed up and saved to the folder that contains the import file. See Preparing the settings import files on page 102.

The import settings command uses the following format:

Windows  

...

 infra\bin\psin_cli.bat
                  -i3-user <user

...

_

...

name>
                  {-i3-encrypted-password

...

<encrypted_

...

password>
                  | -i3-clear-password

...

<clear_

...

password>}
                  -action import-settings
                  -dialog <settings_dialog_type>
                  -settingsfile

...

<path_&_name_of_output_

...

file>
UNIX          ./infra/bin/psin_cli.sh
                  -i3-user

...

<user_

...

name>
                  {-i3-encrypted-password

...

<encrypted_

...

password>
                  | -i3-clear-password

...

<clear_

...

password>}
                  -action import-settings
                  -dialog <settings_dialog_type>
                  -settingsfile

...

<path_&_name_of_output_

...

file>

Dialog argument

The following table describes the syntax of the dialog argument.

Table 7-2    Elements 2 Elements of the Import-related arguments

Element

...

Description
dialog settings_dialog_

...

name

The type of dialog to be exported. The possible values are:

...

  • locations

...

  • locations-full

...

  • grouping

...

  • sla
settingsfile path_name_of_output_

...

fileThe name of an XML file to export the dialog settings data to.

Anchor
Preparingthesettingsimportfiles
Preparingthesettingsimportfiles
Preparing the settings import files

The settings import file assembles the settings that are defined in the following AdminPoint dialog boxes:•    Location

  • Location Settings

...

  • Grouping Settings

...

  • SLA Settings

Each dialog box requires its own import file. You can create this file either manually or by running the export settings command. See Export Settings command on page 100.

About the locations/locations-full settings import file

Below are details regarding the various locations settings import file.

Locations

Use the locations option when you want to append locations to your previous locations definitions.

Locations-full

Use the locations-full setting if the location settings file represents the entire locations definitions that should be defined in the system.NOTE    Using

Info

Using this setting will replace all previous locations definitions.

Import file structure

The locations/locations-full settings import file is structured as follows:

<locations>
     <location name="<name>" proxy_alias="<Framework node alias>" >
          <ip from="<ip address>" to="<ip address>" />
          1...n
     </location>
     1...n
</locations>

The following is an example of a location settings import file:

<locations>
     <location name="USA Sales" proxy_alias="win-1">
          <ip from="10.1.1.100" to="10.1.2.100" />
          <ip from="10.3.1.100" to="10.3.1.100" />
     </location>
     <location name="France Support" proxy_alias="*">
          <ip from="80.1.2.150" to="80.1.2.200" />
     </location>
</locations>

The following table describes the elements of the location settings import file.

Table 7-3    Elements 3 Elements of the location settings import fileElement    Description

ElementDescription
Location

...

nameThe name of the location. May not exceed 20 characters.
IP

...

fromThe lowest IP within the range. The address should suit the IP mask 253.255.255.255.
IP

...

toThe highest IP within the range. The address should suit the IP mask 253.255.255.255.
Location proxy_

...

aliasThe alias name of the warehouse system the Location is assigned to. '*' indicates all warehouse systems.

About the grouping settings import file

The grouping settings import file is structured as follows:

...