iSCSI Basics & Best Practices | CBT Nuggets

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey folks it's the CBT nugget series for designing and implementing server infrastructure I'm Chris Ward and today's nugget as promised from other previous nuggets is configuring ice Guzzi we're going to take a look at those initiators and those targets and get them set up so you get the block level access that you get with a scuzzy device over your Ethernet connections at least several times I've mentioned how I scuzzy is going to be your way to connect up to a SAN over the Ethernet and as well as of course now storage pools which is the gonna be the demo I don't have a big refrigerator of hard drives sitting here next to me but we'll go ahead and utilize our storage pool and show you how that all works plus we're going to be introduced to the wonderful world of iSNS the internet storage name service protocol which helps us interact between iSNS servers and I SNS clients and you're going to see how that all works with ice Guzzi we're going to primarily mention now I've got myself a server over here and this is going to be my target okay and my target is going to actually be built on a storage space that is produced a virtual disk remember that's how we set these things up and this virtual disk is going to be the ice Guzzi target okay so here's our ice cozy target that I've got set up over here on one of my servers over here you are going to have your initiators so this is going to be an initiator this could be one this could be one and the initiator remember initiates a connection with a target and it does it over and this is why it's hi scuzzy this is an Ethernet connection right so you got an Ethernet right here and then this is an Ethernet connection over here and by the way this can also be virtual Ethernet as well if you're doing this within hyper-v so literally you can set up targets within hyper-v and initiators and that's kind of a cool feature that a lot of people use especially not only in lab environments but if you have one beefy hosts hyper-v hosts with a whole bunch of hard drives but yeah you just want one of your virtual machines to kind of be the storage spaces and handle all that you can do that within that hyper-v system it used to be you had to actually install your I scuzzy target and that was kind of something you had to you know go in and actually start separate but it's actually part of the operating system but you do need to add it as a role or feature and then we can do that just by simply coming in here add roles feature wizard and we can go ahead and skip that and from the thing installation type it is role-based or feature-based select our server here and then it is going to be found under file and storage services now I've gone ahead and actually installed it so we don't have to sit here and wait for it but you'll notice it's right here I scuzzy target server installed and by the way something since we're already going to do it server for NFS basically enables you to share files with UNIX based computers that use the network file system NFS protocol so that's essentially what you need to be able to do and I've did that over on my other machine that will show to you so you can kind of see that but I've already installed it right here as the target server and this is where you would find it under file and I scuzzy since I've already done it I'll go ahead and cancel on that and so we come on over here and I'm going to go to my file and storage services and we have our volumes all set up here and you notice that we have I scuzzy and this is where you're going to find it I scuzzy and right now there are no virtual disks enabled right here as well as no targets there is no virtual hard drive so you can come over here and well I'm sorry I got to create the virtual disk that I'm going to target so we go new I scuzzy virtual disk and you can also import one as well if it's already been created so let's scroll this on up here so we can see everything going on and it's going to say alright we want a new disk now where do we want to create this do we want to do it on the C Drive I Drive or L DRI well I stands for I scuzzy I'm going to go ahead and do that go ahead and click Next we can give it a name nice friendly name here in this case I'm going to call it target one okay just to kind of demo because I'm going to be using this as a demo we'll go ahead and click Next it is going to tell you how much free space is enabled on this you have fixed size dynamically expanding and differencing we've seen this several times it's the same principle here except for the ability for this clear the virtual disk on allocation basically it means that you're going to be handing over all of that to the I scuzzy is a target for somebody to access as a drive so in this case we'll just go ahead and I'm not going to use all of it I'll just use 2.0 we'll just use two gigs of that we click on next and now it says assign this to an existing target well I don't have any so we'll create a new one click Next well what are we going to name this we'll call this target one demo alright so we can do that and then it's going to say we need to access the initiators or initiator that will access this I scuzzy virtual disk so I'll go ahead and add one and now of course if I'd had a whole bunch that have already accessed the target server this server before I could select for them if I know the iqn number DNS name IP address or MAC address you can do that especially MAC address nice and secure in this case I'm going to just browse and fine I think it's a c0 one check the name yep there it is we go ahead and we click OK and it says all right that's the one we're going to add we go ahead and ok and it automatically populates it with the iqn which is of course that I scuzzy qualified name which will of course be utilized when you use the iSNS that's just FYI 1990 105 comm microsoft SC 0 1 sounds good we click Next now if I wanted to enable authentication remember how I talked about in a previous nugget how you can put authentication on top of those storage spaces but you need to use I scuzzy I scuzzy allows authentication storage spaces essentially does not so that's where we would do this not necessary for my demo purposes alright looks good click create off it goes and voila we're done so we have that we click on close and notice it says we have a new ice cozy virtual disc target one notice it's clearing so that way it can get all this space and then it's initializing so right now it's not available it's got to go through its whole process and do all that kind of thing but now I literally have a nice cozy target that I can connect to with my initiator it finishes up notice that and it says not connected nothing is connected it's the target name is target one demo so let's flip on over to my SC zero one okay now if I can only find it over here let's where to go there we go ah helps to have it set up in Riga okay so here we go chris is losing it so we are on SC zero one and here you might think oh so to get my initiator I just go over here to I scuzzy right no remember the I scuzzy this is dealing with targets so I would have to install notice I don't have the target server on this particular machine I would this is where I go over to my manage and then add roles and features and do that okay so instead we go over here to tools I scuzzy initiator now right now I don't have and you discover targets I haven't done anything yet because I just set it up so the nice thing about this is Quick Connect this is kind of cool so I just put Fe 0 1 dot nugget lab comm using the DNS name of my target and it says aha look you have set up target 1 demo and because this is SC 0 1 my IQ n it's the except you know accepted right I've already set it up now if I had authentication it would have ad asked me right here hey what's your username and password but we didn't have any login succeeded we click done and I'm now connected so obviously if I come down here and by the way to disconnect you just simply disconnect if you want to not have that connector initiator connection to the target discovery now there's a target portal that's available to me they know that hey Fe 0 1 has your I scuzzy targets right so I can maybe find others over there you can have favorite targets in this case now I've only got one volumes and devices well notice it hasn't set this up you can now automatically configure all available so if you're using a particular volume or device you can add that or configure all available devices so you can do that now you can add a specific device just by simply clicking Add and then put the drive letter or mount point but I'm going to show you something else here in just a second then also radius if you have radius servers if you need to be able to connect through a radius well not a problem you can set up your radius server authentication and then also basic configuration remember how it automatically gave me SC 0 one nugget lab with IQ n 1990 105 if you want to change that you can modify the initiator name just by simply clicking right there okay so we'll go ahead and click on OK now I should be able to come over here click on it and find where's the drive it's not here ah now there's a little trick here that you need to do I'm going to right click over here let's go to disk management I'm going to show you something kind of cool if I select this let's bring it all the way down here and as I scroll down through here you notice I've got my disks and some of these are created in another nugget and if I keep scrolling ah here it is notice it is offline and so I have the new disk and so I can go to here to properties of this disk you notice the policies the volumes the drivers the details and all the events right that's all kind of cool notice the device was started or configured at this particular time and whenever you do it and so what you can do is you can bring it on line and notice it is not initialized and it is now unallocated so now if you want to once you initialize the disk now it's on line it's going to say all right you must initialize it do you want to use the Master Boot Record or a good partition table all right we'll just stick with the MBR that's fine it comes in it's now a basic disk on line I right-click on it and now I can just do a new simple volume and do the you know the typical thing notice there's our two gigs that's available to us assign it to the following drive letter we can call it and we'll call it what oh just for fun and then we'll say do you want to format it this is pretty you know familiar right and click Next click finish and then off it goes and now this is going to be my G Drive which is course is my I scuzzy target which is available and now I now it shows up you know and I can give it a name and stuff like that if I wanted to so if I come down here and it says notice it need two formats sure I think I already did that but that's ok oh yes alright yeah it's already done alright so ok close that again sorry hang on like that now if I open up this now you notice I have my new volume 0 where is this new volume it's my storage space virtual disk over on my other computer you got a love technology right and to a user to a server and I could do this by the way with a host you know host computers people's on their laptops this is going to now show up as just it's a drive and you know however big we created it and whatever we did and so that's pretty simple ok real quick iSNS that's something that we want to talk a little bit about here and I'm gonna have to flip back on over to my other computer alright flipped on over here and if you notice a lot of people think that is ns would be under I scuzzy because that's what it primarily deals with right but if you notice not here instead that you would obviously come up to manage add roles and features to put the is in a server in place and then you come over here to tools and click on is NS server and then you begin to set up this environment now remember internet storage name service is essentially and I like how who one person calls it its DNS for your I scuzzy devices or I scuzzy notes now by the way is both your initiators and your targets it just makes it easier instead of me going out remember I was like okay let's see hopefully I know the domain name of one of the targets but instead if you're running is ns it would have populated all available targets there for you as it went out and started talking about you know oh hey who's available and basically it advertises that over the Ethernet network by the way this were in the real world you can use iSNS for both fibre channel and I scuzzy as long as you have fibre channel gateway out there but the problem is is for us in Microsoft world guess what only I scuzzy that's the only thing that it supports the discovery of it doesn't allow you to do fibre channel devices which okay you do use something else okay now what you would have is what are called nodes nodes are essentially your targets your initiators it can also be any Associated portals with that and any management nodes now initiators and targets would then register with your iSNS server and then the initiators are going to go to the is and a server and go hi who is available for me and that would then obviously be utilized for this now you can take this database and then you can break it up into what are known as discovery domains think about discovery domains is kind of like zones in fact because we're kind of talking about it's kind of like DNS for your storage devices and you know that kind of makes a lot of sense now they have a default one that's already there or you can create your own so I can go ahead and create one and call it you know Chris access okay and once I do that then it's like okay you've got Chris access do you want to add any I scuzzy targets now if they're already registered you can click on the Add button and get those but I'll add a new one won't do SC zero one okay so we click on okay and boom i SC zero one registered yes type unknown we don't have that alias entity and those kind of things but it eventually you can break these down and by the way you can break them up into even more into discovery domain sets and that way again you can add discovery domains that are then administered in a set versus just one by one and this is of course in your large environments for that so these are just some things that you can have in in this particular environment and everything that you're creating and the nice thing about iSNS is again it is all allowing your clients to know about targets out there and that's essentially what you need to know and it's a very simple straightforward setup as you can see right here once you get your targets and initiators register so we took a look at I scuzzy initiators targets is ns and even briefly showed you what NFS is all about I hope this has been informative for you and I'd like to thank you for joining
Info
Channel: CBT Nuggets
Views: 143,693
Rating: undefined out of 5
Keywords: storage area network, iscsi best practices, how does iscsi work, iscsi tutorial, iscsi explained, iscsi basics, iscsi how it works, iscsi configuration on windows server 2012, why iscsi is used, what is iscsi, storage area network tutorial for beginners, storage area network tutorial, storage area network explained, storage area network configuration, storage area network basics, what is iscsi storage, storage area network setup
Id: vekVppdPwkc
Channel Id: undefined
Length: 15min 55sec (955 seconds)
Published: Tue Dec 23 2014
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.