2017年12月18日 星期一

EMC Data Protection Advisor 6.4 安裝


  • OS: CentOS 7  *2 
  • 先安裝DPA Datastore,再安裝DPA Application (必要條件)
  • 安裝選項可將Datastore和Application裝在同一台,但是原廠支援的方式是兩個服務裝在不同機器(VM)的架構。
  • 使用FQDN

在CentOS 使用root權限,
安裝Datastore                                                                                               
# chmod +x EMC-DPA-Server-Linux-x86_64-6.4.0.8.bin
# ./EMC-DPA-Server-Linux-x86_64-6.4.0.8.bin

出現License Agreement   按Enter繼續

============================================================================
Choose Install Folder
---------------------

Please choose a target folder for the installation of the DPA services

Where would you like to install?

  Default Install Folder: /opt/emc/dpa

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      :



============================================================================
Choose Install Set    務必先安裝Datastore
------------------

Please choose the Install Set to be installed by this installer.

  ->1- Application Service
    2- Datastore Service
    3- Application and Datastore Service

ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
   : 2



=============================================================================
Low Memory Detected
-------------------

The installer has determined that while there is enough memory on the host to
permit the DPA services to start, the amount of memory is below the
recommended minimum.
Reason :Low memory availablity for installation

Performance and stability issue could arise if you decide to continue with the
installation.

Please increase the amount of memory allocated to this host.


PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):



=============================================================================
Advanced Configuration
----------------------


This installer is capable of supporting advanced installation options for the
service selected.

In most cases a standard (non-advanced) installation will suffice, but if you
would like to tailor the installation, please enter 'Y'.

Please note: advanced configuration options can be executed post installation
using the DPA command line interface.

Show Advanced Installation Options (Y/N): y



=============================================================================
Datastore Advanced Options
--------------------------


Advanced Datastore options are :

- Do not register DPA services
- Do not start DPA services
- Do install with advanced layout options
- Configure existing unix user account

Do you want to select advanced options (Y/N): N



=============================================================================
Pre-Installation Summary
------------------------

Review the following settings before proceeding

Product Name:
    Data Protection Advisor

Install Folder:
    /opt/emc/dpa

Install Set:
    Datastore Service

IPv4 Present
    TRUE

IPv6 Present
    TRUE

Disk Space Information (for Installation Target):
    Required:      873.3 MegaBytes
    Available: 39,173.16 MegaBytes

PRESS <ENTER> TO CONTINUE:



=============================================================================
Installing...
-------------
 
Please Wait
-----------

============================================================================
Please Wait
-----------

Creating DPA Datastore Service Account...
-

============================================================================
Please Wait
-----------

===============================================================================
Datastore Bind Addresses
------------------------


Please specify which IP addresses the datastore service should allow DPA
applications services access from.


Please also include the IP you wish to use for this machine.

Please note that listening addresses can be either IPv4 or IPv6, but not both.

    1- fe80:0:0:0:8474:410f:6836:170d%2
    2- 192.168.1.131

Select Option(s): 2



=============================================================================
Please Wait
-----------

Configuring the datastore bind address...
\

=============================================================================
Datastore Client Addresses
--------------------------

Please enter the IP addresses for all DPA application service hosts that will
connect to and use this datastore.


At least one IP address must be provided.
 Additional clients can be added to the datastore access using the DPA command
line interface.
    1- Add an Application Client Address
    2- Remove an Application Client Address

    3- Review and Complete

Select action: 3

At least one application node must be specified as a client to this datastore.

Current List:

    1- Add an Application Client Address
    2- Remove an Application Client Address

    3- Review and Complete

Select action: 3

At least one application node must be specified as a client to this datastore.

Current List:

    1- Add an Application Client Address
    2- Remove an Application Client Address

    3- Review and Complete

Select action: 1

New Address: 192.168.1.132             填入Application的IP

Current List:
            192.168.1.132

    1- Add an Application Client Address
    2- Remove an Application Client Address

    3- Review and Complete

Select action: 3

Current List:
            192.168.1.132
Completed ? (Y/N): y



===============================================================================
Please Wait
-----------

Configuring the datastore client address...
\

===============================================================================
Datastore Replication Option
----------------------------


By default the DPA datastore service is installed not configured for
replication.
If replication is required please enter 'Y' and then the role of this
datastore installation.
Do you wish to configure for replication (Y/N): Y           (如果要Replication這裡要選Yes)         
    1- Install datastore as a MASTER
    2- Install datastore as a SLAVE

