[ https://issues.apache.org/jira/browse/GEODE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819389#comment-15819389 ]
ASF subversion and git services commented on GEODE-182: ------------------------------------------------------- Commit feb2a0fcbff995e71c293ac2726f78081d366599 in geode's branch refs/heads/develop from [~amb] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=feb2a0f ] GEODE-182: Auto-generate member names if needed When a user runs `start server` or `start locator` from gfsh without specifying the member name, gfsh will automatically pick a random member name. This is useful for automation. > 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: Kirk Lund > Priority: Minor > Fix For: 1.1.0 > > > 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)