Export the Membership Configuration File (membershipConfigExport)
The membershipConfigExport
command exports the contents of the membership client configuration file from the specified version of the grid model into a specified file.
ttGridAdmin membershipConfigExport [-current | -latest | -version n] [filepath]
Options
The membershipConfigExport
command has the options:
Option | Description |
---|---|
|
Export the configuration file from the current model—the model most recently applied to the grid. |
|
Export the configuration file from the latest model—the model being modified and not yet applied to the grid. This is the default. |
|
Export the configuration file from the specified version number of the model. |
|
The path and name of the file to write the contents of the membership client configuration file to. If no file is specified, the configuration is written to |
Examples
% ttGridAdmin membershipConfigExport -latest /sw/tten/grid/zkcfg/membership2.conf % cd /sw/tten/grid/zkcfg % more membership2.conf Servers zk1.example.com!2181,zk2.example.com!2181,zk3.example.com!2181
The example in the next section will import this file.