ESXi storage

Topology

image.png


ESXi local storage

本地存储It is installed on the ESXi operating system server 本地磁盘. ESXi本地存储It needs to be 本地存储formatted into a file system before it can be used VMFS.
You can 多块磁盘put it into a VMFSfile system.


1. Create local storage

Open ESXi web控制台and
click on the left 存储-》数据存储-》新建数据存储
image.png

Create a new VMFSdata store
image.png

VMFS数据存储Fill in the storage for this new one 名称, 选择and the bottom one will be used as VMFS storage 磁盘.
image.png
Select partition options, general selection 使用全部磁盘, VMFS6; click 下一步.
image.png

Click 完成.
image.png
Click as prompted .
image.png


2. Local storage increases capacity

Click 存储–》数据存储–> on the left to add a data area 增加容量
image.png
to an existing VMFSdata store
image.png

Select which local disk capacity you want to add to 已有的VMFS数据存储Select
image.png
the partition option, generally select 使用全部磁盘; VMFS6click 下一步.
image.png
Click 完成.
image.png
Click .
image.png
View 扩容后the VMFS datastore 容量.
image.png


Add NFS storage to ESXi


1. Install NFS server

https://blog.csdn.net/omaidb/article/details/120926883


2.ESXi connects to NFS storage

If ESXi wants to connect NFS服务器, it needs to NFS服务器be configured vmkernel的ip地址so that NFS服务器it can work ESXiproperly 网络互通.
image.png

# 查看nfs版本
nfsstat -m nfs服务器

image.png

Select the corresponding NFS version
image.png
to view the capacity after NFS存储mounting .VMFS
image.png


IP SAN storage

Use iSCSI as a storage share for ESXi.


1. Set up an iSCSI server

https://blog.csdn.net/omaidb/article/details/120091644


2.ESXi configures iSCSI as IPSAN storage

Open , click on ESXithe left -》-》web控制台
存储适配器配置iSCSI
image.png

Discover shared disk

# 发现共享磁盘-Discovery
## -m 动作类型 discovery(发现)
## -t st  是发现动作的固定格式
## -p  服务端的地址
iscsiadm -m discovery -t st -p 192.168.1.1:3260

image.png

Select iSCSI已启用, enter 名称和别名;
click 添加动态目标, enter in addressiscsi服务器ip
image.png
image.png

image.png

Guess you like

Origin blog.csdn.net/omaidb/article/details/131914303