User Tools

Site Tools


copper:academy:apex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
copper:academy:apex [2016/02/12 00:05]
Bryan Sullivan
copper:academy:apex [2016/02/12 17:33] (current)
Bryan Sullivan
Line 39: Line 39:
 sudo service libvirtd start sudo service libvirtd start
 sudo chkconfig libvirtd on sudo chkconfig libvirtd on
 +</​code>​
 +
 +  *  install git and create git folder where you will clone repos as needed
 +<​code>​
 +sudo yum -y install git
 +mkdir ~/git
 +git clone https://​gerrit.opnfv.org/​gerrit/​apex
 </​code>​ </​code>​
  
Line 44: Line 51:
  
   * Download and save the latest RPMs on the [[http://​artifacts.opnfv.org/​|OPNFV artifacts page]]   * Download and save the latest RPMs on the [[http://​artifacts.opnfv.org/​|OPNFV artifacts page]]
-    * apex/opnfv-apex-x.y-yyyymmdd.noarch.rpm +    * opnfv-apex-x.y-yyyymmdd.noarch.rpm 
-    * apex/opnfv-apex-common-x.y-yyyymmdd.noarch.rpm +    * opnfv-apex-common-x.y-yyyymmdd.noarch.rpm 
-    * apex/opnfv-apex-undercloud-x.y-yyyymmdd.noarch.rpm+    * opnfv-apex-undercloud-x.y-yyyymmdd.noarch.rpm
  
   * Install the RDO RPM then the Apex RPMs   * Install the RDO RPM then the Apex RPMs
Line 52: Line 59:
 sudo yum install -y https://​www.rdoproject.org/​repos/​rdo-release.rpm sudo yum install -y https://​www.rdoproject.org/​repos/​rdo-release.rpm
 cd ~/Downloads cd ~/Downloads
-sudo yum install -y opnfv-apex-undercloud-x.y-yyyymmdd.noarch.rpm +# ! the next command assumes only the Apex RPMs are in your download location... order does not matter 
-sudo yum install -y opnfv-apex-common-x.y-yyyymmdd.noarch.rpm +sudo yum install -y *.rpm
-sudo yum install -y opnfv-apex-x.y-yyyymmdd.noarch.rpm+
 </​code>​ </​code>​
  
-  ​ ​install ​git and create ​git folder where you will clone repos as needed+==== Creating a Node Inventory File ==== 
 + 
 +This section explains further the instructions at [[http://​artifacts.opnfv.org/​apex/​docs/​installation-instructions/​baremetal.html#​creating-a-node-inventory-file|Creating a Node Inventory File]]. 
 + 
 +  ​Based upon the examples in Apex repo folder ~/git/​apex/​config/​inventory, ​create ​the inventory file ~/​inventory.yaml
 <​code>​ <​code>​
-sudo yum -y install git +vi ~/inventory.yaml 
-mkdir ~/git+nodes: 
 +  node1: 
 +    mac_address:​ "<​controler mac>"​ 
 +    cpus: 2 
 +    memory: 16384 
 +    disk: 1024 
 +    arch: "​x86_64"​ 
 +    capabilities:​ "​profile:​control"​ 
 +  node2: 
 +    mac_address:​ "<​compute mac>"​ 
 +    cpus: 2 
 +    memory: 16384 
 +    disk: 1024 
 +    arch: "​x86_64"​ 
 +    capabilities:​ "​profile:​compute"​
 </​code>​ </​code>​
  
 +==== Creating the Settings Files ====
  
 +This section explains further the instructions at [[http://​artifacts.opnfv.org/​apex/​docs/​installation-instructions/​baremetal.html#​creating-the-settings-files|Creating the Settings Files]].
 +
 +  * Based upon the examples in Apex repo folder ~/​git/​apex/​config/​deploy,​ create the deploy settings file ~/​deploy_settings.yaml
 +    * Note: the below assumes the IPMI settings should be deleted, but it's not clear yet how to enable wake-on-lan instead
 +<​code>​
 +vi ~/​deploy_settings.yaml
 +global_params:​
 +  ha_enabled: false
 +
 +deploy_options:​
 +  sdn_controller:​ opendaylight
 +  sdn_l3: false
 +  tacker: false
 +  congress: false
 +  sfc: false
 + </​code>​
 +
 +  * Enable wake-on-lan
 +<​code>​
 +cp /​usr/​bin/​opnfv-deploy ~/​opnfv-deploy
 +vi ~/​opnfv-deploy
 +(change line as below and save)
 +          \"​pm_type\":​ \"​pxe_wol\",​
 +sudo cp ~/​opnfv-deploy /​usr/​bin/​opnfv-deploy
 +</​code>​
copper/academy/apex.1455235547.txt.gz · Last modified: 2016/02/12 00:05 by Bryan Sullivan