Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Endpoint Defaults define the default values which appear when creating a new Endpoint.

...

Default Script Variables

Field Name

Type

Description

EndpointName

String

The name of the endpoint.

ConnectionType

String

The connection type for the endpoint. Only "SSH" is supported at this time.

EndpointAddress

String

The DNS name or IP address of the endpoint host.

EndpointPort

Integer

The SSH port for the endpoint.

UserName

String

The operating system user to connect to the endpoint with.

OsType

String

The endpoint operating system (UNIX or WINDOWS).

BaseDirectory

String

The working directory on the endpoint host which will be used by FlexDeploy during plugin execution.

If you standardize of directory location on all servers this default can be very useful when creating new Endpoints. 

For example, /app/flexdeploy.

Working directory under /var/tmp or /tmp folder is not recommended as administrators generally have cron jobs to purge files based on age and that will cause issues when plugin files are deleted. For example, Error: Could not find or load main class flexagon.fd.core.plugin.ExternalPluginServer will be encountered when plugin lib files are deleted.

JavaPath

String

The directory where Java is installed on Endpoint. Note this is the path to a folder containing bin/java.

If you standardize on same Java install on all servers this default can be very useful when creating new Endpoints.

For example, /usr/java/.

PrivateKey

String

The path on the FlexDeploy host to a private key to use when creating new endpoints.