This is an old revision of the document!
Intel POD 9 has been assigned to StorPerf for final integration testing in Pharos.
You will need a GPG key (https://fedoraproject.org/wiki/Creating_GPG_Keys) in order to get access to the POD, so anyone interested in helping, please be sure to get set up with Pharos access.
StorPerf Pharos testing will use FUEL for its base installation and follow the directions in How to Install and Run StorPerf to set up.
First thing is to bring the Jump Host up to date:
yum udpate yum install -y virt-install virt-viewer reboot
Jump host pod9-urb-jump has Xauth installed and ssh X forwarding enabled. FUEL ISO is downloaded and a new VM is created using that.
XAuth Setup:
yum install xauth
Edit /etc/ssh/sshd_config to read:
X11Forwarding yes X11UseLocalhost no
Restart sshd:
service sshd reload
Download FUEL (Replace as needed)
wget http://artifacts.opnfv.org/fuel/opnfv-2016-02-10_09-45-08.iso
Network Assignment:
As I am not planning on having the two compute nodes be publicly routable over the 10.2.117.0/24 subnet, I am seconding one of the IP addresses from pod9-wcp-node1: 10.2.117.143. This way we can access FUEL and the FUEL UI directly:
Inside FUEL master, the following interfaces will be used:
Public Subnet IF0: 10.2.117.0/24 FUEL Admin (PXE) Subnet IF1: 10.9.1.0/24
Set up network bridges:
cp -p /etc/sysconfig/network-scripts/ifcfg-{enp1s0f0,br0} sed -i -e'/HWADDR/d' -e'/UUID/d' -e's/enp1s0f0/br0/' -e's/Ethernet/Bridge/' /etc/sysconfig/network-scripts/ifcfg-br0 echo DELAY=0 >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f0 echo 'BOOTPROTO="none"' >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f0 echo BRIDGE=br0 >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f0 cp -p /etc/sysconfig/network-scripts/ifcfg-{enp1s0f1,br1} sed -i -e'/HWADDR/d' -e'/UUID/d' -e's/enp1s0f1/br1/' -e's/Ethernet/Bridge/' /etc/sysconfig/network-scripts/ifcfg-br1 echo DELAY=0 >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f1 echo 'BOOTPROTO="none"' >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f1 echo BRIDGE=br1 >> /etc/sysconfig/network-scripts/ifcfg-enp1s0f1 cp -p /etc/sysconfig/network-scripts/ifcfg-{enp2s0f0,br2} sed -i -e'/HWADDR/d' -e'/UUID/d' -e's/enp2s0f0/br2/' -e's/Ethernet/Bridge/' /etc/sysconfig/network-scripts/ifcfg-br2 echo DELAY=0 >> /etc/sysconfig/network-scripts/ifcfg-enp2s0f0 echo 'BOOTPROTO="none"' >> /etc/sysconfig/network-scripts/ifcfg-enp2s0f0 echo BRIDGE=br2 >> /etc/sysconfig/network-scripts/ifcfg-enp2s0f0 service network restart
Create fuel master:
/usr/bin/qemu-img create -f qcow2 -o preallocation=metadata /var/lib/libvirt/images/fuel-master.qcow2 200G virt-install --name=fuel-master --ram=16384 --vcpus=8 --accelerate --disk path=/var/lib/libvirt/images/fuel-master.qcow2,format=qcow2,bus=virtio --cdrom opnfv-2016-02-10_09-45-08.iso --network bridge=br1,model=virtio --network bridge=br0,model=virtio --os-type=linux --os-variant=rhel6 --vnc
Note: The following must be done in the virt-viewer UI. Also, I cannot seem to assign a default GW to eth0, so I have to put the PXE network as eth0 and the public network as eth1.
Network setup:
eth0: 10.9.1.2 netmask 255.255.255.0 no gw eth1: 10.2.117.143 netmask 255.255.255.0 gw 10.2.117.1
Again, we are going to use virt-manager for this so we don't take up one of the two physical servers assigned to us.
Create a new VM with:
8 CPUs 16 GB RAM 100 GB Disk NIC 1: Public Subnet 10.9.15.0/24 (DHCP) NIC 2: VPN Access Subnet 10.2.117.0/24 NIC 3: OpenStack Network 10.9.12.0/24