Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

ConvertServerToCloudPartner task

Converts the specified cloud server to a cloud partner.

Syntax 1 (SQL)
CALL DBCloud.ConvertServerToCloudPartner ( server=server )
Syntax 2 (Cloud Command utility)
dbcloudcmd run ConvertServerToCloudPartner server
Parameters
  • server

    The cloud server to convert to the cloud partner. Accepts a search query that identifies one cloud server, for example a cloud server name or ID. (Required)

Required privileges

AlterCloud

Remarks

This task converts a cloud server to a cloud partner for the cloud high availability system. For this task to succeed, a cloud arbiter must already be defined and there cannot be more than one cloud server already defined as a cloud partner.

Converting a cloud server to a cloud partner can result in the cloud being unavailable for a short time.

A cloud partner always uses the fixed TCP/IP, HTTP, and HTTPS port that the cloud server was using when it was converted to a cloud partner.

Do not use this task within an ExecuteTaskBatch task

Example

Run the following task to convert the cloud server my-server#4 to a cloud partner:

dbcloudcmd run ConvertServerToCloudPartner server="my-server#4"