Capítulo 3 “Sistema Propuesto”
3.3 Modelación del Sistema
3.3.3 Descripción de los Casos de Uso
Now you have to perform some additional configuration for VSS. You need to create the entities VSS_FREE and VSS_RESERVED for use by VSS. The process for doing this depends on your VSS hardware provider; consult the hardware provider documentation. As an example, we show the configuration on the IBM System Storage DS8000 and SAN Volume Controller.
Creating the VSS_FREE and VSS_RESERVED pools
Before using VSS for the first time, you must designate which volumes that the services can use as snapshot target volumes. This designation is done by creating a VSS_FREE pool and a VSS_RESERVED pool, represented by entities that are created on the storage unit. The process is different for disk systems. Once the VSS_FREE and VSS_RESERVED pools are created, volumes can be added to the free pool by simply assigning a volume to it.
On the DS8000:
1. Create a DS Volume Group called VSS_FREE.
2. Create a Virtual Host Connect named VSS_FREE as an Intel - Windows 2003 Server and assign it the WWPN 5000000000000000.
3. Create and assign free volumes to the DS VSS_FREE volume group.
4. Create a DS Volume Group called VSS_RESERVED.
5. Create a Virtual Host Connect named VSS_RESERVED as an Intel - Windows 2003 Server and assign it the WWPN 5000000000000001.
Example 3-13 shows that we created the required host objects for VSS_FREE and VSS_RESERVED on the DS8000. Note that we also have host connects for our servers REDBOOK1, REDBOOK2, and REDBOOK3, because they need to access the VSS shadow disks.
Example 3-13 VSS_FREE and VSS_RESERVED configuration on DS8000 dscli> lshostconnect -dev IBM.2107-1300271
redbook3 0033 210000E08B892CC0 Win2003 Intel - Windows 2003 0 V56 I0233
redbook1 0034 210000E08B892BCD Win2003 Intel - Windows 2003 0 V57 I0233
dscli> lsvolgrp -dev IBM.2107-1300271
Date/Time: August 9, 2006 4:24:24 PM CDT IBM DSCLI Version: 5.0.500.100 DS: IBM.
2107-1300271
Example 3-14 shows the VSS_FREE and VSS_RESERVED configuration for an SVC. You can see the host definitions for the VSS_FREE and VSS_RESERVED hosts.
Example 3-14 VSS_FREE and VSS_RESERVED configuration on SVC IBM_2145:ITSOSVC01:admin>svcinfo lshost 0
Verifying Exchange Server, Storage Groups, Logging and VSS
Before attempting to perform a backup or restore operation, verify that Data Protection for Exchange is installed and configured correctly by running the query exchange command on the server where Exchange is installed and running. This command shows the list of storage groups, and also VSS information, including the local and remote DSMAgent nodes as shown. If you are not using an offloaded backup server, you would not see the remote DSMAgent node.
In our clustered environment, to run the Exchange query, as in Example 3-15, we first copied the Data Protection for Exchange option file e:\tsmdata\ dsm_exch.opt to the default name
and directory C:\Program Files\Tivoli\TSM\TDPExchange\dsm.opt since the tdpexcc query exchange command only accepts the default options file. We specified our Data Protection for Exchange configuration file, with the /configfile parameter.
In a clustered environment, run this on both nodes.
Example 3-15 Verify Data Protection for Exchange configuration
C:\Program Files\Tivoli\TSM\TDPExchange>tdpexcc query exchange /excserver=RB1EVS /configfile=e:\tsmdata\tdpexc_redbook2.cfg
IBM Tivoli Storage Manager for Mail:
Data Protection for Microsoft Exchange Server Version 5, Release 3, Level 3.0
(C) Copyright IBM Corporation 1998, 2006. All rights reserved.
Microsoft Exchange Server Information
---Server Name: RB1EVS
Domain Name: Redbook1.RB1.Local Exchange Server Version: 6.5.7638.1
Storage Groups with Databases and Status
Volume Shadow Copy Service (VSS) Information
---Writer Name : Microsoft Exchange ---Writer Local DSMAgent Node : REDBOOK_VSS_A
Remote DSMAgent Node : REDBOOK_OFFLOAD Writer Status : Online
Selectable Components : 3
C:\Program Files\Tivoli\TSM\TDPExchange>
Verify DS Open API support for Microsoft VSS-VDS configuration
After you have created the VSS_FREE and VSS_RESERVED pools for VSS, you need to assign volumes to the VSS_FREE pool. These volumes will be used as the target for VSS
shadow operations. Consult your disk system documentation for information about how to create volumes and assign them. Remember, for each snapshot that you want to create for the Exchange database, you must have a set of target LUNs of suitable size. In the case of the DS6000/8000/SVC, these LUNs must be the same number and size as those used in the Exchange database. In other disk systems, you may not need the same configuration, so consult your hardware copy services documentation for information about how the snapshot function is implemented.
To verify your configuration, list the volumes assigned to the VSS_FREE pool. The specific implementation for this command varies according to your disk system. On the DS8000, issue the command: ibmvcfg listvols | findstr 500000000, as shown in Example 3-16 on page 85.
This command lists all volumes currently in the volume group VSS_FREE, because we specified its WWPN.
Example 3-16 List volumes in the VSS_FREE pool on DS8000
C:\Program Files\IBM\Hardware Provider for VSS-VDS>ibmvcfg listvols | findstr 500000
Example 3-17 shows two ways to list the volumes mapped to VSS_FREE on the SVC: by using the SVC command line, and by using the ibmvcfg command from the VSS provider.
Example 3-17 List volumes in the VSS_FREE pool on DS8000
C:\Program Files\IBM\Hardware Provider for VSS-VDS>ibmvcfg listvols | findstr VSS
9.43.86.29 8 vdisk8 0.98GB VSS_FREE 9.43.86.29 9 vdisk9 0.98GB VSS_FREE