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 Add Server 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.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, you can use one of the following commands to retrieve a list of the available images for a specific platform and version:
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.
• Check the box next to Statically Provisioned to indicate that the server is statically provisioned. A statically provisioned server is a pre-installed image that contains the software required to create a database cluster.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.Please note: If the server is currently used by an engine, the Ark console will advise you that the server cannot be removed (see Figure 4.14); before removing the server, you must delete any dependent engines.