Select replication role: 1



===============================================================================
Datastore Replication Data Entry
--------------------------------


This datastore is being installed as a MASTER datastore.

You can specify the address of the SLAVE datastore that it will replicate to
below, or specify it on the command line subsequently.

Note that the MASTER has been set to IPv4, so the SLAVE's address also needs
to be IPv4.
Enter IP address:



=============================================================================
Please Wait
-----------

=============================================================================
Agent Installation Options
--------------------------


Advanced Application options are :

- Do not start DPA Agent service
- DPA Agent will monitor Oracle Databases

Do you want to select advanced options (Y/N): n



=============================================================================
Configure Agent
---------------

Please enter the IP Address of the DPA Application Service that the installed
DPA Agent needs to communicate with.
Please note that if you are using clustered DPA Application servers you must
provide the Load balancer IP Address.

IP Address  (Default: 192.168.1.132):



=============================================================================
Please Wait
-----------

Installing DPA Datastore Service...
/

===============================================================================
Please Wait
-----------

Starting DPA Datastore Service...
|

===============================================================================
Please Wait
-----------

Creating required tablespaces...
/

=============================================================================
Set Datastore Password                             設定Datastore密碼         
----------------------


Please set the Datastore password.
The password must have:
- at least 9 characters
- at least 1 uppercase letter
- at least 1 lowercase letter
- at least 1 special character
- at least 1 digit

Enter Password:
Re-enter Password:



=============================================================================
Please Wait
-----------

Installing DPA Agent Service...
/

=============================================================================
Please Wait
-----------

Starting DPA Agent Service...
/

=============================================================================
Installation Complete
---------------------

Congratulations! Data Protection Advisor has been successfully installed to:

/opt/emc/dpa

For support, visit the Data Protection Advisor Product Page on the EMC Online
Support Site :

https://support.emc.com/products/829



PRESS <ENTER> TO EXIT THE INSTALLER:






安裝Application                                                                                            
# chmod +x EMC-DPA-Server-Linux-x86_64-6.4.0.8.bin
# ./EMC-DPA-Server-Linux-x86_64-6.4.0.8.bin


出現License Agreement   按Enter繼續

============================================================================
Choose Install Folder
---------------------

Please choose a target folder for the installation of the DPA services

Where would you like to install?

  Default Install Folder: /opt/emc/dpa

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      :



============================================================================
Choose Install Set    
------------------

Please choose the Install Set to be installed by this installer.

  ->1- Application Service
    2- Datastore Service
    3- Application and Datastore Service

ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
   : 1



=============================================================================
Low Memory Detected
-------------------

The installer has determined that while there is enough memory on the host to
permit the DPA services to start, the amount of memory is below the
recommended minimum.
Reason :Low memory availablity for installation

Performance and stability issue could arise if you decide to continue with the
installation.

Please increase the amount of memory allocated to this host.


PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):



=============================================================================
Advanced Configuration
----------------------


This installer is capable of supporting advanced installation options for the
service selected.

In most cases a standard (non-advanced) installation will suffice, but if you
would like to tailor the installation, please enter 'Y'.

Please note: advanced configuration options can be executed post installation
using the DPA command line interface.

Show Advanced Installation Options (Y/N): y



=============================================================================
Application Advanced Options
----------------------------


Advanced Application options are :

- Do not register DPA services
- Do not start DPA services
- Do install as a clusterable service

Do you want to select advanced options (Y/N): n



=============================================================================
Application Security Options
----------------------------


Advanced security option is :

- Use TLS 1.2 only
Configure the DPA service to use TLS protocol version 1.2 only.

DPA services running TLS protocol version 1.2 only are supported with DPA
Agent version 6.3 and later only.

Do you want to use TLS 1.2 only (Y/N): Y



=============================================================================
Pre-Installation Summary
------------------------

Review the following settings before proceeding

Product Name:
    Data Protection Advisor

Install Folder:
    /opt/emc/dpa

Install Set:
    Application Service

IPv4 Present
    TRUE

IPv6 Present
    TRUE

Disk Space Information (for Installation Target):
    Required:  1,284.62 MegaBytes
    Available: 39,173.4 MegaBytes

PRESS <ENTER> TO CONTINUE:


============================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]



=============================================================================
Please Wait
-----------

Configuring to use TLS 1.2 only...
\

