>
> Many HP servers do contain bar codes. Some of these barcodes are just
for serial number, and mac address, and even HP ilo DNS name.
>
> I guess the question is do most people use these bar codes are do they
make their own codes. If they make their own do they use QR codes? QR
codes are nice because
> they are easy to make and can contain arbitrary information.
>
>
> Example Create Method:
> http://goqr.me (300 Char limit for less complex QR codes). This could
be a csv line. These can easily be printed out and affixed to any machine
for identification. The only problem I see is what will be stored in the
QR code?
> Should it be CSV record with serveral points of data?
>
> If so what should be stored?
>
> Serial, BMC info, Mac address, date of purchase, internal ID
Mac addresses can change… But anyway… Most of that info on barcode
would be moot if server setup was via bare metal discovery / 3 phase boot
for me… Which to me has been the ultimate goal.
Once server is up and in Foreman all I need is the convenience lookup…
And extending the thoughts a bit - allowing remote hands to trigger
maintenance events when he/she initiates hardware maintenance for example -
I imagine triggering custom audit events from RemoteAdmin which then could
trigger irc notifications (via Foreman plugin hooks probably?) or Nagios
maintenance scheduling etc…
But by all means - for the non-discovery crowd serial, bmc info, mac as you
mention would be relevant.
I'm really liking where this is going…
>
> Thanks,
>
> Corey Osman
> corey@logicminds.biz
> Green IT and Data Center Automation Specialist
>
>
>
>
>
>
>
>>>
>>>
>>>
>>>>
>>>> > What information would need to be stored on the barcode or nfc tag
in order
>>>> > to search for the host to provision it?
>>>> >
>>>> > mac address? Serial number? Should the barcode ID be stored in the
host?
>>>>
>>>> The current implementation uses facts discovered while booted into the
>>>> ramdisk, so if the app were to assemble anything found in the
>>>> NFC/Barcode into a hash and submit it the same way, then the system
>>>> would work the same. MAC address of eth0 would be mandatory, as I'm
>>>> using that in place of a hostname (since the machine is unprovisioned
>>>> yet, it might not have one).
>>>>
>>>> I can see a flow of something like:
>>>>
>>>> 1) Get the MAC
>>>> 2) Search for it among the existing hosts in Foreman
>>>> 2a) If found, jump to it for further work (possibly upload tag data to
>>>> it as facts?)
>>>> 3) Offer to submit a DiscoveredHost using the data in the tag
>>>>
>>>> Does that make sense?
>
>
> Yea, that all makes sense. It would be nice to get the BMC information
as well. But that can be set during the provisioning process if it not
available.
>
>
>
>>>>
>>>> Greg
>>>
>>>
>>> Regarding vendor barcodes (asset tags), as far as I understand, the
info we want is not neccearily stored on the barcode, but rather the bar
code has a UUID-like identifier (perhaps a serial number or service tag?)
that links that system to a vendor db, that has the info we want. (Please
bear in mind my info is at least 7 years out of date, but we can, and
probably should, reach out to contacts at Sun/Oracle, Dell and HP and
confirm how they handle this.)
>>>
>>> See this Dell page for examples of data stores in the barcode
http://www1.euro.dell.com/content/learnmore/learnmore.aspx/hmc_anti_theft_device_and_asset_tagging?c=ie&l=en
>>>
>>> HP page is less helpful:
http://www.hp.com/latam/caribbean/pyme/soluciones/0206_cto_etiquet.html
>>>
>>> Hmm reading these lead me to believe that it's going to be challenging
to come up with a universal system that works, even for a
single manufacturer. e.g. Dell supports at least 6 standard variants of an
asset tag, with the only common data being the "Service Tag", yet Dell and
HP seem to also support "custom barcodes" for larger customers.
>>
>>
>> Hmm rereading the Dell page again leads me to believe that the
information encoded in the barcode is strictly a unique 7 character
alphanumeric string know as the "service tag". (The other details seem to
just be printed on the label and aren't encoded in the barcode).
>>
>> So I think to support this we need to add a string field to a host
called something like "Asset Tag" (assuming we want to support this in a
vendor neutral fashion), that when we import systems, we'd need to combine
it with the other data we want from a different data source.
···
On 28 Dec 2012 19:03, "Corey Osman" wrote:
> On Dec 28, 2012, at 8:55 AM, Brian Gupta wrote:
>> On Fri, Dec 28, 2012 at 11:38 AM, Brian Gupta wrote:
>>> On Fri, Dec 28, 2012 at 7:38 AM, Greg Sutcliffe < greg.sutcliffe@gmail.com> wrote:
>>>> On 24 December 2012 23:24, Corey Osman wrote:
>>
>>> -Brian
>>>
>>> --
>>>
>>
>>
>>
>> --
>>
>