Management Realms


Each management realm controller running on the master node stores its configuration and run-time information in an embedded database.

All database tables and indexes can be accessed using the type information and schema definitions from a single database schema class:

class MrealmSchema(db)[source]

Management realm database schema.

arealm_role_associations: ApplicationRealmRoleAssociations[source]

Association of roles to application realms.

arealms: ApplicationRealms[source]

Application realms defined in this management realm.

static attach(db)[source]

Factory to create a schema from attaching to a database. The schema tables will be automatically mapped as persistant maps and attached to the database slots.

Parameters:

db – zlmdb.Database

Returns:

object of Schema

credentials: Credentials[source]

WAMP client authentication credentials, used for mapping (authmethod, realm, authid) -> principal.

idx_arealm_by_webcluster: IndexApplicationRealmByWebCluster[source]

by web cluster.

Type:

Index on application realms

idx_arealms_by_name: IndexApplicationRealmByName[source]

by name.

Type:

Index on application realms

idx_clusterplacement_by_workername: IndexClusterPlacementByWorkerName[source]

by worker name.

Type:

Index on router worker placements

idx_credentials_by_auth: IndexCredentialsByAuth[source]

Index on credentials (by WAMP auth information).

idx_credentials_by_principal: IndexCredentialsByPrincipal[source]

Index on credentials (by principal_oid, modified).

idx_permissions_by_uri: IndexPermissionByUri[source]

by URI.

Type:

Index on permissions

idx_principals_by_name: IndexPrincipalByName[source]

Index on principals (by name).

idx_roles_by_name: IndexRoleByName[source]

Index on roles (by name).

idx_routerclusters_by_name: IndexRouterClusterByName[source]

by name.

Type:

Index on router clusters

idx_webcluster_webservices: IndexWebClusterWebServices[source]

by …

Type:

Index on web service

idx_webclusters_by_name: IndexWebClusterByName[source]

by name.

Type:

Index of web clusters

idx_webservices_by_path: IndexWebServiceByPath[source]

by HTTP path.

Type:

Index on web services

idx_workergroup_by_cluster: IndexWorkerGroupByCluster[source]

by cluster.

Type:

Index on worker groups

idx_workergroup_by_placement: IndexWorkerGroupByPlacement[source]

by placement.

Type:

Index on worker groups

mnode_logs: MNodeLogs[source]

Managed node log records.

mworker_logs: MWorkerLogs[source]

Managed node worker log records.

permissions: Permissions[source]

Permissions defined on roles.

principals: Principals[source]

Application realm client principals.

roles: Roles[source]

Roles for used in authorization with application routing.

router_workergroup_placements: RouterWorkerGroupClusterPlacements[source]

Router worker cluster placements.

router_workergroups: RouterWorkerGroups[source]

Router worker groups.

routercluster_node_memberships: RouterClusterNodeMemberships[source]

Node membership in router clusters.

routerclusters: RouterClusters[source]

Router clusters defined in this management realm.

webcluster_node_memberships: WebClusterNodeMemberships[source]

Node membership in web clusters.

webclusters: WebClusters[source]

Web clusters.

webservices: WebServices[source]

Web service added to web clusters.

Note

Each management realm has its own dedicated management realm controller database. This database is separate for each management realm and not accessed by any other management realm controller.