Assigning configuration values during device import

You can assign configuration values to devices at the time of the import by adding property values in the MAC address file.

If you assign configuration values in the MAC address file, the provisioning operator does not have to type the values for each device when provisioning the devices. This description explains how to associate a computer name with each MAC address. You can use the techniques described below to automatically fill in many other wizard fields as well.

To manually import a list of MAC addresses and assign configuration values

  1. Add a property to the root Device class. The Device class is one of the built-in classes in the Property Dictionary. In this example, you add a property that represents a computer name. Call your Device property:
    COMPUTER_NAME
  2. Add a local property to the system package you plan to use to provision your devices. This local property makes use of the Device property you created in the previous step. Assume that you call your local system package property:
    COMPUTER_NAME
    In this example you would set the Default value field for LOCAL_COMPUTER_NAME to:
    ??DEVICE.COMPUTER_NAME??
    For instructions on how to add a local property, see Creating a local property in the system package.
  3. Edit a system package to use your newly created local property.
  4. Create a MAC address import file. This file contains the MAC addresses of all the devices to import, along with the property values to assign to each device.
    Enter your newly created local property in the Computer name field on the system package's Basic Configuration panel. For this example, type ??LOCAL_COMPUTER_NAME?? in the Computer name field, be sure to include the double question marks at the beginning and the end. (Another way to enter this property into this field is to click Select Property and select LOCAL_COMPUTER_NAME from the drop-down menu.)
    For more information about using the Basic Configuration panel, see:
  5. Import the MAC address file into BMC Server Automation.
    For information, see Importing a list of devices.
    Now when you run the provisioning wizard to configure each of the devices listed in the MAC address file, the Computer name field is automatically filled in for each device.
    Remember that you can use these same techniques to add and reference other properties, which you can use to fill in other fields in the wizard as well. The table below shows some common examples. (Note that the names of the Device class properties and the system package properties are samples only — you can call your properties whatever you want.)

    If you want this provisioning wizard field to be filled in...

    Create a Device class property called...

    Create a local system package property called...

    Then define your system package to use the new property like this...

    Basic Config
    Computer name

    COMPUTER_NAME

    LOCAL_COMPUTER_NAME
    Set Default value field to:
    DEVICE.COMPUTER_NAME

    On the Basic Config panel of the system package, fill in the Computer name field like this:
    ??LOCAL_COMPUTER_NAME??

    Basic Config
    OM Server name

    OM_NAME

    LOCAL_OM_NAME
    Set Default value field to:
    DEVICE.OM_NAME

    On the Basic Config panel of the system package, fill in the OM server name field like this:
    ??LOCAL_OM_NAME??

Was this page helpful? Yes No Submitting... Thank you

Comments