This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
foreman_guide [2015/03/10 14:44] Tim Rozet |
foreman_guide [2015/04/07 22:26] (current) Daniel Farrell [Install Foreman] Better formatting for complex Foreman install command |
||
|---|---|---|---|
| Line 75: | Line 75: | ||
| Now run the installer with the right arguments for your setup: | Now run the installer with the right arguments for your setup: | ||
| - | ''sudo foreman-installer \\ | + | <code> |
| + | sudo foreman-installer \\ | ||
| --enable-foreman-proxy \\ | --enable-foreman-proxy \\ | ||
| --foreman-proxy-tftp=true \\ | --foreman-proxy-tftp=true \\ | ||
| Line 91: | Line 92: | ||
| --foreman-proxy-foreman-base-url=https://localhost \\ | --foreman-proxy-foreman-base-url=https://localhost \\ | ||
| --foreman-proxy-oauth-consumer-key=ag9QcrzYTZQVhsnuEb8zYVc6taL4jmXj \\ | --foreman-proxy-oauth-consumer-key=ag9QcrzYTZQVhsnuEb8zYVc6taL4jmXj \\ | ||
| - | --foreman-proxy-oauth-consumer-secret=CWieWvBUMrfsvSc88UcmNTtrGtSzUCCf'' | + | --foreman-proxy-oauth-consumer-secret=CWieWvBUMrfsvSc88UcmNTtrGtSzUCCf |
| + | </code> | ||
| You should see the following | You should see the following | ||
| - | Installing Done [100%] [...........................................................................................] | + | <code> |
| Success! | Success! | ||
| * Foreman is running at https://foreman.localdomain | * Foreman is running at https://foreman.localdomain | ||
| Line 102: | Line 104: | ||
| * Puppetmaster is running at port 8140 | * Puppetmaster is running at port 8140 | ||
| The full log is at /var/log/foreman-installer/foreman-installer.log | The full log is at /var/log/foreman-installer/foreman-installer.log | ||
| + | </code> | ||
| Please notice the above message gives you the credentials to the Foreman GUI. | Please notice the above message gives you the credentials to the Foreman GUI. | ||
| Line 155: | Line 157: | ||
| ===Create HostGroups in Foreman=== | ===Create HostGroups in Foreman=== | ||
| - | HostGroups are used to classify different types of hosts we want to provision. For OpenStack purposes we classify a node as compute, network, or control. See the opendaylight info at the top of this page if you want to combine any of these nodes to a single host (i.e. network+control into one host). To configure HostGroups in Foreman: | + | HostGroups are used to classify different types of hosts we want to provision. For OPNFV purposes we classify a node as compute or controller+networker. It is supported to create three separate nodes (compute, control, network) but for hte purposes of OPNFV we are consolodating controller+networker into one node. To configure HostGroups in Foreman: |
| - Configure -> HostGroup | - Configure -> HostGroup | ||
| Line 162: | Line 164: | ||
| - Network tab-> select the management subnet you created | - Network tab-> select the management subnet you created | ||
| - Operating System tab -> Operating System = CentOS7 you defined, Media = CentOS mirror, Partition table= Kickstart default | - Operating System tab -> Operating System = CentOS7 you defined, Media = CentOS mirror, Partition table= Kickstart default | ||
| - | - Submit, repeat for Control and Network groups. | + | - Submit, repeat for trystack::controller_networker (control+network node). |
| ===Create Host in Foreman=== | ===Create Host in Foreman=== | ||