Creating Management Domains

The hadbm createdomain command creates a management domain of HADB hosts listed in hostlist, by initializing the internal communication channels between hosts, along with the persistence configuration store.

The following prerequisites must be met before using the hadbm createdomain command:

All the hosts that are part of the desired domain must be included in the hostlist.

To form a domain, the hostlist must consist of valid network addresses and hostnames. After the management domain is successfully created, all the hosts in the domain are enabled and the management agents are ready to manage databases.


Note

HADB supports only IP v4 addresses.


Usage:     hadbm createdomain [--adminpassword=password |--adminpasswordfile=file | --no-adminauthentication --agent=maurl] hostlist

After creating the HADB domains, create the HADB database that will hold your data. For more information on creating HADB databases, see "Creating a Database".


Note

The adminpassword is different from hadbm dbpassword command.


Example for Creating an HADB Management Domain

The command syntax:

hadbm createdomain --adminpassword=password host1,host2,host3,host4

Domain host1,host2,host3 created.


Note

Do not use dynamic IP addresses (DHCP) for host list.


Consult the following tables for more details on the options and operands used with hadbm createdomain command.

Table 0-4  hadbm createdomain command options

Option

Description

Type/Value-ranges

Default

-w
--adminpasword=password

Use the adminpasswordfile option to provide the password as a path to a file that contains the password.

String

None

-W
--adminpasswordfile=file

Use the adminpasswordfile option to provide the password as a path to a file that contains the password.

Pathname

None

-U
--no-adminauthentication

The --no-adminauthentication option allows the administrator to use all hadbm commands without providing the administrator’s password.

String

None

-agent=maurl

The port number of the management agent. The default is 1862

String

1862

s

Table 0-5  hadbm createdomain Operand

Option

Description

Type/Value-ranges

Default

hostlist

Comma separated list of all hosts that are part of the management domain.

String

None

The following commands are available to manage HADB domains:

For more information on using these commands, see the hadbm createdomain manpage in the Sun Java System Application Server Enterprise Edition 8 2004Q4 Beta Utility Reference manual.


Legal Notices