MB SystemShell

download MB SystemShell

of 8

Transcript of MB SystemShell

  • 7/27/2019 MB SystemShell

    1/8

  • 7/27/2019 MB SystemShell

    2/8

    2009 NetApp. All rights reserved.

    Module Objectives

    By the end of this module, you should be able to:

    Distinguish between administration and system

    shells

    Enable the diag user

    Login to the system shell

  • 7/27/2019 MB SystemShell

    3/8

    2009 NetApp. All rights reserved.

    Shells

    Data ONTAP 8.0 7-mode has two shells:

    Administration shell

    Normal operations with privileged levels Use priv set to configure

    System shell Used for low-level diagnostic purposes

    Customers instructed to only ask the system shell

    under guidance of technical support

  • 7/27/2019 MB SystemShell

    4/8

    2009 NetApp. All rights reserved.

    System Shell Access

    Only the diagnostic user may access the

    system shell

    Diagnostic account is predefined but disabled by

    default

    To perform lower diagnostics, you must:1. Enable the diagnostic account

    2. Access the system shell

  • 7/27/2019 MB SystemShell

    5/8

    2009 NetApp. All rights reserved.

    1. Enable Diagnostic Account

    To enable the diagnostic account:

    Change to the advanced privileged level system> priv set advanced

    Unlock the diagnostic account: system*> useradmin diaguser unlock

    Set the diagnostic account (required): system*> useradmin diaguser password

    Please enter a new password:

    Please enter it again:

    Verify the diagnostic account: system*> useradmin diaguser show

    Name: diag

    Info Account for access to systemshell

    Locked: no

  • 7/27/2019 MB SystemShell

    6/8

    2009 NetApp. All rights reserved.

    2. Access the System Shell

    To access the system shell:

    Change to the advanced privileged level: system> priv set advanced

    To enter the system shell: system*> systemshell

    Data ONTAP/i386 (nodename) (ttyp0)

    login: diag

    Password:

    system%

    To exit the system shell: system% exit

    logout

    system*>

  • 7/27/2019 MB SystemShell

    7/8 2009 NetApp. All rights reserved.

    Operations at System Shell

    The following operation may be performed at

    the system shell:

    whoami

    ps

    top

    uname -a

    Other commands that Technical Support

    requests

    7-Mode administrators normally do not need to

    access the FreeBSD system shell

    Use with the direction of Technical Support only

  • 7/27/2019 MB SystemShell

    8/8 2009 NetApp. All rights reserved.

    Module Summary

    In this module, you should have learned to:

    Distinguish between administration and system

    shells

    Enable the diag user

    Login to the system shell