06 cifs administration 1

Upload: subhrajitm47

Post on 14-Apr-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 06 CIFS Administration 1

    1/23

    CIFS AdministrationWindows 2000

    Data ONTAP Fundamentals

  • 7/29/2019 06 CIFS Administration 1

    2/23

    Objectives

    At the end of this module, you will be able to: List the prerequisites for running CIFS setup

    Run cifs setup to configure the storage

    appliance

    Explain the relationship between directories on thestorage appliance and access to them from user

    machines

    Describe the options and required specifications

    when creating a share Use the cifs shares command to create shares

  • 7/29/2019 06 CIFS Administration 1

    3/23

    Objectives

    At the end of this module, you will be able to: Use cifs access command to grant access to

    users and groups

    Use the command for starting and stopping CIFS

    services Terminate CIFS services or for specific clients

    Use the cifs sessions command to view users

    and connections

    Reconfigure CIFS on the storage appliance

  • 7/29/2019 06 CIFS Administration 1

    4/23

    Joining a Domain

  • 7/29/2019 06 CIFS Administration 1

    5/23

    Joining a Domain

    Prerequisites CIFS must be licensed on the storage appliance

    Name of the Windows 2000 domain

    IP addresses for up to four Windows Internet Name

    Services (WINS) servers (optional) Administrator name and password for the Windows

    domain server

    MultiProtocol or NTFS security style

    Security authentication will be Windows domain,Windows Workgroup, or UNIX password

    authentication

  • 7/29/2019 06 CIFS Administration 1

    6/23

    Joining a Domain

    CIFS - Logged in as [email protected] - Updating filer account 'cn=NetApp1,cn=computers,dc=BASEBALL'CIFS - Connecting to domain controller.Fri Mar 28 16:26:55 PST [rc:info]: Connection with \\DomaincontrollerestablishedWelcome to the BASEBALL Windows 2000(tm) domain.

    CIFS local server is running.NetApp1>

    NetApp1>cifs setupEnable CIFS access to the filer by a Windows(tm) PC

    Your filer is currently only visible to PCs on the same net.

    Do you wish to make the system visible via WINS? [no]:CIFS requires local /etc/passwd and /etc/group files for multiprotocol.

    Default passwd file will be created containing 'root','pcuser', and 'nobody'.Enter the password for root []:

    Retype the password:The default name of this filer will be 'NetApp1'.

    Do you want to modify this name? [no]:CIFS supports three types of user authentication:

    1. Windows Domain authentication.2. Windows Workgroup authentication using the filer's user accounts.3. /etc/passwd and/or NIS based authentication.

    What type of authentication will this filer use? [1]:The filer will use Windows Domain authentication.

    Enter the Windows Domain for the filer []:Please enter the Windows 2000 user [Administrator@BASEBALL]:Enter the password for BASEBALL\administrator []:

    joey

    joey

    BASEBALL

    simon34

  • 7/29/2019 06 CIFS Administration 1

    7/23

    Joining a Domain - Using CIFS Setup Wizard

  • 7/29/2019 06 CIFS Administration 1

    8/23

    Joining a Domain - Using CIFS Setup Wizard

  • 7/29/2019 06 CIFS Administration 1

    9/23

    CIFS Shares

  • 7/29/2019 06 CIFS Administration 1

    10/23

    CIFS Shares

    Shares can be managed by using: CLI (Command Line Interface)

    Windows Computer Management

    FilerView

    Computer Management

    NetApp1>cifs shares add webfinal /vol/vol1/webfinal

    Command Line

  • 7/29/2019 06 CIFS Administration 1

    11/23

    CIFS Shares Commands

  • 7/29/2019 06 CIFS Administration 1

    12/23

    CIFS Shares Commands

    cifs shares

    cifs shares webfinal

    cifs sharesadd webfinal /vol/vol3/qtreepubscomment New

    web pubs maxusers 30

    cifs shareschange webfinalnomaxusers

    cifs sharesdelete webfinal

  • 7/29/2019 06 CIFS Administration 1

    13/23

    CIFS Access

  • 7/29/2019 06 CIFS Administration 1

    14/23

    CIFS Shares Access

    Access can be managed by using: CLI (Command Line Interface)

    Windows Computer Management

    FilerView

    NetApp1>

    cifs access eng jbrown Read

    Command Line

    Computer Management

    NetApp1>

    Command Line

    Liz Burkhouse:

    I moved

    command line

    and computermgmt to left side

    to be consistent

    with earlier

    usage (slide 13).

  • 7/29/2019 06 CIFS Administration 1

    15/23

    CIFS Access

  • 7/29/2019 06 CIFS Administration 1

    16/23

    CIFS Access

    NetApp1>cifs access eng engineering Full Control

    Name Mount Point Description---- ----------- -----------eng /vol/vol1/eng Eng Share

    EDSVCS\engineering / Full Control

    Name Mount Point Description---- ----------- -----------eng /vol/vol1/eng Eng Share

    EDSVCS\jbrown / ReadEDSVCS\engineering / Full Control

    NetApp1>cifs shares eng

    NetApp1>cifs access eng jbrown Read

    NetApp1>cifs access delete eng jbrown

    Name Mount Point Description---- ----------- -----------eng /vol/vol1/eng Eng Share

    EDSVCS\engineering / Full Control

    NetApp1>cifs shares eng

  • 7/29/2019 06 CIFS Administration 1

    17/23

    CIFS Services

    Liz Burkhouse:

    Does this flash element

    do something or is it just

    used for illustration? If

    illust. Might be better to

    capture and use as

    graphic only.

    cifs terminate [-t time] workstation

    cifs restart

  • 7/29/2019 06 CIFS Administration 1

    18/23

    Reconfiguring CIFS

    Use cifs terminatecommand todisconnect users and stop CIFS service

    Use cifs setup command to reconfigure

    CIFS service The storage appliance automatically attempts

    to restart the CIFS service with the new CIFS

    configuration.

  • 7/29/2019 06 CIFS Administration 1

    19/23

    CIFS Sessions via Command Line

    NetApp1> cifs sessionsServer Registers as ' NetApp1 ' in Windows 2000 domain 'EDSVCS'Filer is using en_US for DOS usersSelected domain controller \\DEVDC for authentication========================================PC (user) #shares #filesTPILLON2-L2K (EDSVCS\administrator - root)

    1 0

    usersSecurity Information

    TPILLON2-L2K (EDSVCS\administrator - root)***************UNIX uid = 0user is a member of group daemon (1)user is a member of group daemon (1)

    NT membershipEDSVCS\AdministratorEDSVCS\Domain UsersEDSVCS\Domain AdminsBUILTIN\UsersBUILTIN\Administrators

    User is also a member of Everyone, Network Users,Authenticated Users

    ***************

    NetApp1>cifs sessions -s

  • 7/29/2019 06 CIFS Administration 1

    20/23

    CIFS Sessions via FilerView

  • 7/29/2019 06 CIFS Administration 1

    21/23

    Topic Review

    What 3 methods allow shares to be managed? Command line

    Windows computer management

    FilerView

    What 3 methods allow permissions to be managed? Command line

    Windows computer management

    FilerView

    What are some of the prerequisites for running CIFSsetup CIFS must be licensed on the storage appliance

    Name of the Windows 2000 domain

    IP addresses for up to four Windows Internet Name Services (WINS) servers(optional)

    Administrator name and password for the Windows domain server

    MultiProtocol or NTFS security style

    Security authentication will be Windows domain, Windows Workgroup, orUNIX password authentication

  • 7/29/2019 06 CIFS Administration 1

    22/23

    Topic Review

    What command is used to configure cifsservices cifs setup

    What is the command for starting and

    stopping CIFS services cifs terminate

    cifs restart

    What command is used to view users andconnections cifs sessions

  • 7/29/2019 06 CIFS Administration 1

    23/23

    Exercises