Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Unix » Duplicate GUID UNIX issue

» Current Poll
Do you leave the Aclient enabled?
YES - 83.05%
196 Votes
NO - 16.95%
40 Votes
Total Votes: 236
You may not vote on this poll.
» Stats
Members: 9,948
Threads: 12,158
Posts: 56,984
Top Poster: Nick (4,991)
Welcome our newest member, rmerrill
» Online Users: 31
0 members and 31 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» July 2010
S M T W T F S
27282930 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 08-15-2007, 11:45 AM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 08-01-2005
Location: VA
Age: 31
Posts: 592


Duplicate GUID UNIX issue

We have an issue where altiris got accidently put into one of the UNIX builds and we have a set of machines with the same guid.

We deleted the /opt/altiris/notification/nsagent/etc/host.GUID off of one of the systems and have waited a day and the system still has not showed up in the database. Are we missing something?
__________________
jperry933 is offline   Reply With Quote
Old 08-15-2007, 01:14 PM   #2 (permalink)
 
reedracer's Avatar
 
Status: Altiris Admin
Join Date: 07-26-2006
Location: Kansas City
Posts: 55


Happened here, too.
  1. You need to make a collection with the bad guid as a filter and when ever one of the boxes show up in that collection, delete the resource from Altiris and delete the /opt/altiris/notification/nsagent/etc/host.GUID file.
  2. In order to get the server to send new data to the NS, you need to so a cleanbeforerun style inventory.
  3. I suspect the Full Inventory job is somehow bad on our servers, so you might look there, too.
  4. If a machine still does not show up, do a complete uninstall/reinstall
There are a few KB articles (kb.altiris.com) detailing Duplicate Guid and Client Removal steps.
reedracer is offline   Reply With Quote
Old 08-15-2007, 01:39 PM   #3 (permalink)
 
Status: Super Altiris Admin
Join Date: 08-01-2005
Location: VA
Age: 31
Posts: 592


What does deleting the computer from the collection do? I would think if the system checked back in and saw the record in the database with the same name and domain, it would assign the same guid again (which is where deleting the recrod might help)... but if you deleted the guid on say, 20 machines at the same time... and left the record in the database 19 should get new guids and 1 would keep it. At least that is my thought.
__________________
jperry933 is offline   Reply With Quote
Old 08-15-2007, 01:53 PM   #4 (permalink)
 
Status: Super Altiris Admin
Join Date: 08-01-2005
Location: VA
Age: 31
Posts: 592


How can you remotely tell a UNIX agent to refresh their policies remotely once the file is deleted? Deleting the file remotely is not an issue, but I would like have the system immediately check in the second the file is deleted so we can get a quick turn around.


Thanks!
__________________
jperry933 is offline   Reply With Quote
Old 08-15-2007, 02:35 PM   #5 (permalink)
 
reedracer's Avatar
 
Status: Altiris Admin
Join Date: 07-26-2006
Location: Kansas City
Posts: 55


Basically you want to ban that GUID so any machines with or getting an image containing the GUID have to get a new one. Dupe GUIDs are bad mojo and cause all kinds of problems. e.g. the inventory for any of the machines with the bad guid is an almagamation of all the machines that checked in with that GUID. On the flip side, any machine that received a new GUID thinks most of its hardware inventory is just fine and does not need to be sent up bacause it has not changed since the last HW inventory. Now you have machines with unreliable data and machines with incomplete data.

On the Windows side, I have any client that checks in with a Duped Guid run a reset GUID immediately. I'm just not as handy in Unix to do the same in UNIX.

If you are remoted in to remove the GUID, then run aex-refreshpolicies to get the new GUID.
reedracer is offline   Reply With Quote
Old 08-15-2007, 03:17 PM   #6 (permalink)
 
Status: Super Altiris Admin
Join Date: 08-01-2005
Location: VA
Age: 31
Posts: 592


Thanks. Yeah, we used to have a duplicate guid issue a while back in windows and I could normally clear it up by just forcing the client to reset the guid, but I normally would nto need to delete the record in the database. I just had to make sure the client I was resetting was not the current "record holder" in the database at the moment because it would just get the same guid back again. So, I am very familiar with all the headaches that comes with duplicates.

I found the aex-refreshpolicies command on the kb article, but it is giving some errors and a new host.guid file is not generating... so I am going to take the reinstall route.

/opt/altiris/notification/nsagent/bin
# ./aex-refreshpolicies
WARNING! The Altiris Agent for UNIX and Linux is not running.

/opt/altiris/notification/nsagent/bin
# ps -eaf | grep aex
34076 1 0 Aug 14 - 0:01 aex-pluginmanager.bin -D
35444 38658 0 14:36:05 pts/1 0:00 grep aex
36656 34076 0 14:30:31 - 0:00 aex-pluginmanager -F -nm -nc

/opt/altiris/notification/nsagent/bin
# /etc/rc.altiris stop
Stopping Altiris Agent for UNIX and Linux: [ OK ]

/opt/altiris/notification/nsagent/bin
# /etc/rc.altiris start
Starting Altiris Agent for UNIX and Linux: [ OK ]

/opt/altiris/notification/nsagent/bin
# ./aex-refreshpolicies
WARNING! The Altiris Agent for UNIX and Linux is not running.
__________________
jperry933 is offline   Reply With Quote
Old 08-15-2007, 04:02 PM   #7 (permalink)
 
reedracer's Avatar
 
Status: Altiris Admin
Join Date: 07-26-2006
Location: Kansas City
Posts: 55


Yeah, I'd reinstall, too, that just looks painful
reedracer is offline   Reply With Quote
Old 08-21-2007, 10:27 AM   #8 (permalink)
 
luisdg's Avatar
 
Status: Altiris Admin
Join Date: 03-09-2006
Location: US
Posts: 58


You can also try the duplicate diagnostics utility provided by Altiris. I've been running it for quite some time now. https://kb.altiris.com/article.asp?article=3848&p=1

Altiris also provides a SQL script to merge duplicate machines if you're running into that too.
luisdg is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:51 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos