NetApp 9

NetApp 9: CIFS

Task 1: use netapp system manger to lincense CIFS

This task is just like adding an NFS key, simply on the license pane click add license to add the key.

Task 2: Use netapp system manager to configure CIFS service

In the menu we navigate to the CIFS pane under protocals. Here we simply click setup and the wizard should initiate.

After all the details have been put into the wizard (Next, next, next) we can check that the service is configured the way we want it by viewing the CIFS main page.

Task 3: Create a windows domain user

In this task we create a user that can then be used to access the CIFS shares.

First thing to do is get in to the windows server manager and add the remote server admin tools service.

This can be found under the add feature link in the server manger.

Once that has been installed we can add a user. This can be found through server manager, AD, and then right clicking on the users folder and selecting new user.

Task 4: Use the CLI and system manager to view and create shares.

First we check what shares are on the system with CLI:

Then in the GUI under storage and then qtrees:

On the Shares pane we can see that default shares have been created.

On that shares pane we can create another qtree straight from here with the create share wizard. Which can be initiated by clicking create.

Qtrees and cifs shares can also be created through the CLI also. Here we use the qtree create command and status to make another cifs share.

The we check the status with the qtree status command.

And finally changing the security to ntfs as windows system will be accessing it.

Then we turn the qtree into an actual share with the cifs shares command.

Then we can check that it has worked with the cifs shares <name> command.

Task 5: create a new share with computer management

Same thing as above, we create a cifs share number 3, but we test it’s function with a windows client.

Create another cifs share with the GUI:

But this time we check that it’s working with a windows client.

Task 6: Map the rest of the shares to drive letters

Just like the share above we add the other 2 to the windows client and give them drive letters. All three shares can be added easily by using the windows add network drive wizard.

Task 7: Modify user permissions

Back on the storage system we can change the permissions on one of the shares so that only the userx we created early can read from it.

The first change gives the user read write and execute permissions. But if we want to just have it as read we just specify read.

Task 8: Display cifs sessions

In this task we simply display the cifs session currently being hosted by the storage server.

To display it in the system manager gui all we need to do is navigate to diagnostics and then select cifs.

The session can also be checked on the CLI with the cifs sessions command.

Task 9: Configuring SMB 2.0 protocol

In the storage system CLI we can turn the SMB protocal on with the options cifs.smb2.client. enable on command.

Then on the windows client we can enable smb so that the client uses the smb protocol.

And back at the storage system we can check that the windows client is using the smb protocol by entering the sessions command with -p smb2 tag.

Task 10: Terminate CIFS sessions

Firstly we make sure the windows client doe not have any connections. In the computer management under shared folders we right click and select close all sessions.

The on the storage system CLI we check the sessions, if there are some we terminate the CIFS service.

To reset it we type in the cifs restart command.

On the system manager gui we can do the same tasks.

Firstly  we navigate to the cifs service from the left hand menu and then click the stop button to stop the service.

We see there are no sessions now.

And to start it again we simply click the start button instead.

 

 

Leave a comment

Filed under Uncategorized

Leave a comment