Add a host by creating a host install and running it on the computer(s) that you want to add to the cloud.
You must have the AddHost privilege.
On Linux, you must run as the root user.
Comply with the host requirements. See Requirements for adding hosts
The cloud software must be downloaded to the cloud. See Downloading and redownloading cloud software support packages.
Context and remarks
The host install is large and stays in the cloud for the duration of time that you specify. When you create a host install, you also create a downloader file called dbcloudaddhost. This smaller file is the one that you distribute onto the computers you want to add to the cloud. Running dbcloudaddhost on a computer causes the host install software to be downloaded from the cloud and set up on the computer.
In the Cloud Console, navigate to the Hosts panel, and then click Create host install.
Specify the configuration options for your host install:
|Host install type||
Specify Single use if you have one computer that you want to turn into a cloud host. Single use host installs are no longer available for use once they have been used. When you choose Single use, you must specify the name of the computer for the host name.
Specify Multiple use if you have several (homogeneous) computers you want to add as hosts, or if you expect to run the host install multiple times.
This field is only visible for single-use host installs. Specify the machine name of the host being added to the cloud. The machine name can contain only the following characters: a-z, A-Z, 0-9, minus sign (-), period (.), and underscore (_).
This field is only visible for single-use host installs. Specify whether the IP address of the host is dynamic or static.
Static IP addresses must be valid IPv4 or IPv6 addresses usable from remote machines. Static IP addresses are used when starting cloud servers on the host. They are also used to create connection strings for clients and other to cloud servers running on the host.
|Valid for (days)||
This field is only visible for multiple-use host installs. Specify the number of days that the host install should remain available for download.
|Install can be run on||
This field is only visible for multiple-use host installs. Specify Restricted to enter the names and/or IP addresses for the computers that the host install can be run on. For security purposes, this is the recommended method for installing more than one host.
Specify Unrestricted - can be installed on any machine if you do not want to restrict where the host install can be run.
Select the operating system and bitness of where the host install can be run.
Specify the location to install the software and application data, or accept the default installation directories (recommended). For example, the cloud installation directory defaults to:
The application data directory defaults to:
Specify the ports that cloud servers on the host can use, or accept the default ports (recommended). If you specify an unavailable port, you are prompted to change it before you can proceed.
For a list of the default ports, see Cloud server ports and port ranges.
|Run cloud server(s) as||This option applies only to Linux. Specify the Linux user that will run the cloud software on the host.|
|After installation||Select Create and start a cloud server on the host to start a cloud server on the newly added host.|
Click Create and Download.
A host install is created and a file called dbcloudaddhost is downloaded to the default download location for your browser. This is not the actual host install software. It is an executable that you run on the hosts you want to add to the cloud.
Save a copy of the dbcloudaddhost file on the computer(s) that you are adding to the cloud. Running dbcloudaddhost from the browser is not recommended.
If you chose Multiple use—intending to run the host install on multiple computers—you must put a copy of dbcloudaddhost on each of those computers.
Run dbcloudaddhost on the host(s) you are adding to the cloud.
The executable downloads the appropriate host install from the cloud and runs it.
Scripting tip: When you run dbcloudaddhost from the command line, for example as part of a script, several optional parameters are supported:
Reads in options from the specified environment variable or configuration file.
To protect passwords or other information in the configuration file, use the File Hiding utility to obfuscate the contents of the configuration file.
Specifies the user ID to connect to the cloud (Required).
Specifies the password to connect to the cloud (Required).
Logs output messages to the window and to the specified file.
Suppresses output to the window.
Discuss this page in DocCommentXchange.
|Copyright © 2013, SAP AG or an SAP affiliate company - SAP Sybase SQL Anywhere, on-demand edition 1.0 Support Package 3|