Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

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 Commandshadbm-deletedomain(1)


NAME

 hadbm deletedomain - removes the HADB management domain

SYNOPSIS

 hadbm deletedomain [adminpassword=password | adminpasswordfile=filename] [agent=ma_url]

DESCRIPTION

Before using the hadbm deletedomain command, the following prerequisites must be met:

  • An HADB management domain must already exist

  • All agents in the domain must be running

  • No databases exist in the domain

After successfully executing , the hadbm deletedomain command, the management agents of the removed hosts are stopped, and the repository of the deleted hosts is cleaned up. If the agents are restarted, they will not be part of any domain. To have the restarted agents associated with a domain, create a new management domain using the hadbm createdomain command.

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.

EXAMPLES

Example 1. Deleting the Management Domain
hadbm deletedomain
This command will delete the domain host1,host2,host3.
Type "yes" or "y" to confirm this 
operation, anything else to cancel: y
Domain hostlist has been deleted.

EXIT STATUS

0

command executed successfully

1

error in executing the command

ERROR CODES

22192

the management domain does not exist

22194

hosts cannot be removed because they contain databases

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-extenddomain(1), hadbm-listdomain(1), hadbm-reducedomain(1)


J2EE SDK 1.4Go To TopLast Changed 22 Dec 2004