3.2.3.6. Variables menu

To clarify management, it is possible to define system variables for MS. These variables all have a scope, depending on which component is selected in the Configuration tree when they are declared.

Altogether, variables can work in three scopes that correspond to configuration levels in the Configuration tree: Site, Host and Component.

Tip

Using variables is especially useful in sophisticated, enterprise PNS environments where complex configurations have to be maintained. When referencing variables inside configuration windows, $ characters must precede and follow their names. For example, $autobind-ip$.

By using variables it is simpler and error-free to change a value that is present at many different places. Modifying a corresponding variable results in changed values everywhere they are used.

Note

Instead of variables, it is recommended to use links.

By default there are two host variables defined:

  • Hostname, and

  • autobind-ip.

3.2.3.6.1. Procedure – Defining variables

Steps: 

  1. Select a Site, Host or Component in the configuration tree.

  2. Navigate to Edit > Variables....

  3. To create a new variable, click New.

  4. Enter the Name-Value pair in the respective fields.

  5. Click Close.

3.2.3.6.2. Procedure – Editing variables

Steps: 

  1. Select a Host in the configuration tree.

  2. Navigate to Edit > Variables....

  3. To edit a variable, select the variable and click Edit.

  4. Enter the new Name-Value pair in the respective fields.

  5. Click Close.

3.2.3.6.3. Procedure – Deleting variables

Steps: 

  1. Select a Host in the configuration tree.

  2. Navigate to Edit > Variables....

  3. To delete a variable, select the variable and click Delete.

    Warning

    There is no confirmation window after clicking Delete, the variable is deleted instantly. Make sure that you only click Delete if you want to actually delete a variable.

  4. Click Close.