Skip to main content

UUIDv1RandomMac

Controls how MAC addresses are treated within the UUID infrastructure.

Synopsis

[config]
UUIDv1RandomMac=1

Allowed values are 0 and 1.

Description

This parameter controls how MAC addresses are treated when generating GUIDs. In particular, if this parameter is 1, that causes a MAC address to be represented by 47 bits of randomness and one high multicast bit as per RFC4122Opens in a new tab, Section 4.5. InterSystems suggests that you use UUIDv1RandomMac=1 if you are generating GUIDs where there are multiple instances on one host.

For details, see the CreateGuid() method of %SYSTEM.UtilOpens in a new tab.

Changing This Parameter

On the Advanced Memory page of the Management Portal (System Administration > Configuration > Additional Settings > Advanced Memory), in the UUIDv1RandomMac row, select Edit. Enter 0 or 1 and click Save.

Instead of using the Management Portal, you can change UUIDv1RandomMac in the Config.configOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).

When you edit this setting, it takes effect immediately.

FeedbackOpens in a new tab