Previous Next JavaScript must be enabled to correctly display this content

## generateconfig

    java -Xmx64m -Xms64m \
    -jar KVHOME/lib/kvstore.jar generateconfig [-verbose]
    -host <hostname> -port <port>
     -sn <StorageNodeId> -target <zipfile>
    [-username <user >]
    [-security <security-file-path>]
     [-secdir <overriden security directory>]

This command generates configuration files for any Storage Node identifier ( value of "sn" parameter) specified in the command.

Parameter | Required | Default value | Description
--- | --- | --- | ---
`host` | Yes |  | The host name of the Storage Node for which the config file is generated.
`port` | Yes |  | The registry port of the Storage Node for which the config file is generated. Note: The user can use the Admin CLI ping command, to get the registry port of any Storage Node.
`sn` | Yes |  | Identifier of the Storage Node. Note: The user can use the Admin CLI ping command, to get the Storage Node Identifier of any Storage Node.
`target` | Yes |  | Full path of the zip file to be created.
`username` | No |  | The name of the user to log in to the secured store. This parameter is only required if your store is configured to require authentication.
`security` | No |  | The client security configuration file. This parameter is only required if your store is secure. A fully qualified path to a file containing security information can be specified.
`secdir` | No | security | The name of the directory within the KVROOT that will hold the security configuration.