[ https://issues.apache.org/jira/browse/GEODE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626325#comment-15626325 ]
William Markito Oliveira commented on GEODE-182: ------------------------------------------------ [~amb] Thanks for bringing this back to life! I did implemented some of that with tests in my personal GitHub [1] but testing is still a bit complex to me specially around ServerLauncherCommands and LauncherLifecycleCommandsJUnitTest... Maybe I'll be able to continue that work and send a PR [1] https://github.com/markito/incubator-geode/commit/aed1f421e2a868f60de8d2958d96a941016c1f36 > Generate "random" member names if no name is provided > ----------------------------------------------------- > > Key: GEODE-182 > URL: https://issues.apache.org/jira/browse/GEODE-182 > Project: Geode > Issue Type: New Feature > Components: configuration > Reporter: William Markito Oliveira > Assignee: Jens Deppe > Priority: Minor > > In current cloud and container deployments it's very common to allow the > infrastructure to just re-execute the same command in order to provision a > new node for a system. > Since Geode require unique member names on a system I'm proposing to create > something similar to what Docker and other projects does and generate > "random" names on when none are provided. > Following the Docker implementation, I'd suggest something like: > * List of adjectives > * List of gems > and a combination using _ for example: > {code} > clever_alexandrite > sharp_emerald > tender_sapphire > {code} > Those would be server names when *-name* param is not specified OR if a > *property file* doesn't have a name as well. > From the initial list I'm thinking the model would have: > * Adjectives = 56 > * Names = 70 > * Total names possible = 3920 > Other benefits I can see for non-cloud deployments as well is for example > setting member ports to 0 and by providing no name, it's also easier to > create multiple geode nodes on the same physical host without specifying > names. > This wouldn't change current naming features and capabilities. I'm not > planning to implement the feature for locators initially. -- This message was sent by Atlassian JIRA (v6.3.4#6332)