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 01:27] Bryan Sullivan |
copper:academy:apex [2016/02/12 17:33] (current) Bryan Sullivan |
||
|---|---|---|---|
| Line 67: | Line 67: | ||
| 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]]. | 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 /etc/apex-opnfv/inventory.yaml | + | * Based upon the examples in Apex repo folder ~/git/apex/config/inventory, create the inventory file ~/inventory.yaml |
| <code> | <code> | ||
| - | sudo vi /etc/apex-opnfv/inventory.yaml | + | vi ~/inventory.yaml |
| nodes: | nodes: | ||
| node1: | node1: | ||
| Line 79: | Line 79: | ||
| capabilities: "profile:control" | capabilities: "profile:control" | ||
| node2: | node2: | ||
| - | mac_address: "10:23:45:67:89:AC" | + | mac_address: "<compute mac>" |
| cpus: 2 | cpus: 2 | ||
| memory: 16384 | memory: 16384 | ||
| - | diskThis 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]]. | + | disk: 1024 |
| - | : 1024 | + | |
| arch: "x86_64" | arch: "x86_64" | ||
| - | capabilities: "<compute mac>" | + | capabilities: "profile:compute" |
| </code> | </code> | ||
| Line 92: | Line 91: | ||
| 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]]. | 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]]. | ||
| - | * edit ~/git/apex/config/deploy/deploy_settings.yaml | + | * 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 | * Note: the below assumes the IPMI settings should be deleted, but it's not clear yet how to enable wake-on-lan instead | ||
| <code> | <code> | ||
| - | vi ~/git/apex/config/deploy/deploy_settings.yaml | + | vi ~/deploy_settings.yaml |
| global_params: | global_params: | ||
| ha_enabled: false | ha_enabled: false | ||
| Line 107: | Line 106: | ||
| </code> | </code> | ||
| - | * edit ~/git/apex/config/deploy/network/network_settings.yaml | + | * Enable wake-on-lan |
| - | * Note: it is TBD how to set the config for a flat network | + | |
| <code> | <code> | ||
| - | vi ~/git/apex/config/deploy/network/network_settings.yaml | + | cp /usr/bin/opnfv-deploy ~/opnfv-deploy |
| - | # TBD | + | vi ~/opnfv-deploy |
| + | (change line as below and save) | ||
| + | \"pm_type\": \"pxe_wol\", | ||
| + | sudo cp ~/opnfv-deploy /usr/bin/opnfv-deploy | ||
| </code> | </code> | ||
| - | |||