VMware Virtual SAN Cookbook
上QQ阅读APP看书,第一时间看更新

Enabling SSH on the ESXi hosts (if applicable)

Note

If you are running vSphere 6.0, please skip this section and refer to the Tagging disks as SSDs in vSphere 6.0 recipe in Chapter 9, VSAN 6.0, if you need to tag your disks as SSDs.

If you need to tag disks as SSD devices, you will need CLI access to the ESXi host. If we are using RAID-0 storage controllers, ESXi will detect the SSDs as normal magnetic drives due to the way RAID-0 controllers present storage to the operating system. The tagging process will only be applicable to SSDs that were not correctly identified as such by default. The SSD-tagging process requires several commands in vSphere 5.5 and it is easiest to perform these steps via a remote console (SSH).

Note

If SSH is already enabled on your hosts or if you will not need to tag SSDs, please skip this recipe.

Getting ready

You should be logged in to the vSphere Web Client as an administrator or user, authorized to alter host-level security profile settings.

How to do it…

To enable SSH, you must browse the vSphere Web Client.

  1. Navigate to Home | Hosts and Clusters | Datacenter | Host | Manage | Settings | Security Profile. Scroll down to Services and click on Edit…:
    How to do it…
  2. Select SSH from the list, and then click on Start:
    How to do it…
  3. Once the service starts, click on OK.
  4. Complete this recipe on all hosts in the VSAN cluster.

How it works…

Once followed, this recipe will enable SSH access on all hosts. This will enable you to log in to the ESXi host remotely using an SSH terminal emulator. The changes made here will persist until you turn SSH off or until you reboot your ESXi host.

If you have previously enabled SSH or ESXi Shell service timeouts, you will be constrained by those timeouts.