C&I Wiki Portal/OCP Ready
Jump to navigation
Jump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
== 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:<br> <nowiki>$ 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</nowiki> 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 == '''NOTE: The Thumbdrive is being deprecated and likely will not be maintained. Eventually, this will be updated with instructions for creating your own''' 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. === Build your own === Building your own is not terribly difficult. The following will allow you to build your own USB Thumbdrive and assumes you are using Ubuntu to do the building. ''Note: This is not the same process we used to create the original USB images, that process is far more involved, but this will suffice for getting you a bootable device.'' You will need the following: * A USB thumb drive that is at least 2GB in size * A Ubuntu Desktop or Server 14.04 LTS ISO image. (Later versions will also work) ** We use the Desktop image to provide a more useful system. Please note that the actual test tools are console based so using Desktop or Server here is completely at your discretion. * A computer running Ubuntu (Desktop here, we need the GTK Tools for the following, there is likely a way to do this purely from console, this is just easier and faster to describe). These next steps will create the bootable USB stick initially. # Insert the USB thumb drive into your computer running Ubuntu Desktop. # Open the Dash (Hit the Windows key or click on the top most icon on the Unity Panel). # Type USB and when you see '''Startup Disk Creator''' click on that to launch the tool. # Set the following items in USB Creator GTK (Also known as Startup Disk Creator). ## Under '''Source disc image''', click '''Other''' and locate your Ubuntu ISO image and click '''Open'''. It should now appear in the upper display. ## In '''Disk to use''', select the USB Thumb Drive you wish to build. ## Click '''Erase Disk''' to clear the disk of all data. You will need to provide your password to do this. ## Select '''Stored in reserved extra space''' and move the slider to at least 1GB, preferably more if your Thumb Drive has the space. # Click '''Make startup disk'''. ## This will take a few moments. You will see a password prompt that you must use before the bootloader can be written to the thumb drive. # When complete, exit the Startup Disk Creator. Once the above steps are complete, you should now have a bootable Ubuntu USB Thumb drive with persistent storage of between 1 - 4 GB. Now you need to boot something from that and complete the next steps to have a bootable USB drive with OCP Ready on it. # Insert the USB thumb drive into a machine that has internet access. # Boot the machine and select the USB thumb drive from the boot menu if that machine doesn't automatically boot from USB. ## In the boot menu, you may see two entries, one for EFI and one for Legacy BIOS. Use the Legacy BIOS entry to load the bootloader. # At the boot menu, select '''Try Ubuntu without installing'''. This is the default selection. # After Ubuntu has booted, open a console by opening the Dash and typing "Terminal" into the search box and clicking on the Terminal icon. # In the Terminal, perform the following steps: ## <code>$ sudo add-apt-repository ppa:opencompute-developers/ocp-certification-tools-ppa</code> ### Hit Enter to add the PPA when prompted. ## <code>$ sudo add-apt-repository ppa:hardware-certification/public</code> ### Again, hit Enter to add the PPA when prompted. ## <code>$ sudo apt update</code> ## <code>$ sudo apt upgrade>/code> ## <code>$ sudo apt install opencompute-ready</code> ### Note this may fail because the Live USB environment lacks the Universe repository by default. If this does fail for you, the following will resolve dependency problems: #### <code>$ sudo add-apt-repository universe</code> #### <code>$ sudo apt update</code> #### <code>$ sudo apt install opencompute-ready</code> At this point, you should now have a working USB thumb drive with opencompute-ready installed. To test this, do the following: # Click the Gear icon in the upper right corner. # Click '''Shut Down...''' # Shut the system down. # After it is powered off fully, power it back on. ## Again, you may need to enter the Boot Menu and force the system to boot from the USB stick if that is not in your default boot order. # Select '''Try Ubuntu without installing''' from the boot menu, as before.
Please note that all contributions to OpenCompute may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Do not submit copyrighted work without permission!
(opens in new window)
Retrieved from "
Not logged in
Help about MediaWiki
What links here