Create Application Server
Application server creation process is similar to virtual server creation. The difference is that a specific default template is used automatically during application server creation. For more information refer to the Application Server Billing section of this guide.
Before creating an application server:
- Make sure that you specified at least two resolvers for the network on which this server will run at Admin > Settings > Resolvers
- Configure notifications for your cloud at Control Panel > Admin > Notifications > Configuration. For information on how to set up notifications for your cloud, refer to Notifications.
- Fill in the system_email parameter in the
on_app.yml
file
To create an application server:
Go to your Control Panel > Admin > Application Servers menu.
On the screen that appears, click the "+" button or Create Application Server under the list of servers on the screen.
Complete the application server creation form described below.
Step 1. Cloud Locations
The Cloud Locations step applies to those users who have compute zones assigned to location groups in their bucket.
If the user's bucket has several compute zones, some of which are assigned to location groups, whereas others are not - the cloud locations screen will not be available in the wizard. Also, if there is only one location, this step will be skipped. In this case, the wizard will start with the Properties step.
Indicate your application server's cloud location:
- Country - choose the country, where the cloud is located, from the drop-down menu
- City - specify the city, where the cloud is located, from the drop-down menu
Click Next.
Step 2. Properties
Specify the following application server properties:
- Label - the label of the application server. The required parameter.
Hostname - the hostname of the application server. The required parameter. The hostname should consist of letters [A-Z a-z], digits [0-9] and dash [ - ].
Domain - specify the domain for this VS. The default value is localdomain. This parameter is not applicable to Windows virtual servers.
For example:
test.onapp.com - specify ' test' as hostname, ' onapp.com'- as domain. If you leave the domain field blank, the default value ' localdomain' will be used and you will get the following - test.onapp.com.localdomain.
Click Next.
Particular characters are not allowed in hostnames for Windows-based application servers:
percent sign [%]
double quotation marks [“]
brackets [<,>]
vertical bar [|]
caret [^]
ampersand [&]
parentheses [(,)]
Step 3 of 4. Resources
At this step, you can set your application server's resources, such as disk size, network configuration and other.
Compute Resources
Compute Zone - the compute zone to build the application server on.
Compute resource - the specific compute resource to build the application server on. Compute resource may be selected automatically according to the set provisioning type.
Resources
- RAM - set the amount of application server's RAM. The recommended RAM amount is at least 512 MB.
- CPU Cores - set the amount of application server's CPU cores. For KVM compute resources, this parameter sets CPU sockets by default, unless CPU topology is enabled.
CPU Priority (or CPU Units) - set application server's CPU priority. If the CPU units are switched on in the bucket for this user, then CPU priority is replaced with CPU units. Refer to Billing Calculation section for details on CPU units and CPU priority.
The following options are available for application servers based on KVM compute resources only, providing the Allow user to set CPU topology permission is switched on for the user.
- Use CPU Topology - move the slider to the right, to set the following parameters:
CPU Sockets - set the amount of sockets.
Primary Disk
- Data Store - choose a data store for application server's primary disk.
- Primary disk size - set the primary disk size.
Swap Disk
- Data Store - choose a data store for application server's swap disk.
- Swap disk size - set the swap disk size. There is no swap disk for Windows-based application servers. In all other cases, swap disk size must be greater than zero.
- Disable - select the checkbox to disable swap disk creation
Network Configuration
Network Interface 1
- Network - choose the network from which the application server should get the IP address
- IP net - select from the drop-down list the IP net from which the IP address should be assigned
- IP range - select from the drop-down list the IP range from which the IP address should be assigned
IP address - select an IP address to be assigned from the drop-down box
The first IP address you add will be marked as primary for the VS. You can further edit the IP addresses assigned to VS.
Selected IP address - assign an IP address for the application server from the drop-down menu. Only public IP Address can be chosen. Indicate compute resource and network to have the list of available IPs.
Show IP address selection for new application server option is enabled via the ""Show IP address selection for new VS" slider on the Admin > Settings > Configuration screen (under the System tab).
You can't select unlimited port speed if the Network Zone is not selected. In this case the port speed will be 1 by default.
It's possible to create application server with unlimited network speed without selecting a network zone only if you have only one Network Zone assigned to your bucket.- Show only my IP address - tick this checkbox to view only own IP addresses in the IP addresses dropbox.
- Port Speed - set the port speed for this application server
Click Next.
Step 4. Confirmation
- Move the Build Virtual Server slider to the right if you want the system to automatically build the application server. If you leave this box blank, you will have to build your server manually after it is created.
At the Confirmation step you can find the configuration summary of the application server, which will be created. You can view template's name, RAM size, number of networks, primary disk and swap disk size, number of cores.
After you set up all parameters, click the Create Application Server button to start the creation process.