Brocade SAN Switch Commands

some usefull Brocade SAN Switch commands:

Settings

tsclockserver <ip>: set NTP server for time synchronization. theoretically only needed on one switch… (Bug in Firmware 6.2 !)
tsclockserver LOCL: disable NTP server
tstimezone: to set the timezone. for Switzerland use Zurich:
tstimezone Europe/Zurich
tstimezone –interactive
date: show the current date/time

ipaddrshow: show current IP address
ipaddrset: set new ip address

Firmware

firmwaredownload: to download new firmware from ftp or scp
firmwaredownload -p ftp 192.168.1.101,anonymous,v6.4.2b

firmwaredownloadstatus: to see firmware installation progress. completely finished after step 5

firmwareshow: show installed firmware versions. primary and secondary needs to be the same, otherwise the firmwaredownload commit has not been finished yet

 Configs

configupload
configdownload

Posted in NetApp, VMware | Tagged , , , | Comments Off on Brocade SAN Switch Commands

Netapp NFS export example for VMware ESXi

VMware ESXi always connects with root.

/etc/exports

/vol/esx_iso    -sec=sys,rw=192.168.1.31:192.168.1.32,root=192.168.1.31:192.168.1.32
/vol/esx_swap    -sec=sys,rw=192.168.1.31:192.168.1.32,root=192.168.1.31:192.168.1.32
/vol/esx_data    -sec=sys,rw=192.168.1.31:192.168.1.32,root=192.168.1.31:192.168.1.32
/vol/esx_os    -sec=sys,rw=192.168.1.31:192.168.1.32,root=192.168.1.31:192.168.1.32
Posted in NetApp | Tagged , , | Comments Off on Netapp NFS export example for VMware ESXi

SMVI Jobs partially successful

if the mail notification looks like this:

Backup backup_Daily Prod_20120419200002 completed with status partial success.
Following VMs were not backed up : [myvm, myothervm]

and the Log in \\vcenter\c$\Program Files\NetApp\Virtual Storage Console\smvi\server\repository\logs\jobid\jobname_timestamp.xml says:

VMware Task "CreateSnapshot_Task" for entity "myvm" failed with the following error: Operation timed out (Zeitüberschreitung beim Vorgang)

then most likely the ESX host or vCenter is too busy creating all snapshots.
SMVI creates 6 concurrent VMware snapshots per datastore.

 

Solutions

  • make backup jobs with less VMs (one job per datastore)
  • limit the concurrent VMware snapshots. this can be done in the file:
\\vcenter\c$\Program Files\NetApp\Virtual Storage Console\smvi\server\etc\smvi.override

change the line

#vmware.max.concurrent.snapshots=6

to

vmware.max.concurrent.snapshots=3

and restart the service:

net stop smvi
net start smvi
Posted in NetApp | Tagged , , | Comments Off on SMVI Jobs partially successful

Netapp SV-SMVI

SV-SMVI provides basic SnapVault functionality in combination with NetApp and VMware consistent backups created through the Backup and Restore section of NetApp’s Virtual Storage Console (VSC), formerly known as SnapManager for Virtual Infrastructure (SMVI). Some customers require the use of SnapVault instead of SnapMirror, and SV-SMVI can perform the identification and replication process for specific VSC/SMVI backup sets.

Download from the Netapp communities: https://communities.netapp.com/docs/DOC-8720

Install

  • unpack the sv-smvi zip file to \\vcenter\c$\Program Files\NetApp\sv-smvi\
  • Copy the following lines into \\vcenter\c$\Program Files\NetApp\Virtual Storage Console\smvi\server\scripts\sv-smvi.cmd
rem script to be run from VSC/SMVI
rem
rem --- params ---
set vscuser=myuser
set cryptpasswd=53616c7465645f5f1120fb3eae068a4efa9223bb16b4fae1b49c4bccd2453fa9
set sv-smvi-path=C:\Program Files\NetApp\sv-smvi\

rem to create encrypted password:
rem sv-smvi.exe -cryptpasswd

rem --- script ---
"%sv-smvi-path%\sv-smvi.exe" -svuser %vscuser% -svcryptpasswd %cryptpasswd%
  • change the username and password hash in the script to the appropriate account
  • add the script to the SMVI backup job

 

Tips

  • the parameter -https does not seem to work! the filer must have http (without ssl) enabled!
    options httpd.admin.enable on

    if there are errors or problems, enable the log file. by default, there is no log!
    add the following parameters to enable logging:

    -report -reportdir c:\temp

 

Posted in NetApp | Tagged , , | Comments Off on Netapp SV-SMVI

GPS Track der Rodelbahn beim Schwarzsee

Posted in GPS | Tagged , | Comments Off on GPS Track der Rodelbahn beim Schwarzsee