sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | hadbm-extenddomain(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- ERROR CODES
- SEE ALSO

## NAME

> hadbm extenddomain - extends the current HADB management domain by adding the specified hosts

## SYNOPSIS

> `hadbm extenddomain` [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] host_list

## DESCRIPTION

> Use the `hadbm extenddomain` command to add hosts to an existing management domain. All the hosts that will be part of the desired domain must be included in the hostlist. The following prerequisites must be met before using the `hadbm extenddomain` command:

> - An HADB management domain must already exist.

> - HADB management agents are running on the hosts.

> - The management agents on the hosts to be added are not members of an existing domain.

> - All the management agents are configured to use the same port.

> - All the management agents can reach each other over UDP, TCP, and with IP multicast.

## OPTIONS

> w adminpassword

>   The actual HADBM administation password.

> W adminpasswordfile

>   The file from which the HADBM administration password is read.

> m agent

>   Identifies the URL to the Management Agent. The default is localhost:1862.

## OPERANDS

> host_list

>   A comma-separated list of all the hosts that are part of the management domain.

## EXAMPLES

> Example 1. Adding hosts to an HADB management domain

> > >     hadbm extenddomain host4,host5,
> > >     Hosts added, domain is now host1,host2,host3,host4,host5

## EXIT STATUS

> 0

>   command executed successfully

> 1

>   error in executing the command

## ERROR CODES

> 22015

>   the hostlist contains duplicate host names

> 22016

>   the host 3 and host 4 are registered in different management domains. Domains cannot be merged. Use hadbm reducedomain to remove one of the hosts from a domain and then restart the agent

> 22191

>   the specified hosts are already part of the management domain

> 22192

>   the management domain does not exist

> 22196

>   the URL used to connect to management agents spans hosts which are not in the management domain

## SEE ALSO

> `hadbm`(1), `hadbm-create`(1), `hadbm-createdomain`(1), `hadbm-deletedomain`(1), `hadbm-listdomain`(1), `hadbm-reducedomain`(1)

J2EE SDK 1.4 | Go To Top | Last Changed 22 Dec 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.