Hello again,

To expand on my previous question, here's the description of the 
alternative workflows I had in mind:

*Workflow A: We retain the "trunk interfaces + install network" layout:*

   - Host boots in discovery mode on installation vlan (123) since it's the 
   native vlan
   - Host reports to Foreman. Start provisioning on vlan of choice (500)
   - Trigger reboot
   - Installation begins on install vlan (123)
   - Configure trunk in installer (late script) for next boot
   - Installation complete. Reboot
   - Configure switch trunk via external script for production vlan of 
   choice
   - Host boots
   - Done


*Workflow B: We get rid of the trunk interfaces and only use access ports 
with install vlan:*

   - New host needs to be installed, external script sets the port to 
   install mode (untagged vlan 123)
   - Host boots in discovery mode on installation vlan (123)
   - Host reports to Foreman. Start provisioning and set host on vlan of 
   choice (500)
   - Trigger reboot
   - Install on vlan 123. Reboot after completion
   - Configure switch port via external script for vlan of choice (500)
   - Done


*Workflow C: We get rid of the trunk interfaces and only use access ports:*

   - New host needs to be installed, external script sets the port to 
   install mode (untagged vlan 123)
   - Host boots in discovery mode on installation vlan (123)
   - Host reports to Foreman. Start provisioning and set host on vlan of 
   choice (500)
   - Trigger reboot
   - Configure switch port via external script for vlan of choice (500)
   - Install on vlan 500 with prod IP. Reboot after completion
   - Done

Now, question: how does foreman react to the installation being done with 
one IP (in subnet/vlan 123) and the host ending up in another subnet/vlan 
(500)? I suppose Foreman will create the DNS records for the first IP (in 
vlan 123), not for the real (500), causing a mismatch.
I still wonder if these workflows make sense at all and whether there's a 
better way. Any example? :)
Thank you


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to