1 Ekim 2021 Cuma

NetBackup / Rredirect the Accelerator track log to a different location

When performing an Accelerator enabled backup, track logs are created on the NetBackup client systems.

These track logs can be found at the following locations:

Windows: install_path\NetBackup\track

Under this directory, there will be a number of directories created that correspond to the master server name, storage server name, policy name, client name, and backup selections

Redirect the new backups to the new destination

1. Launch the registry editor by clicking Start > Run and then type in regedit

2. Use the tree control on the left hand side to navigate to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Paths

3. Add a new registry entry:

a. Right click on Paths.

b. Select New > String Value.

c. Change New Value to TRACK_JOURNAL_PATH

d. Right click on TRACK_JOURNAL_PATH and select Modify...

e. Enter E:${_ps}track in the Value data: field.

Note: Be very careful to use the path separator variable '${_ps}' for each backslash (\) character in the path.

f. Select OK to save the change to the registry

https://www.veritas.com/content/support/en_US/article.100038114

15 Eylül 2021 Çarşamba

EMC DD / user password aging

EMC DataDomain lokal kullanıcı parolasını never expire yapmak.

sysadmin@datadomain# user password aging show

User       Password       Minimum Days     Maximum Days     Warn Days       Disable Days   Status

           Last Changed   Between Change   Between Change   Before Expire   After Expire

--------   ------------   --------------   --------------   -------------   ------------   -------

ddboost    Sep 10, 2021   0                90                  7               never          enabled

sysadmin   Jun 11, 2021   0                99999999       7               never          enabled

--------   ------------   --------------   --------------   -------------   ------------   -------

sysadmin@datadomain# user password aging set ddboost max-days-between-change 99999999

User "ddboost's" password aging information has been updated.

sysadmin@datadomain# user password aging show

User       Password       Minimum Days     Maximum Days     Warn Days       Disable Days   Status

           Last Changed   Between Change   Between Change   Before Expire   After Expire

--------   ------------   --------------   --------------   -------------   ------------   -------

ddboost    Sep 10, 2021   0               99999999         7               never          enabled

sysadmin   Jun 11, 2021   0                99999999         7               never          enabled

--------   ------------   --------------   --------------   -------------   ------------   -------

https://www.dell.com/support/kbdoc/tr-tr/000057030/ddboost-user-shows-locked-status?lang=en


9 Eylül 2021 Perşembe

NetBackup / vxupdate

Use the nbrepo command line to add packages to the repository

Download the files with the desired NetBackup client version (nbclient_version) and operating system (operatingsystem). The files to dowload will be named in the following format:

vxupdate_nbclient_version_operatingsystem_platform.sja

Once downloaded, place this in a directory on the master server, for example:
/tmp
C:\temp

The packages can then be added to the repository with the command:

Windows master:
<install_path>\Veritas\NetBackup\bin\admincmd\nbrepo.exe -a C:\temp\vxupdate_nbclient_version_operatingsystem_platform.sja

UNIX/Linux master:
# /usr/openv/netbackup/bin/admincmd/nbrepo -a /tmp/vxupdate_nbclient_version_operatingsystem_platform.sja

Use the following command to confirm the package has been added to the repository:
Windows master:  <install>\Veritas\NetBackup\bin\admincmd\nbrepo -l

UNIX/Linux master:  /usr/openv/netbackup/bin/admincmd/nbrepo -l

---------------------------------------------------------------------

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbrepo.exe -a C:\temp\vxupdate_nb_9.1.0.1_windows_x64.sja
Adding package to the repository. This may take a few minutes...
Successfully added deployment package ID: 1 to the repository.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbrepo.exe -l
ID Type          Version OS          File Name
-- ------------- ------- ----------- -----------------------------------
1  server+client 9.1.0.1 windows_x64 vxupdate_nb_9.1.0.1_windows_x64.sja



3 Eylül 2021 Cuma

NetBackup / SLP

How to get details of all SLP versions?

(for UNIX) /usr/openv/netbackup/bin/admincmd
(for Windows)  \Netbackup\bin\admincmd

nbstl -L -all_versions

How to display one specific SLP's versions ( where SLP3 below is the name of the SLP )

nbstl SLP3 -L -all_versions

How to delete one specific version of SLP's ( where SLP3 below is the name of the SLP, 3 is version )

nbstl SLP3 -delete -version 3

23 Haziran 2021 Çarşamba

3PAR / Arızalı Disk Değişimi

HP 3PAR storage üzerinde disk arızası yaşandığında, aşağıdaki adımları takip edebiliriz.
  • showalert  komutu ile loglar incelenip arızalı disk tespiti yapılmalıdır.  Arızalı diskin üzerinde turuncu led yanıyor olur.
  • showpd -degraded -failed komutu ile ilgili diskleri tespit edebiliriz.

3PAR01 cli% showpd -degraded -failed
                           --Size(MB)-- ----Ports----
Id CagePos Type RPM State    Total Free A      B      Capacity(GB)
17 0:17:0  FC    10 failed 1142784    0 -----  -----          1200
------------------------------------------------------------------
 1 total                   1142784    0
3PAR01 cli%

3PAR01 cli% servicemag status
Cage 0, magazine 17:
The magazine was successfully brought offline by a servicemag start command.
The command completed at Mon Jun 14 05:29:45 2021.
servicemag start -wait -pdid 17 -- Succeeded
3PAR01 cli%
  • servicemag status komutu ile arızalı diskin üzerindeki dataların diğer disklere aktarılmış olduğunun kontrolü yapılmalıdır.  Komut çıktısının son satırında “servicemag start 0 9  -- successfull” ibaresini görmeliyiz. Sonrasında disk değişimi yapabiliriz. Değişim sonrasında datalar yeni diske taşınmaya başlayacak.
  • Disk değişiminden 5 dakika sonra sürecin takibini yapabilmek için  servicemag status komutu çalıştırabiliriz. Komut çıktısının son satırında “servicemag resume 0 9  -- in progress” ibaresini görmeliyiz. 
  • Süreç tamamlandığında, servicemag status komutu çalıştırdığımızda herhangi bir çıktı vermeyecektir.

Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...