

Graphical User Interface › Class Editor -- Simple Appliances › Config Files Tab
Config Files Tab
The Configuration Files property sheet lets you define a set of files on the appliance volumes that you want CA 3Tera AppLogic to modify. All property values set on the appliance instance will propagate to these files. Such files, for example, would be httpd.conf for Apache web server appliance, my.cnf for MySQL database appliance, and so on.
Note: The Configuration Files property sheet is only supported if the configuration mode for the appliance is set to volfix. If the configuration mode for the appliance is set to dhcp, configuration settings must be handled internally by the appliance.
For each configuration file you want CA 3Tera AppLogic to modify, add an entry in this list.
- Volume
-
The appliance volume where the configuration file resides. Typically this is the boot volume, but in some cases you may want to have the a configuration file on a data volume. CA 3Tera AppLogic can modify config files on instantiable and placeholder volumes that are not read-only.
- Path
-
The path to the configuration file that needs to be modified, relative to the root of the volume. For example, this may be /etc/my.cnf for MySQL's config file.
- Quoting Method
-
The method that CA 3Tera AppLogic will use to quote meta-characters in the value. A "meta-character" is any character that has a special meaning in the config file and must be quoted (or "escaped") in some manner to appear as a data character and not in its special-function role. Based on the type of configuration file you have, the quoting method can be set to one of the following values:
- None or Conf - no quoting (default). The value is stored in the config file as is.
- Bash, Perl or C - data values that are enclosed by quotes are assumed to use \" to mean the quote character and \\ to mean the backslash. Backslashes that don't quote a " or \ character are left untouched, that is, if you set a property value to "abc\def"ghi\n", the result written into the config file is "abc\\def\"ghi\n". Values that are not surrounded by quotes are limited to alphanumeric characters. An error is reported if such a property is set to a value with other characters, even if the filter for that property allows it.
- HTML - the characters that have significance in the HTML syntax (< > " and &) are encoded as < > " and &. For example, abc&def<ghi becomes abc&def<ghi in the config file.
Note:
- You can change the order in the list by selecting an entry and using the up and down buttons on the right side of the list.
- For CA 3Tera AppLogic to properly modify the configuration files and know where to apply the instance property values, you need to have those configuration files instrumented using the Property Markup Syntax. See the Appliance Creation Guide for more details.
- In addition to configuration files you add here, CA 3Tera AppLogic also puts all property values in a small shell script file named /etc/applogic.sh. You can use that file from shell scripts via the source /etc/applogic.sh command. See the Appliance Creation Guide for more details.
Copyright © 2011 CA.
All rights reserved.
 
|
|