Re: [Patch 2/7] tabled: add <Cell> element
Jeff Garzik <[email protected]>
| Newsgroups | org.kernel.vger.hail-devel |
|---|---|
| Message-ID | <[email protected]> |
On 01/14/2010 11:11 PM, Pete Zaitcev wrote: > Make the cell configurable. Among other things we need this for is > that you cannot migrate a tabled over when DB format changes, short > of running 2 CLDs. > > We also add a few thoughts to the documentation, prompted by re-reading > of the document while adding the clause for<Cell>. > > Signed-Off-By: Pete Zaitcev<[email protected]> > > --- > doc/etc.tabled.conf | 7 +++++++ > doc/setup.txt | 40 +++++++++++++++++++++++++++++++++++++--- > server/cldu.c | 4 ++++ > server/config.c | 11 +++++++++++ > server/server.c | 2 +- > server/tabled.h | 1 + > 6 files changed, 61 insertions(+), 4 deletions(-) Strictly speaking, this is wrong, but I applied so that we may make forward progress. The definition of a "cell" (or "cel") is everything within a single CLD namespace. It is a design requirement that any number of separate tabled instances may be run within a single cell. The differentiating factor is pathname. Thus, one tabled instance may store files in cld://cld.mysite.com/table1/ and a totally separate, parallel instance of table may store its files in cld://cld.mysite.com/table2/ Provisioning another tabled instance should be as simple as creating a new directory in CLD, and running the tabled/chunkd nodes. Thus, the user interface should be CLD hostname + pathname, not "cell name." Jeff