Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The sample script /usr/local/nmis8/admin/export_nodes.pl has been modified to include the UUID in the export.  You can review this code to see how it is added.  This code also uses the method createNodeUUID to create UUID's which might be missing from the nodes file.

Adding and Auditing UUID for Nodes

A script has been included /usr/local/nmis8/admin/uuid_update_nodes.pl which will add any missing UUID's as well as maintain/update the file /usr/local/nmis8/conf/UUID.nmis which is a two way index for determining the UUID of devices and visa versa.  The error below was introducted intentionally.

Code Block
[keiths@nmisdev64 nmis8]$ admin/uuid_update_nodes.pl 
0.00 Begin
ERROR: the improbable has happened, a UUID conflict has been found for 59A2847C-8D41-11E2-A990-F38D7588D2EB, between YINYANG and FOOBAR
0.02 Begin