EMC Data Domain etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
EMC Data Domain etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

28 Ekim 2021 Perşembe

NetBackup / EMC DataDomain Configuration over FC

NetBackup ile EMC DataDomain FC entegrasyonu öncesinde OST plugin kurulumu yapıyoruz.

EMC DataDomain ile NetBackup arasında fiber bağlantıları yapıyoruz. 

SAN SW üzerinde alias zone tanımlarını yapıyoruz.

EMC DataDomain üzerinde fiber tanımlarını acces grup ayarlarınıyapıyoruz.


EMC DataDomain üzerinde fc ismini kontrol etmek için aşağıdaki komutu çalıştırabiliriz.

sysadmin@dd1# ddboost fc dfc-server-name show
DDBoost dfc-server-name: dd1
Configure clients to use "DFC-dd1" for DDBoost FC.

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


30 Ocak 2020 Perşembe

EMC DD / List & Delete SQL Backups

EMC DD üzerinde, 1 günden eski SQL backupları görüntülemek:

ddbmexptool -l -n mssql -z "C:\Program Files\DPSAPPS\MSAPPAGENT\config\ddconfig.cfg" -e "1 days ago"



EMC DD üzerinde, 15 günden eski SQL backuplarını silmek:

ddbmexptool -d -n mssql -z "C:\Program Files\DPSAPPS\MSAPPAGENT\config\ddconfig.cfg" -e "15 days ago"

21 Mart 2018 Çarşamba

EMC DD / Exchange restore

EMC Data Domain Exchange restore


  • Mount edilecek DB Active Directory kullanıcının homeMDB bilgisinden bulunur
  • Exchange sunucuda aşağıdaki komut ile block based backuplar backup olarak tanımlanır$backup = Get-ExchangeBackup -BackupviaBlockBasedBackup
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.
PS C:\Users\username> $backup = Get-ExchangeBackup -BackupviaBlockBasedBackup
cmdlet Get-ExchangeBackup at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
ClientName:
DataDomainHost:
DataDomainHostPath:
DataDomainUser:
  • Aşağıdaki komut ile tüm backuplar listelenir
    $Backup
  • Son backup 0 numaradır, buna göre restore edilecek DB numarası bulunur
  • Aşağıdaki komut ile DB mount edilir
    Mount-ExchangeBackup -Backup $Backup[1222]
  • EMC ItemPoint for Microsoft Exchange Server uygulaması ile mount edilen DB açılır
  • Item recovery için sunucu üzerinde Outlook uygulamasının da kurulu olması gerekmektedir

15 Mart 2018 Perşembe

EMC DD / config file

Windows sistemlerinde ddconfig.cfg dosyası düzenlenir

Linux sistemlerinde .utl dosyası düzenlenir

CLIENT=sql1.domain.com.tr
LOCKBOX_PATH="C:\Program Files\DPSAPPS\common\lockbox"
DDBOOST_USER=ddboostuser
DEVICE_HOST=dd1
DEVICE_PATH=/sql
DDBOOST_FC=TRUE
DEVICE_FC_SERVICE=dd1

14 Mart 2018 Çarşamba

EMC DD / snapshot

snapshot list mtree *

EMC DD / Remove-ExchangeBackup

Remove-ExchangeBackup -BackupID msapp_bbb:1517460816 -DataDomainHost dd1 -DataDomainUser ddboostuser -DataDomainPath /exchange1 -ClientName dag.domain.com.tr -Confirm:$false

EMC DD / Get-ExchangeBackup last day

Get-ExchangeBackup -BackupViaBlockBasedBackup -DataDomainHost dd1 -DataDomainUser ddboostuser -DataDomainPath /exchange1 -ClientName dag.domain.com.tr -After (Get-Date).AddDays(-1)

EMC DD / Get-ExchangeBackup before 15 days

