IN and outputs such as DBASE and LOG
Content volume
eth0 vNIC is always set up as a default interface, which gives you the ability to log onto the appliance, install software and troubleshoot it, the same way you would do with any remote server.
In addition, AppLogic creates a separate vNIC for each terminal (input or output) defined on the boundary of the appliance. While it is possible to direct all traffic in and out of the appliance through a single vNIC, having a separate vNIC per terminal makes it easy for AppLogic to shape and monitor network traffic, enforce connection protocols and improve security.
The boundary contains a set of appliance-specific properties, or parameters which you can use to configure the appliance. When you start the appliance, AppLogic automatically creates an environment variable for each property and initializes it with the value that you have assigned to that property. In addition, AppLogic propagates the property values into one or more of the configuration files contained on the boot volume. This makes it easy to use properties as the primary mechanism for configuring appliances.
The boundary may also contain one or more volume placeholders. A placeholder is a predefined slot for a storage volume. You fill up the slot by configuring the appliance with the name of a volume to mount. This gives you the virtual equivalent of a removable disk. Many of the appliances use this mechanism to access content such as HTML pages, custom code, or databases.
AppLogic also assigns to each appliance a hardware resource budget that includes a set of three ranges that define minimum and maximum CPU use, memory use, and bandwidth use for the appliance.
Finally, Applogic associates with each appliance a set of execution attributes that affect the way the system schedules and runs the appliance. You are likely to use frequently two of those attributes - the start order value, and the migrateable flag. The start order allows you to specify and change the order in which appliances from the same application start, accounting for any dependencies among them. The migrateable flag is true by default and indicates to AppLogic that it is OK to migrate this appliance from one server to another at the scheduler's discretion. Setting this flag to false will allow you to keep the appliance on a specific server.
app1 and app2 which are instances of the same class APP, and a network attached storage (NAS) appliance nas1 of class NAS. The outputs of both application servers are connected to the cifs input of the nas1 box. The NAS appliance is configured with a suitably large volume, sufficient to meet the storage needs of app1 and app2. Each appliance is configured with additional properties and attributes as needed.
AppLogic makes it easy to describe arbitrarily complex structures of virtual appliances in a uniform way by capturing the set of instances that participate in them, the configuration parameters for each instance and the connections between their terminals. This allows AppLogic to instantiate such structures automatically, by interpreting structure descriptions, instantiating appliances, configuring them with the provided values and establishing virtual wires, through which the appliances will interact.
in input and forwards each request to one of its five HTTP outputs, namely img, out1, out2, out3, and out4. It also has an output named log through which it generates messages that need to be logged in a system log.
The web switch has three main functions:
img output
out1 ... out4 in a load-balanced fashion
in, img, log, etc.).
The web switch is assembled from three appliances - a URL switch url of class urlsw, an HTTP load balancer lb of class web_lb, and a content caching appliance cache of class squid.
in terminal. If the URL maches one of the expressions, the switch forwards the whole request through the respective output out1 ... out4. If there is no mach, the request is forwarded through the aux terminal.
The load balancer accepts HTTP requests on its in input and forwards them in a load-balanced fashion through its out1 ... out4 outputs. In addition, it has a log output through which it generates log messages that can be collected in a system-wide log.
The cache is a content cache in memory. It accepts incoming HTTP requests on in and tries to satisfy them from the cache. If the requested object is not found in the cache, the appliance forwards the request through its out terminal and optionally caches the object when the request completes.
In the web switch appliance, the URL switch is configured to recognize the patch for static images within incoming URLs, and forward whose requests on out1 which is connected to the input of the cache. All other HTTp requests leave url through the aux output and are fed into the load balancer. The rest of the web switch behavior should be fairly obvious.
Top and Main respectively, and a local catalog that contains classes used only in this application. The application may contain additional singletons if you define them, and those will be referenced in the application descriptor the same way as Top and Main are.
Main singleton is an assembly that contains the top-level structure of the application. For obvious reasons, each application has one of those. The Top singleton is the topmost assembly in the application. It contains the single instance of Main, and configures it with the application settings - instance settings that apply to the application as a whole.
| Topic AdvApplicationModel . { Edit | WYSIWYG | Attach | Backlinks: Web All webs | Printable | History: %REVISIONS% More } |
|
Copyright © 2005-2007 3tera, Inc. All Rights Reserved.
|