gstanden / orabuntu-lxc

Developer and User Guide
https://gstanden.github.io/
GNU General Public License v3.0
46 stars 15 forks source link

Container Name should have a physical machine tag #52

Open gstanden opened 8 years ago

gstanden commented 8 years ago

When using orabuntu-lxc to create containers on multiple physical machines, it should be possible to have unique container names, so the "c" should probably be dynamic:

Physical Host 1: ora72a10, ora72a11, ora72a12 Physical Host 2: ora72b10, ora72b11, ora72b12

This way, when building a true containerized 12c RAC ASM Flex Cluster across 2 physical hosts, the containers will be uniquely named. So a cluster could consist of ora72a10, ora72b10, ora72c10, ora72d10, etc.

The prefix should also be dynamic and user settable. A 4-letter-max container name prefix. Currently is is "ora" but it could be {abc, ora, lxc, ge, ford, vmem, bbry,...} etc. If I allow 4-characters, then company stock symbols can be used.