Get-ExchangeBackup -BackupViaBlockBasedBackup -DataDomainHost dd1 -DataDomainUser ddboostuser -DataDomainPath /exchange1 -ClientName dag.domain.com.tr -Before (Get-Date).AddDays(-15)

20 Şubat 2018 Salı

EMC DD / import sfs_dump data into Excel

Generate and capture the sfs_dump data:

In this section you will need to know how to connect to your Data Domain via a ssh client, and how to configure its ability to log any data which appears on the screen. This log file is not written on the Data Domain, it will be written to the system from which you are running the ssh client (perhaps your laptop). You should ensure there is sufficient space for the log file (which could be around 200 MB for systems with 1 million files).

1.     Login to the DDR from a ssh client
2.     Type system show serialno
3.     Type priv set se
4.     Authenticate using the serial number from Step 2. If your system uses retention-lock compliance then you will need to authenticate using a user with the "security" role first.
5.     Switch on logging within your ssh client, ensure "all session output" is enabled, the output file is named logically and will be placed in a suitable directory where you can find it. For PuTTY, this is under the Session -> Logging tab of the configuration screen. You may need to check the manual if you are using a different ssh client.
6.     Type se sfs_dump -c (you can specify a path if you want to limit to a particular dir or mtree, eg se sfs_dump -c /data/col1/mymtree.)
7.     When the command has completed, switch off logging. If Excel is not installed on the same machine as the log file just created then you will need to copy it across.

Import into Excel:
In this section the previously created log file will be opened inside Excel, and the data imported into a spreadsheet. Excel's "Text Import Wizard" will be configured to split the data into individual columns. Any redundant information above the actual data will be removed.

8.     Start Excel
9.     Open the file created by your ssh client's logging, using File -> Open. You may need to set the dialog to show "All files", depending on the suffix of the log file you created.
10.   Excel will start the "Text Import Wizard"
11.   Choose "Delimited" to describe the data
12.   Scroll through the preview, looking for a line which starts with "namemtimefileidsizeseg_bytes" and note the row number. This line is the header for the sfs_dump data and is the first line we wish to import. Set the "Start import at row" value to this number.
13.   Click "Next"
14.   Ensure the "Tab" delimiter box is ticked and the others are unticked, check the preview to see filenames in the first column, and numbers in the remaining columns. Note: You may need to scroll down a little as the preview starts at the top of the file, rather than the header line set in Step 12. If the preview does not show filenames in the first column, and numbers in the remaining columns then you should click "Back" and follow Steps 11-14 again. If it still doesn't appear correct then you will need to restart from Step 1 - paying particular attention to ensuring that "all session output" is enabled. This is essential to allow the tab characters used in the sfs_dump output to be saved in the log file.
15.   Click "Next"
16.   Click "Finish"
17.   At this point, Excel should contain data in columns A to I. If data is only present in column A, but stretches across the screen, then close Excel and retry from Step 8. If you still see the same result, re-read Step 14 and then restart from Step 1.

Add extra calculated fields:
In this section, extra fields will be added to show various compression values, and to convert the timestamp data into a human readable value. We will also remove any redundant information below the data. When you first enter the formulae in the following steps, the cell will display "#VALUE!" - this is normal and expected.

Firstly, the timestamp conversion.

18.   Copy the following formula and paste into cell J1: =(((B1/1000000000+(-6*3600))/86400)+25569)

a)     Change the -6 in the -6*3600 section to the offset between your timezone and UTC, ie -6 for Central, -5 for Eastern, -8 for Pacific. For timezones East of UTC (ie mainland Europe, India) the offset will be positive (ie 1 for Central Europe). If your timezone has a half hour difference, make sure you include .5 in the value you use.

b)     Secondly, the compression information.  

19.   Copy the following formula and paste into cell K1: =IF(H1=0,0,D1/H1)
20.   Copy the following formula and paste into cell L1: =IF(I1=0,0,H1/I1)
21.   Copy the following formula and paste into cell M1: =K1*L1
22.   Select cell J1, right click, then "format cell", choose your preferred format from the Date selection.
23.   Select cells K1,L1,M1, right click, then "format cell", set to Number with one decimal place

