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
- 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:
- 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:
In this example you would set the Default value field for
For instructions on how to add a local property, see Creating a local property in the system package.
- Edit a system package to use your newly created local property.
- 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:
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...
Set Default value field to:
On the Basic Config panel of the system package, fill in the Computer name field like this:
OM Server name
Set Default value field to:
On the Basic Config panel of the system package, fill in the OM server name field like this: