Services that stop running or fail to start can cause problems. It is important to make sure that all services are running normally.
To check the status of NSX Manager service:
nsxmgr> get services Service name: cm-inventory Service state: stopped Service name: http Service state: stopped Session timeout: 1800 Connection timeout: 30 Redirect host: (not configured) Service name: install-upgrade Service state: stopped Enabled: True Service name: liagent Service state: stopped Service name: manager Service state: stopped Logging level: info Service name: mgmt-plane-bus Service state: running Service name: node-mgmt Service state: running Service name: nsx-message-bus Service state: running Service name: nsx-upgrade-agent Service state: running Service name: ntp Service state: running Service name: search Service state: stopped Service name: snmp Service state: stopped Start on boot: False Service name: ssh Service state: running Start on boot: True Service name: syslog Service state: running
In the example above, the http service is stopped. You can start the http service with the following command:
nsxmgr> start service http
If the SSH service was not enabled when deploying the appliance, you can log in to the appliance as admin and enable it with the following command:
start service ssh
You can configure SSH to start when the host starts with the following command:
set service ssh start-on-boot
To enable SSH root login, you can log in to the appliance as root, edit the file /etc/ssh/sshd_config and replace the line
Alternatively, you can enable the SSH service and enable SSH root access by powering off the appliance and modifying its vApp properties.
and restart the sshd server with the following command: