SAP Sybase SQL Anywhere, on-demand edition Customizing Cloud Settings
Module 10 – Customizing Cloud Settings
In this module, you will walk through how to customize settings for the SAP Sybase SQL Anywhere, on-demand edition cloud. The cloud’s description can be updated to reflect its purpose, and options can be changed including the email server, TCP/IP port ranges, and history retention period.
You should now be familiar with creating and adding hosts, servers, and databases to the cloud. You should be comfortable navigating through the Cloud Console, including the Events page.
Configuring Email Server
Some tasks that you can run in the cloud involve sending email alerts to cloud users. For example, administrators may get an email when a critical event, such as a server disconnection, occurs. To allow the cloud to send emails, you must configure the email server.
To configure the email server:
- On the Overview page for the cloud, click Properties in the Cloud Properties menu on the right.
- Click the Email tab in the Cloud properties dialog, and then check Enable email. Fill in the appropriate information for the SMTP Server, SMTP Port, and Sender address as well as any other authentication requirements that your email server has.
- You can click Send Test Email to verify the configuration settings.
- Click OK once the settings are complete. All cloud users with a valid email address will receive email notifications when events occur that have a severity level of either Critical or Error. Recall from the previous module that the email addresses of cloud users can be configured in the Users page.
Configuring TCP/IP Ports
Depending on your network, firewalls, and any other applications you have that may access ports, you may want to change the port ranges used by the OnDemand cloud. Note that any changes to the port ranges will only apply to hosts that are newly added to the cloud. Hosts already in the cloud will not be affected. Refer to the documentation at http://dcx.sybase.com/index.html#cloud100/en/dbcloud/sa-cloud-portranges.html for more information.
To change the port ranges for your cloud:
- On the Overview page for the cloud, click Properties in the Cloud Properties menu on the right, then click the Ports tab in the Cloud Properties dialog.
- The current default port ranges are displayed and can be changed in the text field. The installation default port ranges are:
- TCP Ports: 2638, 49152-49172
- HTTP Ports: 80, 8800-8820
- HTTPS Ports: 443, 4400-4420
- Once you have made the appropriate changes to the port ranges, click OK to confirm the changes.
Setting a Description
A description can be written to provide information about the cloud that you may want to present to cloud users. For example, you may wish to state which types of databases are located in the cloud or explain to cloud users any policies you might have regarding the cloud.
To set the description:
- On the Overview page for the cloud, click Properties in the Cloud Properties menu on the right, then click the General tab in the Cloud Properties dialog.
- Type the description in the provided text field and click OK to confirm. The cloud description will appear on the cloud Overview page under Cloud Properties.
Setting the History Retention Period
The cloud stores detailed information about events and tasks that have been performed in the cloud to allow cloud users to view the history of the cloud’s recent activity. You can decide on the length of time that this historical data should be retained. By default, historical data is retained for 30 days.
To change the history retention period:
- On the Overview page for the cloud, click Properties in the Cloud Properties menu on the right, then click the History tab in the Cloud Properties dialog.
- Specify the length of time in seconds, minutes, hours, days, or weeks and enter a value between 1 and 1000. Click OK.