Install nvme-cli tool

Splunk and Elastic

Audience
Public
Product
FlashBlade
FlashArray
FlashBlade > Purity//FB
FlashArray > Purity//FA
Technology Integrations
Splunk and Elastic
Source Type
Documentation

The NVMe management command line interface tool is required on the host to connect to an NVMe target. If the tool is not installed, install the nvme-cli package using the yum command.


[root@splk-ix01 ~]# yum -y install nvme-cli

For the host to communicate with another NVMe device, it must have a unique identity known as NVMe Qualified Name or NQN. If the host doesn’t have one, it must be created. Check if a host nqn exists using the following command.


[root@splk-ix01 ~]# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0030-4410-8039-c3c04f483133

If the hostnqn doesn’t exist, create the directory /etc/nvme and use the nvme gen-hostnqn command to add an id to a file named hostnqn in the /etc/nvme directory. This hostnqn is needed when creating a host in the FlashArray.


[root@splk-ix01 ~]# mkdir -p /etc/nvme
[root@splk-ix01 ~]# nvme gen-hostnqn > /etc/nvme/hostnqn
[root@splk-ix01 ~]# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0030-4410-8039-c3c04f483133