C&I Wiki Portal/OCP Ready

From OpenCompute
Revision as of 15:37, 19 March 2015 by Jlane (talk | contribs)
Jump to navigation Jump to search

OCP Ready Test Suite Packages

OCP Ready Test Suite is a different, more generalized test to ensure your hardware works and could be ready for full OCP Certification.

Installing

Installing is pretty easy. You will need a couple things to get started:

  • A SUT (Server Under Test). This is the system you are going to be testing.
  • A second machine on the same LAN segment running iperf in server mode

The OCP Ready packages are built for Ubuntu 14.04, 14.10 and 15.04. They are based on the new OCP Certification Suite tool which is in turn based on the new Checkbox-NG tool from Canonical.

To install:

  • Install Ubuntu 14.04, 14.10 or 15.04 to the SUT
  • Once Installation is complete and the SUT is rebooted, log in as the non-privileged user.
  • Once logged in:
 $ sudo add-apt-repository ppa:opencompute-developers/ocp-certification-tools-ppa
 $ sudo add-apt-repository ppa:hardware-certification/public
 $ sudo apt-get update
 $ sudo apt-get install opencompute-ready

And that will install all the necessary packages.

Configuring and running the Tool

Edit the file /etc/xdg/opencompute-testing.conf

Uncomment the following four lines:

#TEST_TARGET_FTP = your-ftp-server.example.com
#TEST_USER = anonymous
#TEST_PASS = password
#TEST_TARGET_IPERF =  your-iperf-server.example.com


Edit the TEST_TARGET_IPERF line replacing your-iperf-server.example.com with the IP address (Or FQDN if applicable) of your iperf server

Now simply issue the command:

$ opencompute-ready

and follow the prompts.

Obtaining the Source Code

The tools are fully open source under a GPL v3 license and freely available for download here:

http://code.launchpad.net/opencompute/opencompute-testing

OR via bazaar:

bzr branch lp:opencompute/opencompute-testing


OCP Ready Thumbdrive

The files for the thumbdrive will be available here:

http://people.canonical.com/~jlane/ocp-thumb-drive

Note that this is a rather large download (> 1GB) and will take some time to pull all the files.

The README.thumbdrive file includes instructions on building and using the OCP Ready Thumbdrive.

There is also a /OCP directory that includes some OCP Ready related documentation.

Additionally, the OCP Ready Thumb Drive is based on old code and is not really considered reliable. It's a nice way to demo and explore, but not really something you should be using to pre-test your hardware.