You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-10-02 19:38:14

bwmcolorado
Member
Registered: 2012-09-27
Posts: 2

Single server containing multiple VM's on GLPI 0.83.4

Team, we've got a scenario here where we're running the FusionInventory on the VM Server and the VM hosts themselves.  For example, let's use 1 VM Server running 3 VM's running on Scientific Linux QEMU/KVM.

The Master server lists all VM's running on the box.  When the VM's report in, their serial number is listed as NULL aka "not specified" which glpi ONLY allows one device per serial number.  So in this scenario, you would only find 1 of the 3 VM's listed in hardware inventory.  IF you rename the NULL SN to say "VM-Number-1", then the 2nd VM would show up in inventory on the next fusion update.  No two unique hardware inventory items can share the same SN.  UDID for each VM has a unique value.

VM's do not report in a particular Serial Number so how do we setup GLPI to inventory and display all of our VM's without having to manually update devices that come in with a NULL SN by default. 

We're running GLPI: 0.83.4
Thanks,
-Brent Maier

Last edited by bwmcolorado (2012-10-02 23:21:46)

Offline

#2 2012-10-02 23:29:35

bwmcolorado
Member
Registered: 2012-09-27
Posts: 2

Re: Single server containing multiple VM's on GLPI 0.83.4

For others in the same boat, here is what we have done.  We created an Equipment import and link rule and inserted it just before "find serial in all glpi", specific for VM's.  UDID is present & exists, Model is "KVM" & "Not Specified".  Then link if possible, else create device.  This will catch those oddball VM's that are coming in with unique UUID's but no SN.

-Brent

Offline

#3 2012-10-03 12:57:06

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Single server containing multiple VM's on GLPI 0.83.4

You can too add in blacklist 'NULL' value for serial number


Support / dev / installation / configuration GLPI : dcs.glpi@dcsit-group.com
DCS : expert GLPI & FusionInventory / Développeur du plugin FusionInventory
IRC #glpi sur freenode.net

Offline

Board footer

Powered by FluxBB