hadbm registerpackage ––packagepath=path [-hosts=host_list] [-adminpasswordfile=filename ] [-agent=ma_url] [package_name]
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 the 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 file from which the administrator user password is read. Passwords can only be supplied interactively or through the password file.
The full path to the HADB software package.
A comma-separated or double quote enclosed list of hosts to register the package on.
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