Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - CPU-Seriennummer für die Konstruktion von UUIDs

Subject:

Re: CPU Serialnumber

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2011.03.28 02:13:42


IIRC, the "machine" part of the UUID, as we build it, consists of the machine
serial number and a LPAR identification. Works ok for us.

You will also have to add the LPAR info, because the serial number alone will
probably lead to duplicate UUIDs.

Kind regards

Bernd



Am Dienstag, 29. März 2011 07:55 schrieben Sie:
> > We have a C function that creates UUIDs and it uses CSRSI.
> > Works without problems. No ASSEMBLER needed, and no privileged
> > instructions.
>
> That is kind of funny: we want to replace the C function we currently use.
> It's the last bit of C we have and it doesn't even meet the UUID type I
> specifications. After a lot of detours it uses a random number instead of a
> MAC address or other unique machine identification. We'll replace it with
> an assembler routine that uses the serial number. I know, not quite the MAC
> address either but it will match the output of the TSO command UUIDGEN.
>
> F.
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie