This repository contains tools needed for the Wavefront "CNA Demo". The cental component is a traces replayer, along with datafiles for simulating scenarios, such as canary deployments.
- Download the distribution from here.
- Create a director and extract the files from the tarball
mkdir ~/cna-demo-tools
cd ~/cna-demo-tools
tar xzf ~/Downloads/cna-demo-tools.gz
- Download the distribution from here here.
- Open a file explorer and navigate to the contents of the archive
- Type Ctrl-A and Ctrl-C to copy all files.
- Create a directory somewhere on your machine
- Navigate to that directory and type Ctrl-V to paste the files into that directory
The tool consists of two components: A server that runs in the background on your computer feeding data in real time to Wavefront and a set of scripts for feeding various data too the tool.
- Open a new terminal window and navigate to where you unpacked the tarball.
- Start the server
./server.sh
- Open a Command window (cmd)
- Navigate to where you unpacked the zip file
- Start the server. A separate window will automatically pop up.
server.bat
- In a shell, navigate to where you unpacked the files
- Type the following
./init.sh
You should not see any error messages
- In a shell, navigate to where you unpacked the files
- Type the following
init.bat <username>
The username should be your VMware username without @vmware, e.g. "prydin". Please refrain from using "funny" usernames, as they will be visible to customer watching the demo. You should not see any error messages.
There are three demo scenarios. They are invoked the same way as the "init" sctript
- init.sh/init.bat - Runs the application with a performance issue at the pricing service.
- canary.sh/canary.bat - Deploys a canary with improved cache. One of the pricing nodes should perform a lot better.
- cache.sh/cache.bat - Deploys an improved cache across all nodes. You should see much better overall perfomance of the entire application.
- Go to the window where you started the server and type Ctrl-C.