DB_ENV->repmgr_add_remote_site API Ref

#include <db.h>

int DB_ENV->repmgr_add_remote_site(DB_ENV *env, const char *host, u_int port, int *eidp, u_int32_t flags);


Description: DB_ENV->repmgr_add_remote_site

The DB_ENV->repmgr_add_remote_site method adds a new replication site to the replication manager's list of known sites. It is not necessary for all sites in a replication group to know about all other sites in the group.

The DB_ENV->repmgr_add_remote_site method may be called at any time during the life of the application.

The DB_ENV->repmgr_add_remote_site method returns a non-zero error value on failure and 0 on success.

Parameters
eidp flags host port


Class DB_ENV
See Also Replication and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.