AppLogic 2.1/2.2 Documentation The latest production release is AppLogic 2.9.9 LINUX64 - Linux Server based on CentOS 5 (64bit) - Test Plan
Preparation
Host platform
The tests described here for the LINUX64 appliance are designed to run on
AppLogic 2.2+ as 64bit appliance support is needed. All tests are to be run using a regular Applogic user (i.e., non-maintainer).
3rd-party tools
None.
Tests Summary
- Verify that the appliance can be re-created as described in the LINUX64 Implementation Design document.
- Verify that the appliance can be started/stopped with varying memory and CPU resources
- Verify that the appliance's terminals are all operational
- Verify that the appliance provides full build environment
Running the Tests
To run the tests, install a grid with
AppLogic 2.2+
Import the LINUX64 appliance to the /system catalog
Copy and uncompress the test application archive file
linux64-tst-app.tar.bz2. Import the test application (
linux64-tst ).
This is a diagram of the test harness application:
/pub/AppLogic2/CatServerLinux64TestPlan/LINUX64_test.png
Design
Structure
The test application comprises the following:
- one AppLogic application (test harness) containing the LINUX64 component, an input gateway IN, a net gateway NET and a monitor MON.
Test Details
Verify that the appliance can be re-created as described in the LINUX64 Implementation Design document.
- Follow the steps specified within the LINUX64 implementation design to recreate the LINUX64 appliance.
- Move the just created appliance into the
/proto catalog to be used for the remaining tests.
Verify that the appliance can be started/stopped with varying memory and CPU resources
- Configure the LINUX64 test application with network settings for the IN and NET gateways.
- Start the LINUX64 test application and verify that it starts successfully
- SSH into all appliances
- open the MON GUI and verify that all counters for LINUX64 are visible
- Stop the application and configure the LINUX64 appliance to have minimum CPU and memory resources
- Start the application and verify that it starts successfully
- Stop the application and configure the LINUX64 appliance to have CPU and memory resources that are greater than the default
- Start the application and verify that it starts successfully
Verify that the appliance's terminals are all operational
- default interface
- verify that you can successfully SSH into the appliance and can execute various commands - ps, ls, etc.
- in terminal
- SSH into the running appliance and configure an SSH public key
- SSH to the appliance through the IN gateway IP and verify that you end up in the LINUX64 appliance and can execute various commands.
- out terminal
- SSH into the running appliance and verify that you can ping the outside world (e.g., www.google.com)
- mon terminal
- Open the MON GUI from the Editor and verify that all counters are available
- create a view containing CPU usage counter
- from the running appliance run a loop that takes 100% of the cpu load and verify that the resulting cpu load is reflected withing the MON GUI.
Verify that the appliance provides full build environment
- SSH into the appliance and create a simple user-mode C application - it doesn't have to do much
- compile the application and verify that the build succeeds and the application can be run.
- Use "yum install" to install a new development package
--
BeckyH - 25 Sep 2007