Creating a LUN on an EMC CX4 SAN

Let’s take a high-level look at setting up a LUN on an EMC CLARiiON CX4 SAN so that we can expose the storage to a fiber-connected ESXi host.

Browse to the Unisphere logon screen

After logging in select your system and look at the Pools/Raid Groups to check out what groups have been set up and what free space we have to work with.

Under the Storage dropdown list, select LUNs so that we can see what LUNs have been configured.

Now let’s add a new LUN. Hit the Create LUN link as in the screenie above. The window that pops up lets you select the storage pool type and storage pool number as you saw in the screenshot of the raid groups. Once you select the appropriate storage pool the available capacity, consumed capacity and the largest contiguous free space will be displayed.

Under LUN Properties specify the desired size of the new LUN by either GB, MB or blocks. In this example I have entered 500GB as the size of the new LUN that I want to create.

Next we specify a LUN ID. Select a number from dropdown list. Only LUN IDs that are not in use will be available to select.

Number of LUNs to create: Select how many LUNs you want to set up with these specifications.

LUN Name: Select a custom name for the new LUN or use the LUN ID for the name.

Once you are happy with the settings, hit Apply

Storage Groups

The idea of a storage group is that you can allow specific connected hosts to be able to see specific LUNs. In this example I am creating a new LUN to be used as storage for one stand-alone ESXi 5 host, which will be a sandbox server for testing various toys. Even though the sandbox is connected to storage on the same EMC SAN as a development and production environment, setting up a storage group where my sandbox server is the only host and the new LUN is the only available storage, the host and storage are isolated from the rest of the environment.

Firstly, hit the Create Storage Group link. You will be prompted for a logical name for the new group.

Go to the properties of the newly created storage group. On the LUNs tab you can add the new LUN to the storage group.

And on the Hosts tab you add the desired host to the storage group.

In my next post I will look at how to add the storage to your VMware environment.

Be Sociable, Share!

No related posts.