props  refresh

Chapter 12: Using jagtool and jagant

rebind

Description

Rebinds a cluster, which refreshes all of the name servers within the cluster.

Syntax

Local mode support: No.

Command line:

rebind connect-args Cluster:name

Ant build file:

<jag_rebind entity=”Cluster:name” />

Option

Description

Required

connect-args

Arguments to specify a connection to the server. See “Using connected mode”.

Yes

name

The name of the cluster to rebind.

Yes

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Usage

If you add a component to a server that is already part of a cluster and want to make that component available to the cluster, you need to rebind the cluster. You can also use the rebind option if a problem occurs when you synchronize the cluster; if for example, one of the name servers is slow to start.

See also

Chapter 6, “Clusters and Synchronization.”





Copyright © 2005. Sybase Inc. All rights reserved. refresh