ACE Management Server Administrator's Manual
Database Schema
Tables in the ACE Management Server database represent the major configuration
objects of ACE Management Server, including Ace, Package, Instance, Access Policy,
Runtime Policy, and User Data, which contains image customization settings and other
data for each user. Administrator and user actions are audit logged in the Event table
in the database, while possible event types are listed in the EventType table.
Note the following about the database schema:
A few tables with internal system information and indexes are not listed.
Boolean values are stored as strings with TRUE or FALSE values.
Timestamps are stored as decimal 64‐bit number strings showing the number of
microseconds from 12:00 a.m 01/01/1970.
Other dates and times are stored as decimal strings showing the number of
seconds from 12:00 a.m 01/01/1970.
ACE, Package, Instance, Access, and UserData records are never deleted from the
database. They are marked as deleted with the deleted field set to TRUE, so that
the previous information can be inspected for audit purposes.
The guest and host operating system portions of the ACE policy set are stored in
the PolicyDb_RuntimePolicy table in respective fields as strings, if their size is less
than 2000 bytes. If the policy component exceeds 2000 bytes, the string is split in
2000‐byte chunks and stored in the PolicyDb_LongField table. In this case, the
value for the respective ExtKey field in the RuntimePolicy table contains the
foreign key pointing to the corresponding series of strings in the LongField table
(see the notes in the table definition).
The following is the database schema script.
/* Name – value pairs of service information, e.g. DB schema version number */
CREATE TABLE PolicyDb_MetaInfo (
name VARCHAR(128),
value VARCHAR(1024),
PRIMARY KEY(name));
/* This table holds data for guest and host policy sets, split in 2K chunks */
/* Select all fields for the key in the order of index and append strings together */
/* to reconstruct the policy set */
CREATE TABLE PolicyDb_LongField (
longFieldKey VARCHAR(128),
longFieldIndex INTEGER,
longFieldValue VARCHAR(2000),
sessionExpires VARCHAR(21),
PRIMARY KEY (longFieldKey, longFieldIndex));
76
/* Name of the name-value pair */
/* Value of the name-value pair */
/* Unique ID of the long field series */
/* Index in the series */
/* Up to 2000 chars of field value chunk */
/* Optional field for storing session blob */
VMware, Inc.