Time
14 hours 13 minutes
Difficulty
Intermediate
CEU/CPE
20

Video Description

Lesson 5. Working with VMFS Data Stores This lesson discusses VMFS data stores. Participants in this lesson will learn how to:

  • Create a VMFS data store
  • Increase the size of a VMFS data store
  • Delete a VMFS data store

When creating a data store, the first thing that needs to be taken into consideration is the capability of the data store. Data stores are optimized for storing and accessing large files and have a maximum storage of 64TB (terabytes). VMFS is designed for virtual machine operated environments. You can add storage and select the type used. This lesson offers participants step-by-step instructions in a lab-base format to create VMFS data stores.

Video Transcription

00:04
Hi, I'm Dean Pompilio. Welcome to Cyber Harry will be doing Module six, Lesson five now working with V M. F s data stores. So this lesson will look at what's involved in creating of the NFS datastore
00:17
also what's involved in increasing its size
00:22
and then, uh, deleting or on mounting a day of store wrapping that up by doing lab number eight,
00:29
we created the M. F s data store.
00:32
First thing we have to think about is some of the capabilities of the day of store. What? It's best that it is optimized for storing very large files and accessing those files,
00:43
we can have a maximum volume size up to 64 terabytes. That's pretty generous.
00:49
Ah, and compared to NFS, V. M. F s offers several features out of fast. Does not
00:56
NFS is more of a general purpose file system. Raz v. M. F s is
01:00
is designed for virtual machine operating environments. So when you create the their store, we go to our configuration tab on the host. Click your storage link.
01:11
I'm on the left side and in the upper right side of the of the interface, you'll see the ad storage link.
01:19
So that point you just select
01:22
their storage type that you like, whether it's a disk or lung
01:26
storage device.
01:30
And if we pick a London, we choose from the available lungs, which you'll get to see in the lab.
01:36
Then you specify a date, a store name and specify the size,
01:40
and it gets created within a couple of seconds usually and now that storage becomes available to your host.
01:49
So viewing the data stores once that's been created very simple as well. We go to the configuration tab stores link yet again,
01:57
and I should see a list of whatever I have attached.
02:00
So I'm gonna have another fast partition listed or some local disc.
02:07
In the case of a local disc,
02:08
I know what the status is, what devices running on. If it's local disc, I'll know that it's non and non SSD.
02:17
I get my capacity information, and then it tells me the bm fast version number
02:23
in this case to be in my office five, which is what you should be using as well. If you're on,
02:30
he has ***. I version five got five.
02:34
In order to browse the data store, you just right click and select browse from the drop down menu,
02:40
and the same thing applies to deleting a day, a store or a kn mounting it.
02:46
If you delete a day of store, you're actually are deleting
02:49
the entire partition.
02:53
It's not like
02:54
and in a fast partition, where if you delete or announce the same thing in this case when you delete, it really means delete. So be careful.
03:01
If I un mountain, it's just no longer accessible,
03:05
and I could re mount at a later time.
03:07
Uh, and you could do that just by scanning your your host bust adapters
03:12
and the story just show up again.
03:17
So some of the things that happened when you're dealing with data stores
03:21
are due to the disc provisioning method of the virtual machines that exist on that data store.
03:28
We talked a little bit about thin provisioning
03:30
in an earlier lecture and how they allowed you to over commit your storage requirements.
03:36
I could have a data store that has a capacity of 30 gigabytes,
03:40
but I could actually provisions in
03:43
enough storage to say that Let's see, I have four V m, each with 10 gigabytes off thin, provisioned desk.
03:51
At some point, I'll need 40 gigabytes of storage to hold all of that data,
03:54
even though they're there on Lee at one gig about each in the meantime,
04:00
via more allows you to over commit your story so I could create four B EMS
04:03
on this partition 10 gigabytes each, even though it only has 23 available. It'll still let me do that as long as the disk is thin provisioned,
04:13
so eventually that been provisioned, disc will grow to the point where now the day of store might fill up. And, of course, when that happens, you're vey EMS that are, ah,
04:25
that on that data store majors freeze or crash because they can't use any more storage and they become unstable and will crash.
04:31
So the idea is that if you if you're in this habit of over committing your storage, you have to make sure you keep an eye on the data store.
04:40
You could just look at it every day and monitor that way or smarter approach would be to configure some alarms.
04:46
We'll cover alarms and later, a lecture and some labs.
04:50
The alarm basically lets you set some thresholds to get a warning or too sudden alert when you're nearing a
04:58
some condition or an event that's happening. It could be related to storage as we're talking about here, or could be related to remember usage or CPU usage
05:08
on.
05:08
If you want to be proactive, you should increase the capacity before it's actually required.
05:13
So you're watching it. You're watching it. You see you're getting close now. I need to do something about that so I could just add space to the day store, make it larger than it was. And now I I've averted that problem.
05:26
Another option, when you're especially if you're in a production environment and
05:30
you can't afford to have any downtime, is to move some of the VM somewhere else.
05:35
Two other storage. So use your V Motion
05:40
or or SP motion
05:42
in order to relocate those bm files, too.
05:45
Another storage area
05:47
that might be a better option than some of these other options, depending on what your circumstances are.
05:54
All right. So speaking of adding space to a data store or increasing its size
05:59
effectively, what we're doing is adding an extent, which is alone logical unit number.
06:04
Once you add the extent
06:06
then you can just expand the day of store. Within the new extent, this is the same way that it works in a window's environment. For instance, you could expand depending on what version of Windows or Windows server that you have. You could expand your hard drive size
06:21
and your let's say your hard drives 10 gig
06:26
and you expanded to 20 gigabytes. The file system is still 10 gigabytes. Same thing in a V M F has context.
06:32
So we have to expand the file system to now fill that extra 10 gigabytes of space. So we have the full use of that.
06:40
Unfortunately, you cannot shrink it in a store.
06:43
So once you expand it, once you add extends,
06:46
you're stuck with that. The only way to make a smaller data store would be to create a new one
06:51
with the size that you require, and then move all this data to the new, smaller data store, and then you can get rid of the old one. That's really no way to test to handle that properly.
07:02
When you're increasing the size of Dan store, you can have your VMS powered on. That's a powerful feature,
07:08
so back to this situation here where we have overcommitted our storage. I don't have to worry about taking of'em down or having having it off line for any reason. I could just increase the size while it's up and running.
07:21
Of course, depending on what the V M is doing, there may be some performance impact
07:26
while the
07:27
the day of store operations are going on. But it shouldn't be too horrible. Under most circumstances.
07:33
Your storage administrator can add lungs
07:39
to your ah, to your host or to be a visible to your host,
07:44
and the storage administrator can also increase the size of existing ones.
07:48
In either case, if Lunger added or their increased,
07:53
it's still need to expand the data store
07:55
into those new extents once you
07:58
apply them to the existing data store.
08:01
So there's nothing really automatic about. You still have to take those discreet steps in order to make this happen.
08:07
So some of the limitations you can have up to 32 lungs per data store.
08:11
Each of those lungs could be up to 64 terabytes each,
08:16
or you can have a total of 64 terabytes for the day store as a whole.
08:22
So if you want to do the math of different way, I could have 32 2 gigabyte lungs. I could have 1 64 terabyte long. I could have 4 16 terabyte Lund's You get the idea.
08:33
The last thing we talk about here is some of the algorithms that are available for doing multi path.
08:39
We saw several examples of how multi path thing works. I've got multiple physical paths, either through Fibre Channel or through multiple network interface cards to give me different physical passed through the network for the data to two cards on the host. Two cards on the storage device minimum.
08:54
Some storage arrays have their own,
08:58
uh,
09:00
multi patting algorithms, which may be an improvement over the ones that GM where offers.
09:05
But you do get three choices
09:07
from within Vienna Vienna, where
09:09
for third party plug ins there is the applicable storage architecture, or P S. A.
09:15
That also works with the native plug ins.
09:18
And the idea here is that, for instance, if I had
09:22
two paths to adaptors on the host to adaptors on storage array,
09:28
I could keep them in an active active mode. That means both of the adaptors are sending data
09:35
at the same time or simultaneously more or less the alternate, depending on what
09:39
what algorithm we pick.
09:41
Or you can go on an active passive mode where I'm always using one adapter until it fails. Then the other one takes over automatically.
09:50
So depending on your situation, you might choose. Choose that differently.
09:54
Uh, round Robin
09:56
is a great multi packing algorithm. Basically, that says that every single time I send any data out of Interface one. I alternate to interface to the next time, and you just go back and forth. If I have three interfaces, I would just go 123123 and so on.
10:13
So this lets you get a lot of scalability.
10:16
I can add adapters. I can add more storage and grow my capabilities
10:22
and have the multi path thing outer of them Keep pace with that
10:28
most recently used or M are you
10:31
is
10:31
better for providing higher availability. It's not high availability in the sense of a V m, really, but it's something similar. So if I have,
10:41
uh, let's go back to the three adapter example.
10:45
If a particular host is accessing the storage of on the land, and it's always using
10:50
adapter to, and that's the one it will tend to stick with.
10:54
If for some reason the future uses it after one, that's the one that will use from that point forward until the host reboots or some other interruption changes that.
11:03
So
11:05
this doesn't offer the load bouncing
11:09
distribution of trapping the same way that round Robin does. But it does give you the ability to,
11:15
uh, spread the load out somewhat between the available adapters.
11:18
And then the last option is fixed, which means that by default, when you attach a storage adapter, it will
11:26
operate
11:28
and a fixed mode, meaning it doesn't switch to any of the other adapters. It stays on the one that's configured until you manually change that to something else.
11:39
Okay, so we talked about our
11:41
data stores, how they get created
11:45
and some of the different characteristics of the volume, size
11:50
and how the
11:50
adding the lungs and the extents were actually works.
11:54
We talked a little bit about how to view the parameters everyday store. You can right click to browse, right click to delete, which will delete your files. Remember that
12:03
or right click to just on MT.
12:05
A little bit about howto manage overcommitted data stores will be careful with your thin provisioning so that you don't over commit yourself
12:13
and then, lastly, rediscovered
12:16
some of the ways to
12:18
increase the size of a day store and a little bit about the multi path thing algorithms.
12:24
So the next task is to do lab number eight.
12:26
So in this lab you'll be seeing how to create the day store, how to change its name
12:33
and how to expand it, and then ultimately extended and remove their store,
12:39
including lesson Thank you.

Up Next

Virtualization Management

Our self-paced online Virtualization Management training class focuses on installing, configuring and managing virtualization software. You?ll learn how to work your way around the cloud and how to build the infrastructure for it.

Instructed By

Instructor Profile Image
Dean Pompilio
CEO of SteppingStone Solutions
Instructor