=============================================================================
Please Wait
-----------

Generating self-signed certificate...
-

=============================================================================
Identify the DPA Datastore to connect to
----------------------------------------

Please enter the IP Address for the instance of the DPA Datastore service that
this application service will connect to

Datastore Address (Default: ): 192.168.1.131




===============================================================================
Datastore Communication Failure     
Datastore OS的防火牆造成Applicaton安裝時的失敗,關閉Datastore的防火牆即可    
-------------------------------

The DPA Datastore service address entered is not visible from this host.
Please check the provided Address or your Network Configuration (including
Firewalls) to ensure that communications are available.

PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):


===============================================================================
Identify the DPA Datastore to connect to
----------------------------------------

Please enter the IP Address for the instance of the DPA Datastore service that
this application service will connect to

Datastore Address (Default: ): 192.168.1.131




===============================================================================
Please Wait
-----------



===============================================================================
Agent Installation Options
--------------------------


Advanced Application options are :

- Do not start DPA Agent service
- DPA Agent will monitor Oracle Databases

Do you want to select advanced options (Y/N): n



===============================================================================
Configure Agent
---------------

Please enter the IP Address of the DPA Application Service that the installed
DPA Agent needs to communicate with.
Please note that if you are using clustered DPA Application servers you must
provide the Load balancer IP Address.

IP Address  (Default: 127.0.0.1):



=============================================================================
Set Datastore Password            設定Datastore密碼
----------------------

Please set the Datastore password.
The password must have:
- at least 9 characters
- at least 1 uppercase letter
- at least 1 lowercase letter
- at least 1 special character
- at least 1 digit

Enter Password:
Re-enter Password:


===========================================================================
Set Administrator Password       設定管理者密碼
--------------------------


Please set the Administrator password.
The password must have:
- at least 9 characters
- at least 1 uppercase letter
- at least 1 lowercase letter
- at least 1 special character
- at least 1 digit

Enter Password:
Re-enter Password:



=============================================================================
Please Wait
-----------

Installing DPA Application Service...
\
=============================================================================
Please Wait
-----------

Starting DPA Application Service...
|

=============================================================================
Please Wait
-----------

Installing DPA Agent Service...
\

============================================================================
Please Wait
-----------

Starting DPA Agent Service...
-

============================================================================
Installation Complete
---------------------

Congratulations. Data Protection Advisor has been successfully installed to:

/opt/emc/dpa

Depending on the performance of the host servers, the initial startup of DPA
will typically take from 5 to 15 minutes. After this time, to launch the DPA
user interface, enter this URL into your web browser:

https://dpa-ap.domainname:9002


注意視窗彈跳封鎖,需使用flash。 administor / root的密碼





2017年12月7日 星期四

EMC Avamar 批次刪除或是expire儲存於DataDomain的大量備份



Avamar整合DataDomain時,如因備份空間不足時,需要刪除或是過期備份檔案。




使用modify-snapups 指令將2017/10/17前的backup列出,並產生expire 的Script
# modify-snapups --mode=expire --domain=/ --before=2017-10-17 > expire-backups-output-script.txt

或使用
modify-snapups 指令將一個月前的backup 列出,並建立出刪除的 Script。
# modify-snapups --mode=delete --domain=/ --before='1 month ago' > output-script.txt
# chmod +x output-script.txt

# more output-script.txt  


備份資料刪除後,DD並不會馬上就把空間清出,預設是每週二上午0600清除

可用df –h 查看可以刪除的檔案大小


sysadmin@dd# sysadmin@dd# filesys clean show schedule
Filesystem cleaning is scheduled to run "Tue" at "0600".
sysadmin@dd#

可以下指令直接方式清除
sysadmin@dd# sysadmin@dd#filesys clean start

並以下列指令察看進度
sysadmin@dd# sysadmin@dd#filesys clean watch


2017年12月5日 星期二

EMC DataDomain GUI 無法登入

EMC DataDomain GUI 無法登入

畫面如下:

"The GUI Service is temporarily unavailable" 




  • 以SSH登入DataDomain Console,輸入下列指令
adminaccess disable http
adminaccess disable https
adminaccess certificate generate self-signed-cert
adminaccess enable http
adminaccess enable https

開啟瀏覽器,即可登入DD GUI管理介面


















Ref:
https://emcservice.force.com/CustomersPartners/kA2f1000000X4ZOCA0