Wednesday, January 26, 2011

Download Dell OpenManage Server Administrator 6.4

Are you having problem locating the Dell OpenManage Server Administrator 6.4 .iso image? Guess what! I did too! Here you go. I hope this helps someone.

http://ftp.us.dell.com/sysman/sm_6.4.0-12_A00.iso

Monday, January 3, 2011

Symantec NetBackup CLI Troubleshooting

Did you ever need to troubleshoot Symantec NetBackup from the Command Line? Here you go! (Commands also work on Linux, Solaris and Windows)


C:\Program Files\Veritas\NetBackup\bin\
bpps             = list NetBackup services
nbconsole        = launch NetBackup Administration Console GUI
bpdown -v -f     = shut down NetBackup services by force and show in verbose
bpup -v -f       = start NetBackup services and show in verbose

C:\Program Files\Veritas\NetBackup\bin\admincmd\
bpexpdate -m 123456 -d 0   = expire media ID 123456, effectively releasing the assignment of that tape
nbemmcmd -listmedia -mediaid 123456    = show the parameter of media 123456
nbpemreq -suspend_scheduling           = suspend your policies (running jobs are not affected)
nbpemreq -resume_scheduling            = resume the policies again

C:\Program Files\Veritas\volmgr\bin\
vmoprcmd                     = list devices and media server status (it will say "ACTIVE" if disk and tape are up)
vmoprcmd -d                = list device status
vmquery -m 123456      = show the parameter of media ID 123456 (not as comprehensive as nbemmcmd -listmedia -mediaid)
tpconfig -d                     = list device status
scan -changer                 = probe the robot. If it's connected properly it will show, otherwise, blank
scan -tape                             = probe the tape drives. It will list those that NetBackup can see via the Operating System.
If not showing, either they are not connected properly, or driver is invalid/not up to date, or Removable Storage service is running
tpclean -L       = check the drive cleaning status
tpclean -C drivename       = clean that drive
robtest       = do robot operation directly on the robot
You can use these commands inside robtest:
s d   = show the drives and what's in them
s s   = show the slots and what's in them
m s1 d1 = move tape from slot 1 to drive 1
m s2 d1 = move tape from slot 2 to drive 1
m d2 s1 = move tape from drive 2 to slot 1

Important: always exit from robtest when you are done (q), as robtest locks the robot operation. Other programs won't be able to do robot operation when you are in robtest.

OS command
taskkill /f /pid 12345     = kill process ID 12345

A good place to check for drive / tape errors is to open the errors file below. It will log tape alert messages sent from the library:
C:\Program Files\Veritas\NetBackup\db\media\errors