Rules are used to enforce business logic and manage resources in the cloud and can be specified for hosts, cloud servers, and databases.
Checking that a rule is valid involves using the rule definition to search for cloud objects that violate the rule. Because these search queries look for violators, write the rule definition to search for objects that are not following the rule.
For example, to specify that your database must run on a cloud server that has the tag USA, define the rule as follows:
When the cloud checks that the rule is valid, it searches for the database and checks that the database is not running on a cloud server with the tag USA. If the search query returns a result, then the database is violating the rule.
Discuss this page in DocCommentXchange.
|Copyright © 2013, SAP AG or an SAP affiliate company - SAP Sybase SQL Anywhere, on-demand edition 1.0 Support Package 3|