Showing posts with label CIFS. Show all posts
Showing posts with label CIFS. Show all posts

Tuesday, February 11, 2014

Reader Question 1: CIFS Changes

Question from a reader!

"Quick question for you. If I move a system to a different subnet and change the IP and rename it, will CIFS shares be affected in any way? Isn’t there an SID that is generated when CIFS is setup. Would that need to change?"

The Active Directory GUID  doesn’t change with the IP address, so if you're only changing the IP you'll just need to update DNS.

But when you change the system name you’ll want to remove the system from the domain, change the IP and/or name, then rejoin the domain under the new name.  

Anyone using the cifs shares will of course be affected by this, since shares are in the format \\\share or \\\share.  Everyone would have to update their shares, their mapped drives, their scripts, saved paths, etc.  

Wednesday, January 8, 2014

New Years Technical Blast!

·         General NetApp:
o   2040’s can only run up to ONTAP 8.1.4
o   2240’s can’t run below 8.1
o   8.2 licenses are worthless in 8.1, but you can generate temp licenses easily here: http://support.netapp.com/NOW/download/special/evaluation.cgi?
o   If your telnet connection dies right as you log in, there’s a stale connection.  Kill it with “logout telnet”
·         Snapmirror:
o   When snapmirror initialize gives you a “network error,” it might mean the source volume doesn’t exist/is misspelled/is too large.
o   “sysstat 1” is a quick easy way to view the throughput of a system
o   Options replication.throttle.enable combined with options replication.throttle.incoming/outgoing is a quick, easy way to turn down snapmirror traffic.  The value is in kilobytes/s, so “50,000” = ~50MB
o   A single 1Gb link can transfer as much as 130MB/s if the disks can handle it
o   Reverting a snapmirror destination is a very, very tough process.  Avoid it.
·         ISCSI:    
o   There’s a tool that will generate a script to re-set LUN serial numbers.   Ntstp.netapp.com, at the top menu bar under tools.
o   LUN ID’s, LUN SN’s, and iqn nodenames matter.  Luckily all are easy to set.
o   If you’re updating ONTAP to 8.2, Oracle Linux-based systems using ASMlib can crash entirely.  There’s an easy workaround, see page 61 in the 8.2 release notes.
·         CIFS:
o   CIFSCONFIG_SETUP.CFG contains the list of shares and permissions on the system.  You can just copy that to a new system to emulate them.

·         Bonus: you can separate snapmirror streams by editing your snapmirror.conf file.  Format:
Replication_stream1 = multi(first ip address of source, first ip address of destination)
Replication_stream2 = multi(second ip address of source, second ip address of destination)

Then for each snapmirror relationship, replace the source system’s name with the replication stream’s name.  Example:
rep1 = multi(172.16.0.7,172.16.0.5)
rep2 = multi(172.16.0.8,172.16.0.6)

rep1:volname destnetapp:volname_data kbs=5000 0 1
rep2:volname destnetapp:volname kbs=5000 0 1

·         Double bonus: Here’s a list of other important config files in the system.  Check them out!
KRB (DIRECTORY)
CIFSSEC.CFG
CIFSCONFIG_SHARE.CFG
CIFS_HOMEDIR.CFG
CIFS_NBALIAS.CFG
CIFSCONFIG_SETUP.CFG
EXPORTS
FILERSID.CFG
GROUP
HOSTS
HOSTS.EQUIV
KRB5.KEYTAB
KRB5AUTO.CONF
LCLGROUPS.CFG
NSSWITCH.CONF
PASSWD
QUOTAS
RESOLV.CONF
USERMAP.CFG


Wednesday, October 12, 2011

NetApp Experience: CIFS Error

Here's a new case: we have a filer that we're working on getting data off of to retire it, and ran into an ONTAP bug: this filer is unable to execute CIFS commands that will allow us to rename or offline volumes.  This is a big problem for use because renaming and offline-ing volumes are part of our retirement process.  


Part of the solution for this is called an "NMI reboot."  NMI stands for non-maskable interrupt, which basically means the software in the computer is incapable of ignoring this reboot.  You may be familiar with the small pinhole button on a lot of consumer hardware that would "hard reset" the system: that's it.

This system is a clustered FAS980 running ONTAP 7.2.7.   The plan is to use that pinhole button to reset the filers one at a time: when a reset occurs, the system should failover, and no noticeable downtime should result.  After the reset, we'll do a giveback, let everything settle, and repeat the process on the other system.   

Tuesday, August 30, 2011

NetApp Experience: Joining the FAS System to Active Directory

While enabling CIFS, you are asked if you want to join a domain.  This can get a bit complicated depending on whether you have privileges to add computers to the domain, and specifically which OU you have rights to add a computer to.  Unfortunately, ONTAP lists OU's in a very not-useful way, so if you arent' able to get the OU=Contoso,OU=com,etc syntax right you'll find yourself frustrated.  Luckily, there's a backdoor way to accomplish this.

"By creating a computer account in Active Directory before the computer joins the domain, you can determine exactly where in the directory the computer account will be placed."*1

So go ahead and create the account in ADUC, and then join the domain using the CIFS setup technique like you normally would.  Problem solved!

*1 http://ptgmedia.pearsoncmg.com/images/9780789736178/samplechapter/0789736179_CH02.pdf

Wednesday, April 27, 2011

"Directory cannot be written"

Needed to install a .jnlp file onto my fresh Windows 7 install and received "This directory cannot be written!  Please choose another directory!" after I affirmed the directory install path:

C:\Program Files (x86)\ProgramName\

I'm sure there are several nifty ways to accomplish this, but my hands were tied by the Group Policies set by my company's IT staff (Note: if you have engineers, give them as much power as possible over their own tools).  Since googling didn't turn up any quick solutions, here was my work around:

Start
Type "cmd"
Right click the result
Select "Run as administrator"
Type in the path to the .jnlp file
Press enter

This allowed the installation to complete, however the program wouldn't run after install.  I uninstalled, re-downloaded the .jnlp using IE in Admin mode, and re-ran the install.

Booyah.

(Alternate solution: turn off UAC!)

Monday, April 25, 2011

NetApp Training Brain Dump: Quick Hits

Here are some important facts to note that don't really belong in my other posts.  I'll keep this updated over the next couple weeks.

Quick Hits:
  1. You can suspend a specific protocol (e.g., turn off CIFS access).
  2. 500A098 is NetApp's base WWPN string.
  3. ~80% of NetApp's hardware support calls are the hot swappable units (Fan, PSU, Drive).
  4. There are about 40,000 FAS systems in the US, 150,000 in the world (4/24/11).
  5. Don't use HyperTerminal to access a FAS system console.  PuTTY is your friend.
  6. Give SAS/SATA/FC their own shelves and loops.  Don't mix and match.
  7. The FAS3140 doesn't have the 2 minute PSU countdown to a system halt, but best practice is still 2 minute replacement time.
  8. FAS2000 series internal disks are unusual and specific.
  9. FC disks are up to 750GB now (4/24/11)
  10. ONTAP data blocks are minimum 4k.