Use the hadbm registerpackage command to register the HADB packages that are installed on the hosts in the management domain. Registering packages can also be done when creating a database with the hadbm create command. The default package name is a string starting with V and containing teh version number of the hadbm program. If the ––hosts option is omitted, the package is registered on all enabled hosts in the domain.
Before using the hadbm registerpackage command, ensure that all management agents are configured and running on all the hosts in the hostlist, the repository of the management agent is available for updates, and no software package is already registered with the same package name.
The full path to the HADB software package.
A comma-separated or double quote enclosed list of hosts to register the package on.
The actual HADBM administation password.
The file containing the HADBM administration password. The adminstration password is defined in the following form: HADBM_ADMINPASSWORD=password. Where password is the actual administrator password.
Identifies the URL to the Management Agent. The default is localhost:1862.
The name of the package you are registering. If a package name is not specified, the default name of the software package is used. For example, if you are using the software release V4–4–02, the default package name is V4.4.
hadbm registerpackage --packagepath=hadb_install_dir/SUNWhadb/4.4/v4 Package successfully registered
hadbm registerpackage --packagepath=hadb_install_dir/SUNWhadb/4.4 --hosts=host1,host2,host3 v4 Package successfully registered
the software package could not be found at the specified path on the host
the software package already exists or is registered with the same name