How to use the CMDB task Update Network Resource Location to automatically assign locations to computers based on the computer's subnet
|Article:HOWTO64412|||||Created: 2012-01-03|||||Updated: 2013-09-18|||||Article URL http://www.symantec.com/docs/HOWTO64412|
The CMDB task Update Network Resource Location can be used to automatically assign locations to computers based on the computer's subnet. This article describes how to do this. Note: Locations must already exist in CMDB for these instructions to work. The article HOWTO85119, found below in the Related Articles section, describes how to create locations.
Part 1: Create and Configure Subnets
- In the Symantec Management Platform Console, click on the Manage button > Assets.
- Click on to expand the folders Manage Configuration Items > Other Assets.
- Click on Subnet.
- There are no out of box subnets. Manually create or edit subnets as necessary or consider importing these in using the Microsoft Active Directory Import, Network Discovery or a Data Connector import rule.
Part 2: Create and Configure Locations
- In the Symantec Management Platform Console, still in Assets from Part 1, click to expand the folder Organizational Type.
- Click on to expand the folder Organizational Type.
- Click on Location.
- There are no out of box locations. Manually create locations as necessary or consider importing these in using a Data Connector import rule.
- Edit locations and configure their Location to Subnet field to be subnets created in Part 1.
Part 3: Configure and Run the Update Network Resource Location Task
Note: This task is not automatically scheduled to run but must be changed to do so if so desired.
- In the Symantec Management Platform Console, click on the Manage button > Jobs and Tasks.
- Click on to expand the folders System Jobs and Tasks > Service and Asset Management > CMDB.
- Click on Update Network Resource Location.
- Click on the "Select filters" link to set the "Include filter". Note: Ensure that the filter contains the computers to be used.
- Click on the "Save changes" button.
- Click on the New Schedule button.
- Specify Run Now to immediately run the task or schedule a date and time for it to run on.
- Click on the Schedule button.
Troubleshooting and Usage Tips
- Ensure computers have network information (an IP address), which is brought in from basic inventory. This can be checked by going to a computer's Resource Manager and reviewing the Network section. If computers do not have an IP address, they are either not reporting in (perform Agent troubleshooting) or are unmanaged computers (deploy an Agent to them). These issues must be corrected at the Core level before continuing with these instructions.
- If the computer has more than one IP address from multiple network cards, this may present issues determining which subnet it belongs to. Ensure that the latest version of CMDB Solution is installed to be able to most easily accommodate this sort of scenario.
- Computers can have multiple subnets such as from roaming laptops. This can be normal.
- If a computer only has an IPv6 IP address and not an IPv4 address, this may be an issue.
- If the subnet used has a slash in its address, such as v.w.x.y/z, and this fails to match to a location, try removing the slash and range so that the address is just v.w.x.y. If this works, then the slash range was incorrect. Double check a computer that should be on this in its Resource Manager to see what its IP range is. Is this the same or different then the subnet that was tried with the slash?
- If subnets were imported from Active Directory and aren't up-to-date, or become out-of-date, this will result in locations being set incorrectly to computers. The only way to correct this for the customer to ensure that their subnets are correct. A dirty AD can result in a very problematic subnet environment, for example. It's beyond the ability, therefore, for the Update Network Resource Location to work reliable if the subnets are incorrect.
CMDB task Update Network Resource Location is assigning the wrong locations to computers
How to create locations and automatically assign them to computers or users
Article URL http://www.symantec.com/docs/HOWTO64412