Tuesday, 14 May 2013

Naming Members in vFabric SQLFire

I find it useful to give a member a meaningful  name. In SQLFire you could simply give each member a name by adding a property "name" as follows to the sqlfire.properties file for the member.


# sqlfire.properties for data store or accessor member

Note: The same can be done with GemFire as well.

Then when the system is up the ID for each system member includes the given name as shown below.

sqlf> select substr(id, 1 , 35) as "Member" from sys.members;

3 rows selected

No comments: