Skrevet av Emne: Accessing the shell on DataDomain DD510  (Lest 7906 ganger)

Utlogget Floyd-ATC

  • Livstidsdiktator
  • Administrator
  • Guru
  • *****
  • Innlegg: 542
  • Karma: +12/-0
    • MSN Messenger -
    • Vis profil
    • E-post
Accessing the shell on DataDomain DD510
« på: 25. Juli 2016, 19:11 pm »
  • [applaud]1
  • [smite]0
  • Shamelessly stolen from

    Please note: use of engineering mode allows you to do major amounts of damage to your data with a frightening degree of ease and rapidity. Don’t try to access engineering mode unless you’re fully prepared to have to re-install your DataDomain – inclusive of destroying what’s left of the data on it.

    Accessing SE Mode:
    SSH to the DataDomain.
    Login with an account that has system administrator privileges (this may be one of the default accounts your array was installed with, a local account you’ve set up for the purpose or an Active Directory managed account that has been placed into a Active Directory security-group that has been granted the system administrator role on the DataDomain
    Get the array’s serial number. The easiest way to do this is type `system show serialno` at the default command prompt
    Access SE mode by typing `priv set se`. You will be prompted for a password – the password is the serial number from the prior step.
    At this point, your command prompt will change to “SE@<ARRAYNAME>” where “<ARRAYNAME>” will be the nodename of your DataDomain. While in this mode, an additional command-set will be enabled. These commands are accessed by typing “se”. You can get a further listing of the “se” sub-commands in much the same way you can get help at the normal system administration shell (in this particular case: by typing “se ?”).
    Accessing the SE BASH Shell:
    Once you’re in SE mode, the following command-sequence will allow you to access the engineering mode’s BASH shell:

    Type “uname”
    Type “fi st”
    Type “df”
    Type <CTRL>-C three times
    Type “shell-escape”
    At this point, a warning banner will come up to remind you of the jeopardy you’ve put your configuration in. The prompt will also change to include a warning. This is DataDomain’s way of reminding you, at every step, the danger of the access-level you’ve entered.

    Once you’ve gotten the engineering BASH shell, you have pretty much unfettered access to the guts of the DataDomain. The BASH shell is pretty much the same as you’d encounter on a stock Linux system. Most of the GNU utilities you’re used to using will be there and will work the same way they do on Linux. You won’t have man pages, so, if you forget flags to a given shell command, look them up on a Linux host that has the man pages installed.

    In addition to the standard Linux commands will be some DataDomain-specific commands. These are the commands that are accessible from the “se” command and its subcommands. The primary use-case for exercising these commands in BASH mode is that the BASH mode is pretty much as fully-scriptable as a root prompt on a normal Linux host. In other words, take all the danger and power of SE mode and wrap it in the sweaty-dynamite of an automated script (you can do a lot of modifications/damage by horsing the se sub-commands to a BASH `find` command or script).


    Det finnes 10 typer mennesker;
    de som forstår binærtall, de som ikke gjør det, og de som forstår Grey code.