Next, we are going to copy the formulae we have just added, to every row of data, using some useful shortcuts.

24.   Select cells J1,K1,L1,M1, right click, select copy
25.   Scroll down to the bottom of the data using the vertical scrollbar on the right (which is quicker than using the arrow keys.)  Look for the last row which contains data in columns A through to I. Take a note of the row number. There should be a blank row below this one, followed by some summary information.  
26.   Select the cells in columns J,K,L,M in the row for which you noted its row number, then scroll back to the top of the sheet (drag the vertical slider to save time), hold down shift and select cells J2,K2,L2,M2. Now press enter so that the values are pasted all the way down. Now we are going to remove any redundant rows below the data.
27.   Return to the bottom of the data again, to the row number recorded in step 25.
28.   Select any entire row underneath this row which contains data, and delete it.

Add remaining headers and filtering functionality:
In this section, we will name the calculated columns we added, and enable Excel's powerful filtering and sorting ability.

29.   Go to cell J1, change this to read "Last written date"
30.   Change cell K1 to read "Global compression"
31.   Change cell L1 to read "Local compression"
32.   Change cell M1 to read "Overall compression"
33.   Double click on the divider between the headers for column A and B to resize column A to the widest filename.
34.   Select cell A1.  Select "Format as Table" from the "Home" ribbon menu. Click on your preferred style - any from the 2nd line under the "Medium" heading have been found to be easy to read. Ensure "My table has headers" is ticked, then click "OK" in the "Format as Table" dialog.
35.   "Save as", ensuring the type is set to "Excel Workbook (*.xlsx) 

Information on the columns:

·         A contains filename
·         D is the original size of the file
·         H is the size after global compression
·         I is the size after global and local compression
·         J contains the datestamp for when the file was last written..
·         K contains the global compression or dedupe
·         L contains the local compression
·         M contains the overall compression for the file

All filesizes are in bytes.

You can now use Excel to filter/sort as required to report on your data.
·         For example, to show only files within the MTree "/data/col1/backup" which are over 30 days old:
·         Click on the down arrow in the "Name" header, select "Text Filters", then "Begins With" and type "/data/col1/backup/" into the box. The trailing slash is important.  Click "OK"
·         Click on the down arrow in the "Last Written Date" Header", select "Date Filters", then "Before".  Use the date picker on the right of the dialog to select a date 30 days ago. Click "OK"
·         The status bar at the bottom will show how many rows match this selection.
Notes:
This procedure relies on the Data Domain's sfs_dump command. The information returned from this command includes a timestamp of the file (in a non-human readable format) and internal information related to deduplication. This information is only stored when then the file is first written to the Data Domain, hence it tends to become less accurate as other data is written to/deleted from the Data Domain.

Please note this particular procedure uses the "-c" option of sfs_dump, which outputs in columns which are separated by tabs. It is essential that the tab characters present in the output are saved in the logging file, otherwise Excel will not be able to separate the fields correctly. There are other output formats for sfs_dump, and EMC Support may have requested these in other situations.

The instructions given assume a reasonable knowledge of Excel, but may be translated into other spreadsheet software.
Modern versions of Excel allow a large number of rows (bear in mind that each file on your system will require a row in the spreadsheet.)
If your system has too many files for your version of Excel you can try running the procedure once for each Mtree, so you will have multiple spreadsheets for the system.


How to import sfs_dump data into Excel?

23 Ocak 2018 Salı

EMC DD / system show nvram

