How to remove duplicate GUIDs on Unix, Linux and Macintosh clients
search cancel

How to remove duplicate GUIDs on Unix, Linux and Macintosh clients

book

Article ID: 179812

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

 Steps to remove duplicate GUIDs on Unix, Linux and Macintosh clients

Environment

ITMS 8.x

Resolution

The simplest way to do this is the following: 

  1. Delete the resource in a report or collection in the Notification Server console.
  2. Delete the host.GUID file on all of the machines sharing that GUID. The full default path to this file is:

    /opt/altiris/notification/nsagent/etc/host.GUID
     
  3. Wait for the computers to send basic inventory or run “aex-sendbasicinv” on each client.

Note: If you can identify which client is currently reporting inventory, you can simply delete the host.GUID file on the other clients and run aex-sendbasicinv. In this case, there’s no need to delete the resource in the Notification Server console.

You can find the computers that are sharing a guid by running the following query:

select name from item where guid = '<host.GUID value>'

or

select * from resourcekey where resourceguid = '<host.GUID value>'

Note: If you are creating an image on a UNIX, Linux or Macintosh to deploy to other computers, it is recommended that you delete the host.GUID file prior to creating the image. The Altiris Agent for UNIX will request a new GUID for a client if a host.GUID file does not exist or if there is not a value in the file.

Note: You can see how the GUID changed computer names by running either or both of the following queries:

select * from resourcekeychanged where resourceguid = '<host.GUID value>' order by [changetime]

select * from resourcekeychanged where keyvalue like '%<full or partial computer name>%' order by [changetime]