Tip

Creating ESXi shared storage in VMware vSphere Hypervisor

With virtualized servers based on the free VMware vSphere Hypervisor, you will achieve better VM reliability by changing the data store

    Requires Free Membership to View

from local to ESXi shared storage.

Each virtual machine (VM) that runs on the ESXi hypervisor needs disk space. VMware stores and manages disk files on the virtual machine file system (VMFS). A VMware data store is created on new ESXi hosts by default. Once you start using more than one ESXi host in the VMware environment, you'll want to implement centralized storage instead of locally attached data stores.

Figure 1. The ESXi host starts out with a local data store by default.

With a centralized storage area network (SAN), different servers can access virtual machine disk files (VMDKs), which keeps VMs available even if a host goes down.

Prepping for shared storage

VSphere Hypervisor manages ESXi storage via the vSphere Client. Select your ESXi host in the vSphere Client, enter its Configuration tab, then select Storage from the list of hardware options (see Figure 1). On a newly configured ESXi host, the current storage configuration should show only its local VMware data store.

Figure 2. To increase the size of a data store only takes a few clicks.

To extend disk space on a data store, select the data store, enter the Properties window and click Increase to add storage (see Figure 2). If you've presented storage to the ESXi server, it will automatically appear in the increase window. Extending the data store involves simply selecting the device you want to add.

Using shared storage

If you're using more than one host, it's more convenient to put the VMFS on ESXi shared storage, such as your SAN, than on the local data store. In the Configuration tab of the ESXi host, go into Storage and click Add Storage. If the SAN offers access to storage using the Network File System (NFS) protocol, select Network File System. If your SAN offers direct logical unit number (LUN) access, select the Disk/LUN storage type. Do this on all the ESXi hosts so that they can access shared storage.

Figure 3. You can select which storage type to use with the ESXi host.

The name or identifier of the SAN storage device is typically a LUN ID; the exact naming depends on the type of SAN in use. Connect to the storage device then format it. This puts a VMFS onto VMware shared storage.

Uploading ISO files

Creating VMs requires access to the guest OS installation disk. Typically, you would install an OS from a DVD in the optical drive of a computer, but with VMware, you'll upload ISO files to the data store instead.

In the Summary tab on the vSphere Client, right-click the data store. Open the data store browser and create a new folder for the ISO files. After creating the destination folder, click the Upload file button and select the ISO file. Do this for all the ISO files you'll need to create virtual machines.

Once you have a VMFS and can upload ISO files to it, you can create virtual machines on the vSphere Hypervisor's ESXi hosts.

This was first published in July 2013

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.