Introduction
Nirvana Realm servers contain a large number of configurable
paramters These parameters can be modified using the
nAdminAPI.
The Nirvana Realm config
can also be managed via the Realm enterprise manager.
This also provides a useful guide to the configuration
groups and their specific config entities..
nConfigGroup
When connected to a realm, and using a reference to
an nRealmNode
object, you can access configuration objects that correspond
to a group of configuration entries. To get access to
the config groups, call the following method from a
realm node:
Enumeration cGroups = realm.getConfigGroups();
The enumeration will contain a number of nConfigGroup
objects. Each nConfigGroup contains a number of nConfigEntry
objects, each one corresponds to a specific configurable
parameter in the realm server.
For example, to change the log level of the realm server,
we need to obtain the config group called 'GlobalValues'
and set the 'fLoggerLevel' property:
nConfigGroup grp = realm.getConfigGroup("fLoggerLevel");
nConfigEntry entry = grp.find("fLoggerLevel");
entry.setValue("0");
For a definitive
list of available configuration groups and their
specific properties please see the enterprise manager
guide.
For more information on the Nirvana Administration,
please see the API
documentation, and the administrator
guide.
|