Table of Contents Previous Next


11 Creating a Statically Provisioned Image

An install.sh script is distributed with Ark; use the script when creating a statically provisioned image. Please note: if you are creating a statically provisioned image on a RHEL host, you must register the host before configuring the cluster.
2.
Use scp to copy the install.sh file to the instance.
4.
Then, assume superuser privileges and invoke the install.sh script, including command options and values that specify details about the image:
$ sudo ./install.sh -n postgres -v 10 -u true -c false \
-r http://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-redhat96-10-3.noarch.rpm \
-p "postgresql10-server pgpool-II-10" \
The script returns Script execution complete when the command finishes executing successfully.
When creating a new server with the Ark console that references the image, check the box next to Statically Provisioned on the console properties dialog. For more information about defining a server, see Section 4.1.2 .

11 Creating a Statically Provisioned Image

Table of Contents Previous Next