Two configurations should be made in order to use to CLI for the first time:
1. Configuring the nvmesh.conf file to the management we want to work with and save it to: /etc/opt/NVMesh/nvmesh.conf
.
If the nvmesh-core package is installed on the machine, the file will be present, otherwise, it should be created under the mentioned path and include the following content:
# NVMesh configuration file
# This configuration file is utilized by Excelero NVMesh(tm) applications for various options.
# Define the management protocol
# MANAGEMENT_PROTOCOL="<https/http>"
# Example
# MANAGEMENT_PROTOCOL="https"
MANAGEMENT_PROTOCOL="https"
# Define the location of the NVMesh Management Websocket servers
# MANAGEMENT_SERVERS="<server name or IP>:<port>,<server name or IP>:<port>,..."
# Example:
# MANAGEMENT_SERVERS="nvmesh-management1:4001,nvmesh-management2:4001"
MANAGEMENT_SERVERS="localhost:4001"
2. When you first try to use the CLI/shell you will be prompted to provide a valid user name and password for the management server API, the CLI will authenticate the user, then you will not be prompted again unless you logout from the CLI/shell.
Also, you will need to provide valid SSH credentials for performing attach/detach operations on a remote client, you can change those credentials in the future using the define-ssh command.
The API and SSH credentials will be stored in the user’s home directory under .nvmesh_cli_files/, see the nvmesh CLI Files section for more details.
Post your comment on this topic.