Creating locations in CMDB and then automatically assigning them to computers or users is a two-part process. Neither is automatic unless later configured to be so. The following information provides examples of how each process can be accomplished, of which the customer can then decide how best to implement. Note: (1) Various asset types have a Location, including computers, user, monitors, etc. In general, these instructions and the related articles apply to computers or users; however, the customer can adapt these instructions for use with other asset types or assocations, such as departments or cost centers, as applicable. (2) For Departments, one way to automate this can also be via the Microsoft Active Directory Import. However, Active Directory must contain the necessary department data for this to work.
Note: This article can also be used to just create locations but not necessarily assign them to computers. If this is all that is needed, follow just Part 1.
Limitations with Importing Locations
The following important points should be understood on how importing locations does not work:
Locations are not able to be imported using the Microsoft Active Directory Import function.
Locations cannot be imported and then immediately automatically be associated to computers or users during the import.
Computers and users cannot be imported and then automatically be associated to locations that have not first been created or imported into CMDB separately (Part 1, below).
The following instructions assume that computers or users (or the asset types that locations are to be assigned to, such as monitors) are already present in CMDB for locations to later be associated to. If not, the customer will first need to bring these into CMDB, such as by performing a Microsoft Active Directory Import, before continuing with these instructions.
Part 1: Create Locations.
Important Note: Locations should not be confused for departments (Organizational Types > Department) or organizational views and groups (Manage > Organizational Views and Groups). These are all separate. While in many of the articles related to these instructions, departments can be substituted for locations, computers do not have departments; only users do. (Users can actually have both a location and a department.) Organizational groups can have locations or departments, which then include assets such as computers or users, where applicable.
The following are the two most common ways to create locations. Note: This part can be skipped if locations are already present in CMDB.
Locations can be manually created in CMDB by going to Manage > Assets > Organizational Types > Location in a Symantec Management Platform Console. If only a few locations are needed, this is the best process.
Locations can be imported by using a Data Connector import rule. This can be from a data file or directly from AD. If many locations are needed that already exist in a data file or in AD, this is the best process.
Refer to the following article for instructions on how to import locations from a data file:
Refer to the following article for instructions on how to import locations by using a Data Connector import rule that accesses AD. Notes: (1) This process can also automatically assign assets to the imported locations, thereby bypassing the need to perform Part 2. (2) Due to this article's complexity, this is only available internally to Symantec Technical Support, but can be given to customers upon request.
How to import locations from Active Directory using a Data Connector import rule HOWTO59218
Part 2: Automate the Assignment of Locations to Assets.
Various methods are available to automatically assign the location to assets, depending on the asset type. Note: There are no out of box methods to automatically assign locations to users; one of the below methods would have to be therefore used.
For computers only, locations can be automatically assigned using the CMDB task Update Network Resource Location. Refer to the following article on how to do this:
Locations can also be manually assigned by going into the applicable Configuration Item or Organizational Type and then:
* Right click on the asset and then click on CMDB Functions > Assignment Functions > Assign to Location. * Or, edit the asset and then add the location to the Location field.
Part 3: Update Organizational Hierarchy Groups.
Organizational hierarchy (CMDB) groups (Manage > Organizational Views and Groups) will, by default, automatically update with new locations and their assets. Refer to the following article for more information: