From Wanos Wiki
Revision as of 10:38, 6 June 2015 by Rivery (Talk | contribs)

Jump to: navigation, search

Quick Start Guide – Virtual Appliance

By default Wanos runs in bridge or switch mode. In this back to back lab example, theoretically no configuration is required on the wan optimization appliance to test optimization. In other words, it is plug and play, as long as the wan0 and lan0 are plugged into the correct networks. Here is a generic guide to start up the wan optimization virtual appliance on other hypervisors.

QUICK START GUIDE STEPS

  1. After downloading and extracting the virtual appliance, create a new Linux Virtual Machine with at least 1GB RAM
  2. Use an existing virtual hard drive file and select the wanos.vmdk, vdi or vhd file. For VMware first remove the default SCSI drive and then attach a new SATA or IDE drive and select the existing virtual drive file.
  3. Enable two network interfaces, both with promiscuous enabled. Bridge mode in some Hypervisors. Hyper-V requires Legacy Network Adapters and Mac Spoofing to be enabled. On first boot, eth0 is assigned to wan0 and eth1 to lan0. See the Vmware Guides and vSphere vSwitch Guide for VMware and ESXi specific environments.
  4. Double check the network connections to ensure a bridge loop will not form when the virtual appliances start. Boot and verify by running ‘ifconfig tun0′ from the command line.
  5. Open https://192.168.1.200 from a device on the same IP range or use the wanos-cfg command line utility to change the IP address and gateway.
  6. Under system settings, set the optimization level to ‘high’ for the best reduction rates. By default optimization is enabled for all TCP traffic. In simple single site configurations, the default policies are sufficient. Optionally add traffic policies to exclude traffic in more complex scenarios.

‘Peer detected on lan0′ is an indication that the lan0 and wan0 ports are swapped on either device. Another indication that cables are swapped, is when traffic flows as per normal but the status in the Peer Status tab remains down. Use the virtual machine configuration to align ethernet ports or use the”Switch Interface Port Roles” checkbox under “Network Interfaces” to swap the port roles. After final setup and testing, clear the datastores for good measure.

The LAN and WAN interfaces are configured to bridge traffic and have no IP addresses. One interface should connect to the WAN segment and the other to the LAN segment. Together they form the virtual inpath interface. See the Cabling Guide for tips on identifying the interfaces.

Often an error occurs when booting the appliance without meeting the minimum of two network interfaces requirement. In this case add the second interface, boot the appliance and reset to factory defaults:

/etc/wanos/clean.sh

HOW TO TEST:

Create a file share via CIFS, FTP or HTTP on the server.

  1. Download the files on the server from the test user side machine. Compressible data will receive accelerated throughput on the first transfer. All files, including zipped and executable will receive significant acceleration on the subsequent transfers.
  2. Download a new compressed zip file via one protocol. Note the throughput. Upload the same file via a different protocol to test the bidirectional and cross protocol deduplication.
  3. Add a new 20 Mb zipped file in the server directory. Extract the file and add another 1 Mb zip file and compress the archive. There should now be one 20 MB zip file and another 21 MB zip file. Download the first file and note the throughput. When downloading the 21 MB file, 20 MB of the data will receive significant acceleration and the remaining 1 MB will be new data.

DEFAULT SETTINGS:

  • IP Address: 192.168.1.200/24
  • Gateway: 192.168.1.1
  • Web Username: wanos
  • Web Password: wanos
  • Console Username: tc
  • Console Password: ChangeM3