sysadmin@dd1# system show nvram
NVRAM Cards:
        Card   Component                 Value
        ----   -----------------------   ----------------------------------------------------------------------
        1      Slot                      0
               Firmware version          0.0.80
               Memory size               7.93 GiB
               Errors                    0 memory (0 uncorrectable), 0 PCI, 0 controller
               Flash controller Errors   0 Cfg Err, 0 PANIC, 0 Bus Hang, 0 Bad Blk Warn, 0 Bkup Err, 0 Rstr Err
               Board temperature         33 C
               CPU temperature           44 C
               Number of batteries       1
        ----   -----------------------   ----------------------------------------------------------------------
NVRAM Batteries:
        Card   Battery   Status   Charge   Charging   Time To       Temperature   Voltage
                                           Status     Full Charge
        ----   -------   ------   ------   --------   -----------   -----------   -------
        1      1         ok       100 %    enabled    0 mins        33 C          4.090 V
        ----   -------   ------   ------   --------   -----------   -------

6 Aralık 2017 Çarşamba

NetBackup / Data Domain OST plugin

NetBackup üzerinde yüklü OST versiyonunu kontrol etmek için aşağıdaki moutu çalıştırabiliriz.

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpstsinfo.exe -pi -stype DataDomain

Plugin Info:
        Plugin Name: libstspiDataDomain.dll
        Prefix: DataDomain:
        Label: Data Domain Plugin
        Build Version: 11
        Build Version Minor: 1
        Operating Version: 11
        Vendor Version: 3.4.0.2-565076

EMC DataDomain üzerinde fc ismini kontrol etmek içim aşağıdaki komutu çalıştırabiliriz.

sysadmin@dd1# ddboost fc dfc-server-name show
DDBoost dfc-server-name: dd1
Configure clients to use "DFC-dd1" for DDBoost FC.





21 Kasım 2017 Salı

EMC DD / Service Not Available

The GUI Service is temporarily unavailable. Please refresh your browser. If the problem persists, please contact DataDomain support for assistance.

Aşağıdaki komutları ssh arayüzünden çalıştırarak web arayüzüne erişimi sağlanabilir.

# adminaccess disable http
# adminaccess disable https

# adminaccess enable http
# adminaccess enable https

11 Ekim 2017 Çarşamba

EMC DD / cifs option

SE@emcdd1## cifs option show all
All Options:

Option                                Value
-----------------------------------   -------------
domain-account-mmc-share-management   enabled (*)
idle-timeout                          1800 (*)
idmap-type                            rid (*)
loglevel                              1 (*)
max-global-open-files                 30000 (*)
max-mpx-count                         50 (*)
max-tcp-connections                   600 (*)
organizational-unit                   Computers (*)
restrict-anonymous                    disabled (*)
server-signing                        disabled (*)
tcp-window-size                       1048576 (*)
-----------------------------------   -------------
(*) default value
SE@emcdd1##
SE@emcdd1## cifs option set restrict-anonymous enabled
Set "restrict-anonymous" to "enabled".
SE@emcdd1##
SE@emcdd1## cifs option show all
All Options:

Option                                Value
-----------------------------------   -------------
restrict-anonymous                    enabled
domain-account-mmc-share-management   enabled (*)
idle-timeout                          1800 (*)
idmap-type                            rid (*)
loglevel                              1 (*)
max-global-open-files                 30000 (*)
max-mpx-count                         50 (*)
max-tcp-connections                   600 (*)
organizational-unit                   Computers (*)
server-signing                        disabled (*)
tcp-window-size                       1048576 (*)
-----------------------------------   -------------
(*) default value
SE@emcdd1## cifs status
CIFS is enabled.
SE@emcdd1##

28 Eylül 2017 Perşembe

19 Eylül 2017 Salı

EMC DD / ddboost storage-unit show compression

ddboostuser@emcdd# ddboost storage-unit show compression

List of storage-units and their compression info:

dd1:
Total files: 1,364,756;  bytes/storage_used: 50.6
Original Bytes: 1,768,419,833,360,174
Globally Compressed:   77,796,850,034,908
Locally Compressed:   34,655,578,348,217
Meta-data:      314,322,229,876

