4.1.2 Managing Server ImagesA server definition describes the virtual machine that will host an instance of Advanced Server or PostgreSQL. Use the Server Type Administration section of the Admin tab to manage server images (see Figure 4.10).To create a new server image, connect to the Ark console as a user with administrative privileges, navigate to the Admin tab, and select Add Server. The dialog shown in Figure 4.11 opens.Use the fields on the Add Server dialog to define a new server:
• Use the Server ID field to provide an identifier for the server image. The Server ID must be unique, and may not be modified after saving the server image.
• Use the Server Description field to provide a description of the server image.
• Use the Image ID field to provide the Image ID of the server image.On OpenStack, connect to the OpenStack administrative console and navigate to the list of Images. Select an image name to access the Image Overview and locate the image ID. The image must be either a public image, or available to all tenants or roles that are allowed to run EDB Ark clusters.If you are using Ark with Amazon, provide the AMI ID in the Image ID field. Please note: you should use a server from a trusted source, with a virtualization type of hvm. We recommend using the official Amazon images from the Amazon AWS Marketplace.If you are using an Ark with Azure, you can use the Azure CLI interface to retrieve a list of the machine images that are available in the Azure Marketplace. For information about downloading and installing the Azure CLI, visit:After installing the Azure CLI, use the following command to retrieve a list of the available images:Select an image from a trusted Publisher; when configuring the Ark console, provide the first three elements of the Urn column in the Server Image ID field. For example, if the Urn returned by the CLI is RedHat:RHEL:7.2:7.2.20160921 7.2.20160921, the Image ID is RedHat:RHEL:7.2.
• Use the Initial User field to provide the name of the default operating system user. This user must have sudo root privileges to perform the initial provisioning of software on the node.If you are using an Amazon AWS Marketplace image, the default user name is associated with the backing image; for more information about image user identities, see:
• Use the System Type field drop-down listbox to select the operating system type of the server; select CentOS or RHEL.When you have completed the dialog, click Save to create the server image, or Cancel to exit without saving.Use the Edit Server Details button to open the Edit Server Details dialog (see Figure 4.12) and modify the properties of a server.After modifying the server definition, click Save to make the changes persistent and exit the dialog, or Cancel to exit without saving.To delete a server definition, highlight a server name, and select the Delete Server button. If no engines are dependent on the server, a dialog will open, asking you to confirm that you wish to delete the selected server type (see Figure 4.13).Select the Delete key to remove the server, or Cancel to exit without removing the server.