IBM PULSE 2014 25.02.2014 MGM-Grand Room 114, Las Vegas, Nevada Markus S tumpf - E mpalis C onsulting G mbH S ession 2423: New Microsoft Data Protection E nhancements: Using Tivoli S torage Manager for Virtual E nvironments with E xchange and SQL Server
44
Embed
Die Empalis stellt sich vor · Backup operations at more ease ... – DAG node, if applicable ... • Replaces Fastback for Exchange solution which
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
IBM PULS E 2014 25.02.2014
MGM-Grand Room 114, Las Vegas, Nevada Markus S tumpf - E mpalis Consulting GmbH
Session 2423:New Microsoft Data Protection E nhancements: Using Tivoli S torage Manager for Virtual E nvironments with E xchange and SQL Server
Noon2Noon Workshop
Nürnberg, 05.06.2014Markus S tumpf - E mpalis Consulting GmbH
New Microsoft Data Protection E nhancements: Using Tivoli S torage Manager for Virtual E nvironments with E xchange and SQL Server
Overview• New features MMC– PowerShell cmdlets– Remote Management
• New features DP for SQL Server– PowerShell cmdlets– Automated Failover for Recovery– Restore Dbs from VM Snapshots
• New features DP for E xchange Server– PowerShell cmdlets– Automated Failover for Recovery– Restore mailbox items from E DB/mounted VM
snapshots• Use cases
New features: MMC GUI
• Powershell cmd letsBackup operations at more ease
• Remote ManagementInstall the MMC GUI on any workstation and orchestrate your backup/recovery operations
New features: MMC GUI• Requirements:– Supported Platforms:
32-bit: Windows Server 2008 SP264-bit: Windows Server 2008 SP2, 2008 R2, 2012Remote Capabilities Only: 64-bit Windows 7 SP1 Professional or Ultimate64-bit Windows 8 Professional or E nterprisehttp://www-01.ibm.com/support/docview.wss?uid=swg21654309#Operating%20S ystems
–Microsoft prerequisites (must be installed seperatly)Windows Powershell 3.0 or Windows Powershell 4.0Windows Management F ramework 3.0 or Windows Management F ramework 4.0Other prerequisites are installed with MMC GUIhttp://www-01.ibm.com/support/docview.wss?uid=swg21654309#MS%20Prereqs
Setting up new features: MMC GUIIf PowerShell 3.0 is missing:
Windows Management Framework 3.0 must be installed on Windows Server 2008, 2008R2 and Windows 7http://www.microsoft.com/en-in/download/details.aspx?id=34595
• Enable PS Remoting 1) Enable-PSRemoting -force on both machines2) If you are using Microsoft Exchange, complete the following steps:
On the primary system, enter the following command:enable-wsmancredssp -role client -delegatecomputer remote_computername
On each remote system that runs Microsoft Exchange, enter the following command:enable-wsmancredssp -role server
3) Add either the FlashCopy Manager servers to the trusted hosts list by entering the following command:Set-Item WSMan:\localhost\Client\TrustedHosts -Value remote_server_name -Force
4) After making configuration changes, restart the winrm service by entering the following commands:Restart-Service winrm
5) Links to IBM infocenter:Documentation FCM RemoteGUIRemote GUI for Exchange
New features: Data Protection for SQL S erver – PS cmdlets
Help for PowerShell cmdlets:
get-Help Get-DpSqlBackup
get-help Get-DpSqlBackup -examples
get-help Get-DpSqlBackup -detailed
get-help Get-DpSqlBackup -full
get-help Get-DpSqlBackup -online
For information about a specific parameter, enter:help Get-DpSqlBackup -Parameter backupdestination
New features: Data Protection for SQL S erver – Automatic Failover• How does it work
All nodes mus t be replic ated to the s ec ondary s erverreplstate=enabled on Primary server– Data Protection node– Backup-archive client node– Remote DSM agent node for offloaded backups– AlwaysOn node, if applicableBefore the c onnec tion information for the s ec ondary s erver c an be s ent– One successful backup of SQL Server Dbs is needed– Replication of Data Protection node and AlwaysOn node must be succeededAutomatic entry in dsm.opt of TDPSQL and baclient:
New features: Data Protection for SQL S erver – Restoring from VM snapshot
New features: Data Protection for SQL S erver – Restoring from VM snapshot
• Setup1) On the datamover mac hine (L inux or Window s ):
Use the Data Protection for VMware 7.1 super installer with the Data Mover only option:Installs license tdp4vmw.lic enabling ‘application protection’ and TSM4VE 7.1 including TSM b/a client 7.1
2) On the gues t VM w ith MS S QL :Use Data Protection for VMware 7.1 super installer with Instant Restore Only option:TSM for VE Recovery Agent 7.1 including tdp4vmw.lic for invoking restore functionTSM B/A Client 7.1
Ins ta ll Data Protec tion for S QL 7.1Run Configuration Wizard to TSM Server
New features: Data Protection for SQL S erver – Restoring from VM snapshot
• Configuration on data moverAfter installing TSM for VE 7.1 on the data mover machine you need to perform the following configuration steps:1) Add a virtual machine for application protection:
Add to options file: include.vmtsmvss <vm_ name>Add to include.vmtsmvss <VM> OPTions=KE E PSqllog to preserve SQL logs
2) dsmc set password -type=vmguest vmguestname AdminID AdminPswd3) Backup VM and verify backup
dsmc backup vm <vm name>dsmc query vm <vm name> -detail
New features: Data Protection for SQL S erver – Restoring from VM snapshot• Configuration on VM guest with SQL Server installed
After installing TSM for VE Recovery Agent 7.1 and DP for SQL 7.1 on the guest VM machine you need to perform the following configuration steps:Configure DP for SQL using TSM Wizard, specify the datacenter node in the Nodes panel
● Run set access command on datamover machinedsmc set access backup – type=vm <vm_name> <dsmagent_node>dsmc query access
Output should be:Type Node User Path------ -------------------------------------------------------------------Backup <dsmagent_node> * \VMFULL-<vmname>\*\*
New features: Data Protection for SQL S erver – Restoring from VM snapshot
Bac kup VM
New features: Data Protection for SQL S erver – Restoring from VM snapshot
B row s e bac kups w ith DP
New features: Data Protection for SQL S erver – Restoring from VM snapshot
● Command line restoretdpsqlc restore DBName /backupmethod=vmvss
● LimitationsSupported disk types (in guest):MS SQL DB files must be located on Windows disks of Type=“Basic” and Partition S tyle = “Master Boot Record (MBR)” Disks of Type=“Dynamic” or Partition S tyle = “GUID Partition Table (GPT)” are NOT supported.
Restore to alternate locations is disabled in MMC GUI
New features: Data Protection for SQL S erver – Restoring from VM snapshot
Res tore S QL DB from VM
New features: Data Protection for SQL S erver – Restoring from VM snapshot
Res tore S QL DB from VM
New features: Data Protection for E xchange Server
• Powershell cmd letsAutomate your backup/recovery tasks
• Additional options for restoring personal storage foldersRestore to unicode .pst files without 2 GB limitation
• Improved mailboxhistory handling• Automated failover for data recovery
In conjunction with node replication on TSM Server• Restoring mailboxes directly from Exchange
database files• Exchange 2010 SP2 and Exchange 2013
supported
New features: Data Protection for E xchange Server PS -cmdlets
• Installation similar to Data Protection for SQL Server
Only modules are different: import-module .\FmModuleExc.dll import-module .\FmModuleMMC.dll
New features: Data Protection for E xchange Server Unicode PS T
• Restore either from CLI or MMC GUItdpexcc restoremailbox user /mailboxrestoredestination=unicodepst,“c:\restore.pst“
• Support of double byte character sets
• No 2 GB limitation for pst size
New features: Data Protection for E xchange Server Unicode PS T
New features: Data Protection for E xchange Server - Mailboxhistory
• To switch to new mailboxinfo, old filespace must be deleted in prior:1. Backup your mailbox history:
• New Mailbox info is created during backup whenstoremailboxinfo yes
● Better performance due to an enhanced query algorithm
New features: Data Protection for E xchange Server – Automatic Failover• How does it work
All nodes mus t be replic ated to the s ec ondary s erverreplstate=enabled on Primary server– Data Protection node– Backup-archive client node– Remote DSM agent node for offloaded backups– DAG node, if applicableBefore the c onnec tion information for the s ec ondary s erver c an be s ent– One successful backup of Mailbox Dbs is needed– Replication of Data Protection node and DAG node must be succeededAutomatic entry in dsm.opt of TDPExchnage and baclient:
New features: Data Protection for E xchange Server – Direct E DB Restore from TDP4VE backup• Mount a VM Backup which was taken with
include.vmtsmvss < vm_name> with TDP4VE Recovery Mount Agent
• Readwrite Access is mandatory• Extract single mailbox items without restoring
mailbox database to RDB• No automatic mount available as for SQL Server
backups• Replaces Fastback for Exchange solution which
was used in TDP4VE 6.4.
New features: Data Protection for E xchange Server – Direct E DB Restore• Prerequisites– Must be installed on an Exchange Mailbox Server– Install MAPI/CDO 1.2.1 prior to installation of
– Log on with an user who is part of the Exchange Organization Management Group.
– Run the FCMSetup.exe of the Tivoli Storage Manager for Mail: Data Protection for Microsoft Exchange Server 7.1 release as described in the manual Install Mailbox Restore Only option
• If you choose TSM or S tandalone configuration, Mailbox Restore Only functionality is also included
• Create a schedule in MMC GUI or TSM Server to perform regulary log backups to TSMtdpsqlc backup * log /truncate=yes
• Keep in mind the versions are handled in different TSM nodes: Full backups are managed by DataCenterNodeLog backups are managed by DP Node
New whitepaper about TS M Protecting Microsoft S QL Databases Hosted in VMware https://www-304.ibm.com/connections/blogs/tivolistorage/entry/tsm4veandsqlserver? lang=en_ us
Use Case: Combine S QL Server backups from VM snapshots with Log backups of DPSQL• To recover a database run first the full restore from
VM snapshot:tdpsqlc restore database full /backupmethod=vmvss /recovery=no
• Recover the log files from log backups:tdpsqlc restore database log /object=ObjectID /recovery=yes
When you perform the restore using MMC GUI make sure the autoselect option is set to false in Restore Options
Hardware and S oftware Requirements: Version 4.1 F lashCopy® Manager for Microsoft E xchange & 7.1 Data Protection for Microsoft E xchange S erverhttp://www-01.ibm.com/support/docview.wss?uid=swg21654310
Hardware and S oftware Requirements: Version 4.1 F lashCopy® Manager for S QL S erver & 7.1 Data Protection for Microsoft S QL S erverwww-01.ibm.com/support/docview.wss?uid=swg21654311
Hardware and S oftware Requirements: Data Protection for VMware Version 7.1http://www-01.ibm.com/support/docview.wss?uid=swg21652843
Known Issues and Limitations: Version 4.1 F lashCopy® Manager for Microsoft E xchange & Version 7.1 Data Protection for Microsoft E xchangehttp://www-01.ibm.com/support/docview.wss?uid=swg21644481
Known Issues and Limitations: Version 4.1 F lashCopy® Manager for Microsoft SQL & Version 7.1 Data Protection for Microsoft S QLhttp://www-01.ibm.com/support/docview.wss?uid=swg21644478
Known Issues and Limitations: Version 7.1 Tivoli S torage Manager for Virtual E nvironmentshttp://www-01.ibm.com/support/docview.wss?uid=swg21640744
Tivoli S torage Manager for Virtual E nvironments DeveloperWorks Wikihttps://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20S torage%20Manager/page/Tivoli%20S torage%20Manager%20for%20Virtual%20E nvironments
IBM TS M for VE - Individual SQL Database restore from a VM Backup
https://www.youtube.com/watch?v=ghDO9HS 36ms
New whitepaper about TS M Protecting Microsoft S QL Databases Hosted in VMware https://www-304.ibm.com/connections/blogs/tivolistorage/entry/tsm4veandsqlserver? lang=en_ us