BCM Tools (How to add Devices to Inventory Manually)

Did you know that BMC Client Management has the ability to add devices running a Windows, Mac OS x or Linux OS as an “Unconnected” device? This feature allows the Enterprise to add devices in isolated environments such as “Sandboxed”, “No Network Connection”, “Highly Secured” among others. This is a sample use case:
Company A has a DEV environment which is totally isolated from the production network and due to security concerns they are not allowed to open the firewall up between these two networks. Company A needs to be able to account for their time, efforts and change control requests using their ITSM solution and CMDB. BCM can collect both Hardware and/or Software inventory of these computer objects using a batch file run locally on the device. Below are the instructions along with screen captures to better understand this concept.

Remote Inventory Collection via USB

Unconnected devices in BMC Client Management – Inventory are devices of your infrastructure that are never connected to the network. However, CM provides a possibility to inventory (hardware and software) these devices and include the generated inventories in the BCM database . The custom inventory for these devices can only be created directly in the CM console.
Unconnected devices are a specific type of unmanaged devices and are treated in the console as such, that is, in this topic the terms unmanaged and unconnected are treated as synonyms.

Step 1- Preparing for Inventorying Unconnected Devices

Before you can collect data from devices never connected to your organization’s network, you must prepare a USB key, via which the data collection is executed and which will transport the data to any other device of the network. For this, you need a USB key on which the tool provided by BMC Client Management – Inventory is installed. You can find it in the downloaded installation archive in the form of a .zip file under the directory tools/UnconnectedDevices .

  1. Go to directory tools/UnconnectedDevices of the downloaded installation archive.
  2. You will find one .zip file per operating system, that is, one for Mac OS, and one each for 32 and 64 bit Windows and 32 and 64-bit Linux. Select the zip file matching the operating system of the unconnected device.
  3. Copy the file to the USB key and extract it in its directory.
  4. You can put more than one version of the tool on your key, because you can collect the data of more than one unconnected device on a key. The number is only limited by the size of the key.

Source Files Required

Source Files Required


 

Step 2- Collecting Data on the Unconnected Device

The second step for inventorying an unconnected device is to locally collect the information. To do so, proceed as follows:

  1. Go to the unconnected device and connect the USB key.
  2. On the device select the key and the respective directory containing the appropriate tool for the device’s operating system.

Under the directory you can see three executable (.bat) files:
allinventories.bat : This file collects both types of inventories.
hardwareinventory.bat : collects only the hardware inventory of the device
softwareinventory.bat : collects only the software inventory of the device.

  1. Launch the file of the desired type(s) of inventory. A terminal window opens in which you can follow the progress of the data collection. As you can see in the window, in addition to the selected inventories the tool also collects the identity information of the device and further information such as the operating system version and hardware connected information, such as MAC address, disk serial number, and so on.
  2. When the terminal window asks you to, close the window. If you verify now under the tools directory you can see a newly generated file there, unconnected.xml .

The data collection on the unconnected device is now finished.

Batch File

Batch File

Step 3- Integrating the Unconnected Device Inventory into the Database

After all the data is on the USB key you must access any device which is connected to your network and has a CM agent installed. From there you can integrate the collected data via the agents browser interface to the master database.

  1. Insert the USB key in the device.
  2. Open the agent interface, connect as a user with admin rights and go to the Tools page.
  3. There select the Unconnected Devices option.
  4. In this page you must select the file to import the data. For this go to the tool’s directory on the key and select the unconnected.xml. file. This file is the initial file for the data integration process. If you manually modified the file or moved it to another location the process will no longer work.
  5. In the same window a new list box appears below displaying the names of all unconnected devices for which you collected data. You can select any number of devices to be integrated.
  6. Click Integrate to start the process. The collected data of the selected devices will now be copied by the agent from the USB key and sent to the master. After there all will be integrated in the CM database.
  7. To verify that the integration worked properly, a new browser window opens which lists all devices of which the collected data were correctly sent to the master and thus integrated. The inventories themselves cannot be displayed in the agent interface.

The data integration of unconnected devices is now complete and its results can be viewed in the console.

Select File to import

Select File to import


Select Devices

Select Devices

Displaying Unconnected Device Inventory

The identity and inventory data of unconnected devices, that is, devices without CM agent or unconnected devices, can only be displayed via the console.
Since unconnected devices, as their name implies, are not connected to the network, they will not appear under the Device Topology node. They are available in either of the following ways:

  1. Lost and Found If no device groups collecting the unmanaged device topology type, the integrated devices will appear under the Lost and Found node.
  2. Search You can also specifically search for unmanaged devices under the Search node.
  3. Device Groups If you have a device group collecting ALL devices, or any type of group which includes the unmanaged device type, the unconnected devices of which the data was integrated into the master database will appear among its members.

Unconnected devices are represented by different icons than the other devices in the console, because they are neither unknown, nor is their connection established or lost. Unconnected devices are represented by an orange icon , which, same as for the other connected devices indicate the operating system of the respective device, if known , , and . As such devices are not necessarily simple desktop devices, but also other network devices such as routers, switches, printers, and so on, they are represented by their specific icons.

Device added to Client Management

Device added to Client Management

2017-02-21T13:40:37+00:00February 21st, 2017|FPAC|