dd2:
Total files: 19,286;  bytes/storage_used: 93.8
Original Bytes:  212,582,758,224,424
Globally Compressed:    2,886,464,303,450
Locally Compressed:    2,254,647,609,354
Meta-data:       11,109,884,644

dd3:
Total files: 13,807;  bytes/storage_used: 8.9
Original Bytes:  130,801,256,914,162
Globally Compressed:   18,336,415,105,575
Locally Compressed:   14,567,967,404,862
Meta-data:       76,862,685,320

dd4:
Total files: 68,491;  bytes/storage_used: 28.8
Original Bytes:   46,094,832,794,516
Globally Compressed:    5,186,124,041,047
Locally Compressed:    1,578,983,801,905
Meta-data:       21,244,748,444

dd5:
Total files: 49,306;  bytes/storage_used: 24.5
Original Bytes:   28,734,213,905,844
Globally Compressed:    2,412,664,580,260
Locally Compressed:    1,162,789,071,960
Meta-data:        9,815,201,744

dd6:
Total files: 1,296;  bytes/storage_used: 55.6
Original Bytes:   53,526,297,574,923
Globally Compressed:    2,099,011,472,746
Locally Compressed:      954,617,714,265
Meta-data:        8,484,776,928
ddboostuser@emcdd#

EMC DD / client-group show files

ddboostuser@emcdddd1# client-group show files
             Client      Client          Server       Operation      Path                                                              Start   Last           Duration
Group-Name   Hostname    Interface       Interface                                                                                     Offset  Offset         hh:mm:ss
----------   ---------------------   -------------   -------------   ---------   --------------------------------------------------------------------------   ----------
unassigned   emcddmbx1   192.168.2.68    192.168.2.248   dsp-write   exchange/emcdddag01/68/2.0/data_ss/_ts10k_150568/1505689682.ss        0   88,235,573,248   00:10:21
unassigned   emcddmbx4   192.168.2.230   192.168.2.248   dsp-write   exchange/emcdddag01/68/2.0/data_ss/_ts10k_150569/1505690009.ss        0   33,445,380,096   00:04:10
unassigned   emcddmbx5   192.168.2.128   192.168.2.248   dsp-write   exchange/emcdddag01/68/2.0/data_ss/_ts10k_150569/1505690055.ss        0   53,116,665,856   00:04:09
unassigned   emcddmbx3   192.168.2.64    192.168.2.248   dsp-write   exchange/emcdddag01/68/2.0/data_ss/_ts10k_150569/1505690074.ss        0   30,773,608,448   00:03:46
unassigned   emcddmbx2   192.168.2.69    192.168.2.248   dsp-write   exchange/emcdddag01/68/2.0/data_ss/_ts10k_150569/1505690283.ss        0    4,253,024,256   00:00:21
----------   ---------------------   -------------   -------------   ---------   --------------------------------------------------------------------------   -----------
ddboostuser@emcdddd1#

6 Eylül 2017 Çarşamba

EMC DD / filesys

ddboostuser@emcdd# filesys clean status
Cleaning started at 2017/09/06 09:52:02: phase 2 of 12 (pre-analysis)
 82.2% complete,  9785 GiB free; time: phase  0:49:15, total  0:54:34
ddboostuser@emcdd#

25 Ağustos 2017 Cuma

EMC DD / alerts show current

ddboostuser@emcdd# alerts show current

Id       Post Time                  Severity   Class        Object          Message
------   ------------------------   --------   ----------   -------------   ---------------------------------------------------------------------------
p0-146   Fri Aug 18 05:30:45 2017   CRITICAL   Filesystem   FilesysType=2   EVT-SPACE-00004: Space usage in Data Collection has exceeded 90% threshold.
------   ------------------------   --------   ----------   -------------   ---------------------------------------------------------------------------
There is 1 active alert.
ddboostuser@emcdd#

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