Creating a LocalHost Endpoint
Click the button to create a new Endpoint, or edit an existing LocalHost Endpoint by clicking on the desired row. Update the required fields as defined in the table below
A localhost endpoint is included with FlexDeploy, and it is very unlikely that you will need to create another localhost endpoint.
The predefined Localhost Endpoint uses variables for BaseDirectory and JDK Home to take advantage of FlexDeploy server's working directory setup and use of same Java Home.
The Localhost endpoint can be useful to run executions on the FlexDeploy server efficiently without any SSH communication.
Field Name | Required | Description |
---|---|---|
Endpoint Name | Yes | The name of the Endpoint. |
Description | No | An optional description for the Endpoint. |
Active | Yes | Whether or not the endpoint is active in the system. Defaults to "Yes". |
Connection Type | localhost | |
Endpoint Address | localhost | The host address of this server. Fixed value of localhost. |
Base Directory | Yes | A working directory on the Endpoint used by FlexDeploy. ~ is not supported here. 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. |
JDK Home | Yes | The JDK Home directory on the Endpoint. |
Source Script | No | An optional script executed right before plugins are executed on the endpoint. Some usages of this script include sourcing an environment file (ie: . $HOME/mfile.env) or exporting a variable (ie: export FLEXAGON_FD_PLUGIN_JAVA_ARGS=”-Xmx1024m -Djava.io.tmpdir=/var/tmp”). Variables exported here will become available to plugin executions on this endpoint. |
Group | No | An optional group identifier which can be useful when searching for Endpoints. |
Subgroup | No | An optional subgroup identifier which can be useful when searching for Endpoints. |
Optionally, click the Test Connection button to validate that the FlexDeploy server can connect to itself properly. This will verify the Base Directory and JDK Home settings.
Click the Save button to save the changes to the Endpoint. Optionally click the Apply button to save the changes, but remain on the current screen until the Cancel button is clicked.
- style