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 Amazon, provide the AMI ID in the Image ID field. You can locate the AMI ID on the AWS management console AMIs dashboard. Please note: you should use a server from a trusted source, with a virtualization type of hvm.
• Use the Initial User field to provide the name of the default_user that is specified in the /etc/cloud/cloud.cfg file for the image. This user must have sudo root privileges to perform the initial provisioning of software on the node.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.