This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
copper:academy:apex [2016/02/12 00:55] Bryan Sullivan [Install RDO and Apex RPMs] |
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 56: | Line 63: | ||
</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: |
- | git clone https://gerrit.opnfv.org/gerrit/apex | + | 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> |