This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
BMC Client Management
Any version of BMC Client Management (BCM)
Some of my devices appear then disappear from the console, then reappear again etc
It is more likely a GUID issue: you probably deploy agents within an OS image which contains an agent that had already generated its unique identifier (GUID) As a result all the devices you deploy using this image have the same GUID.
There is no built-in mechanisms to delete agents from the console (apart from setting up an Operational Rule (OR) with the step "Device Clean-up", see below). When a device keeps appearing then disappearing it is usually do the fact that several devices share the same unique identifier, the GloballyUniqueID (GUID).
Before going any further, please read the following Knowledge Article (KA) to learn about the unique identifiers in BCM: Client Management: How is the GUID / GloballyUniqueID managed in BCM? How do we merge GUIDs?
1- The OS image was captured with a BCM agent that has an existing GUID:
- Device20 is deployed using the image that contains an agent with a GUID already set: GUID1
- Device20 uploads an identity containing GUID1 and is therefore integrated to the DataBase (DB) with GUID1 and its own device name, ip address, mac address etc
- Device21 is deployed with the same image, including GUID1
- Device21 uploads an identity containing GUID1: the master compares the GUID with the GUIDs already in the DB, and finds out there's already a GUID1 so it replaces the information from Device20 in the DB with the information uploaded by Device21 (device name, ip address, mac address etc). As a consequence, Device20 seems to have disappeared.
- Device22 uploads an identity containing GUID1 so it replaces Device21 in the DB etc
- Device20 uploads a new identity, still containing GUID, so it replaces Device22 in the DB etc
- [Only for versions < 12.6] "GUIDScheme="
B- Clean it manually on the agents
1- Stop the service of the agent (check that there's no setting that'll restart the service while you'll go through the next steps)
2- Go to the BCM agent install folder
3- Edit the file ../client/config/identity.ini and clean the value of these settings:
- [Only for versions < 12.6] "GUIDScheme="
4- Restart the service of the BCM agent
C- Set the GUID in the GUID Blacklist
- Go to Global Settings > System Variables > Connection Management
When a device with a GUID that is in this black list will upload a new identity to the master, the device will get the order to regenerate its GUID automatically and will then come up with the right GUID into the console.
When capturing a device using a sysprep project with BCM, the GUID is cleared automatically by the RunSysprep.bat script that is executed at the begining of the sysprep capture process.
2- DNS Issue:
Because of a name resolution issue an existing device name could be renamed to another device name. Also, when the DNS resolution issue is fixed it is possible that the device isn't renamed to its original name because it's currently being used by another one. This can be spot easily by comparing the device name of a device to its netbios name.
- "Device1" is stored in the DB as "Device1"
- The DNS stops working well and Device1 becomes Device20 which didn't exist in the DB at that time
- "Device20" is installed and uploads an identity but it isn't integrated as a device falsely called Device20 already exists in the DB
- Fix the DNS issue
- (temporarily) Set "Allow duplicate device names" in Global Settings > System Variables > Connection Management
It could also be possible to rename the device names through queries, e.g:
Update Devices Set DeviceName='DeviceTemp1' where DeviceName='Devicexx';
Update Devices Set DeviceName='Devicexx' where DeviceName='Deviceyy;
Update Devices Set DeviceName='Deviceyy' where DeviceName='DeviceTemp1';
But this would be complicated to do at a wide scale, and support doesn't have a query to share for that.
3- PEBCAK :
Someone actually deleted it manually. This will be logged in the master ../master/log/mtxagent_audit.log*, e.g:
2016/06/10 15:28:24 Vision64Database A  admin1 - 10.5.158.196 - Destroyed object 'Device-03' of type 'Device' and topology type 'Client'
The log shows who deleted it and from which ip address it was done.
4- Automatic deletion by OR:
The step "Device Clean-up" can be used to automatically delete devices that are members of specific device groups on a schedule. An OR containing this step might be assigned to the wrong dynamic device group(s) and delete devices that should not. More information on this step and its usage on the following KA: Client Management: How to automatically delete devices that are not anymore member of any device group synchronized from the AD.
A device uploads its identity
- The OR runs and deletes it from the console
- The device uploads a new identify and therefore appears in the console again
- The OR deletes it again, then the device uploads a new identity etc
Double check if the query populating the device group is correct (or check it with the admin that populates the device group manually).