• No se han encontrado resultados

2.5 Administración del sistema

2.5.1 Sistemas robóticos con Linux

Silent installation is extremely useful when you want to perform installation of TDP for Exchange on several of identical machines because administrators do not have to provide input to dialog boxes and specify TDP for Exchange parameters.

If you want to perform the silent installation, you have the following options:

• Use the command line setup program with s (silent) and v switches:

- Use setup /s /v/qn from the command line to install in the default directory. Issue this command from the “TDPExchange” subdirectory.

- Use setup /s /v”INSTALDIR=\”X:\Desired Install Path\” /qn” to install to the specified directory. Make sure you use quotes if your installation path includes spaces and place a backslash (\) in front of each quote mark that is within an outer set of quotes. Also, there cannot be a space between the command-line option (/v) and the arguments that you are passing.

• Create a batch file with desired parameters (Create this file with Notepad and save it as setup.bat file). The following example shows the sample script:

rem===================================================

rem silent install script rem

cd .\TDPExchange

.\setup /s /v”INSTALDIR=\”X:\Desired Install Path\” /qn”

rem

rem replace the option file

copy dsm.opt X:\Desired Install Path

rem===================================================

The silent installation package may reside on a file server, or you may choose to burn a special CD and distribute it for this purpose. This package contains the TDP for Exchange code distribution files and usually a batch file for silent installation.

If you use a silent install package on a CD and autostart is enabled, the installation will begin after inserting the CD into the drive (do not forget to let the autorun.inf file point to your setup.bat file). If autostart is not enabled, you may run the silent installation by activating the setup.bat file from the root of the CD.

If the package is placed on the file server and you want to perform the silent installation from another machine, you must execute the command: net use x:\\machine1\Silent_installation where machine1 is the file server and Silent_installation is the shared directory containing the silent installation package. No visual cues exist to inform you about the end of the installation.

If the silent installation fails, you can create a detailed log file of installation by typing: setup /v”/l*v setup.log”.

Chapter 3. Installation of TDP for MS Exchange servers 33

3.5 Installing the Backup/Archive client

If you want to take advantage of TSM Scheduler, you must install the

Backup/Archive Client on the same machine on which you have installed TDP for Exchange. Make sure you are logged on using a Windows account with administrative privileges.

To install the Backup/Archive Client:

1. Insert the CD-ROM containing the TSM Windows Client into your CD-ROM drive.

2. Start the setup program by selecting Run from the Start menu.

3. Click OK.

4. Follow the instructions displayed on the screen. You can choose between two setup types:

- Complete — This setup gives you the Backup/Archive Client, the API, and the Web Client. Use the custom option if you want to install the Administrative client.

- Custom — This setup allows you to select the desired options. You must use this option if you want to install the Administrative client — the program which lets administrators monitor and control TSM servers using TSM administrator commands. If you select to install the

Backup/Archive client and the administrative client, they must reside in a single directory and will share the same options file. Make sure there is enough disk space for the TSM Client files on the destination drive.

5. Click on Finish once the installation process completes.

For current installation and configuration information, refer to the README file that is shipped on the product installation media.

For current information concerning TSM, see:

http://www.tivoli.com/support/storage_mgr/tivolimain.html

© Copyright IBM Corp. 2001 35

Chapter 4. Backing up Exchange databases

TDP for Exchange performs backups of Exchange storage groups on TSM server — a storage group being an Exchange 5.5 Directory, an Exchange 5.5 Information store or an Exchange 2000 Storage group. The backup includes databases and associated transactions logs. TDP for Exchange

communicates with the TSM server using the TSM application programming interface (API) and with the Exchange server using the Exchange API — see Figure 1 on page 8. TDP for Exchange must be able to connect to a TSM server. The TSM server can run on the same machine as TDP for Exchange or on a different machine on any supported operating platform.

In our lab environment we set up two Exchange servers — Exchange 5.5 and Exchange 2000 both of them running on the Windows 2000 platform. First we installed Exchange 5.5. After that we installed Exchange 2000 joining the Exchange 5.5 site, and we set up a Site Replication Service between them.

We set up our environment in this way in order to be close to a common scenario of migrating from Exchange 5.5 to Exchange 2000. We also installed Exchange 2000 in a cluster environment. We used a different machine for the Domain controller. (See Figure 35 on page 133.)

4.1 Exchange 5.5 DIR and IS backup general procedures

You can perform backup of the Exchange 5.5 Directory and Information store by using the Graphical User Interface (GUI) or using the Command Line Interface (CLI).

4.1.1 Backing up Exchange 5.5 using the GUI

To start the TDP for Exchange GUI point to Start -> Programs, then Tivoli Storage manager -> TDP for MS Exchange Server - v2 and click

Exchange Client GUI. You will see the window represented in Figure 8.

Figure 8. TDP for Microsoft Exchange 5.5 Server GUI

The left pane in Figure 8 represents the hierarchical Exchange organization as follows: UPHI is the organization, SJ is the site, Shasta is the Exchange 5.5 server. Notice that the GUI tree view changes with each tab selected. You have the options to perform backup of the Directory Store or Information Store, or both. Check what you want to back up, as shown in Figure 9.

Chapter 4. Backing up Exchange databases 37

Figure 9. Backup of Exchange 5.5 Directory and Information Store

The type of the backup can be full, incremental, differential or copy. You can choose the type of the backup from the right pane of the TDP for Exchange window. The Database Copy backup is inactive here because it is valid only for Exchange 2000.

If you choose full backup, the databases and the associated transaction logs will be backed up. After finishing the backup, the log files are deleted. The full backup inactivates all previous backups.

By choosing incremental backup, only the transaction logs will be backed up.

After finishing the backup, the log files are deleted.

If you choose differential backup, only the transaction logs will be backed up.

However, after finishing the backup, the log files are not deleted. The differential backup inactivates the previous differential backup.

You can choose the copy backup to perform a full backup of the Exchange server without affecting any backup procedures that use incremental or differential backups.

For a detailed explanation of different backup strategies, see 2.1.3, “Backup strategies for Exchange 2000 and 5.5” on page 12.

So, if you want to perform differential or incremental backups, you can disable circular logging from the Exchange Administrator program.

4.1.1.1 Configuration settings

You can adjust several parameters concerning configuration settings by selecting Edit and then Configuration from the TDP for Exchange GUI.

Figure 10 shows the screen you will see.

Figure 10. Configuring settings — general tab

These parameters pertain to the operation of the TDP for Exchange GUI. By using command line invocation, you can override the values specified in this file for the current invocation, but the values will not be changed unless you use tdpexcc set command to change them.

Wait for Tape Mounts for Backup or Restore — This parameter is valid when the TSM server is configured to store the backup data on tape media. If it is checked, TDP for Exchange will wait for the media mount during the backup or restore process. If it is unchecked, the current operation will stop.

The default setting for this parameter is checked, as shown in Figure 11.

If circular logging is enabled, you cannot perform differential or incremental backups, because the log may become wrapped before an incremental or differential backup takes place.

Note

Chapter 4. Backing up Exchange databases 39

Figure 11. Configuration settings — performance tab

TDP Buffers — This parameter shows the number of buffers which TDP for Exchange uses when transferring data from Exchange server to TSM server.

The default value is 3. The maximum number of the buffers is 8. TDP for Exchange is a multi-threaded application that uses asynchronous execution threads to transfer data between the Exchange servers and TSM servers. To accomplish this, multiple data buffers are used to allow one thread to receive data from one side, while another thread sends data to the other side.

TDP Buffers size — This parameter specifies the size of TDP buffers.

Figure 12 shows the Configuration settings — logging tab.

Figure 12. Configuration settings — logging tab

Log File Name — The name of the log file containing TDP for Exchange information. The default name is tdpexc.log. If you specify the name of a non-existent file, a new one will be created. You may specify the directory where this file is located. If you do not specify a directory, then the directory in which TDP for Exchange is installed is used.

Prune Old Entries — Check this box to prune old entries.

Keep Old Log Entries For Last Days — Defines for how many days the log entries will stay in the activity log. We recommend using a default value of 60 days or higher. If Prune Old Entries is unchecked, the entries older than this value will not be pruned.

Prune Now Button — Click if you want to prune the activity log immediately.

Figure 13 shows the Configuration settings — regional tab.

Figure 13. Configuration settings — regional tab

Date Format — Specifies the date format you want to use.

Time Format — Specifies the desired time format.

Number Format — Specifies the number format.

4.1.2 Backing up Exchange 5.5 using the Command Line Interface

If you want to use the Command Line Interface point to Start -> Programs, then Tivoli Storage manager -> TDP for MS Exchange Server - v2 and click Exchange Client Cmd.line. The name of the TDP for Exchange Command Line Interface is tdpexcc.exe. and you can find it in the directory where TDP for Exchange is installed.

Chapter 4. Backing up Exchange databases 41 4.1.2.1 The CLI syntax

The format of this command is as follows:

Positional parameters do not include a slash (/). Optional parameters are included in brackets and can appear in any order after the positional ones.

The separation characters between parameters are spaces. Parameters which require a value are followed by an equal sign and a value. If a

parameter that may have a value is not present, then the value in *.cfg file is used. If it is present without a value, then the original default value is used.

If it is present with a value, then that value is used. Upper case is used for showing the minimum abbreviations for keywords.

4.1.2.2 Positional parameters

* | DIR | IS — Use these parameters to specify what to back up:

* — Use this parameter to back up the Directory Store and the Information Store sequentially.

DIR — Use this parameter to back up only the Directory Store.

IS — Use this parameter to back up only the Information Store.

FULL | COPY | INCRemental | DIFFerential

FULL — Performs full backup, and after completion, deletes transaction logs.

COPY — Performs full backup without affecting transaction logs.

• INCRemental — Backs up only logs, and after completion of the backup process, deletes them.

• DIFFerential — Backs up only log files without deleting them.

TDPEXCC BACKup *|DIR|IS|sgname1,...,sgnameN backuptype [/EXCSERVer=servername] (default: local exchange server) [/LOGFile=tdpexc.log|logfilename] (default: tdpexc.log)

For example, tdpexcc backup * full performs a full backup of Exchange server. The output is shown here:

You can see that after performing the full backup, the previous backups are automatically expired.

The following example shows the incremental backup of an Exchange 5.5 Directory:

C:\Program Files\Tivoli\TSM\TDPExchange>tdpexcc backup * full

Tivoli Storage Manager

Tivoli Data Protection for Microsoft Exchange Server Version 2, Release 2, Level 0.0

(C) Copyright IBM Corporation 1998, 2001. All rights reserved.

Starting storage group backup...

Beginning full backup of Directory, 1 of 2.

Full: 0 Read: 8405146 Written: 8405146 Rate: 997.47 Kb/Sec Backup of Directory completed successfully.

Beginning full backup of Information Store, 2 of 2.

Full: 0 Read: 9470205 Written: 9470205 Rate: 1,001.76 Kb/Sec Backup of Information Store completed successfully.

Expiring backup [SHASTA\Information Store], [copy]

Expiring backup [SHASTA\Information Store], [incr]

Expiring backup [SHASTA\Directory], [copy]

Expiring backup [SHASTA\Directory], [diff]

Total storage groups requested for backup: 2 Total storage groups backed up: 2

Total storage groups expired: 4 Total storage groups excluded: 0

Throughput rate: 996.77 Kb/Sec Total bytes transferred: 17,875,351 Elapsed processing time: 17.51 Secs C:\Program Files\Tivoli\TSM\TDPExchange>

Chapter 4. Backing up Exchange databases 43 The next example shows the output of a differential backup of an Exchange 5.5 Information Store:

C:\Program Files\Tivoli\TSM\TDPExchange>tdpexcc backup DIR INCRemental

Tivoli Storage Manager

Tivoli Data Protection for Microsoft Exchange Server Version 2, Release 2, Level 0.0

(C) Copyright IBM Corporation 1998, 2001. All rights reserved.

Starting storage group backup...

Beginning incr backup of Directory, 1 of 1.

Full: 0 Read: 10485869 Written: 10485869 Rate: 954.25 Kb/Sec Backup of Directory completed successfully.

Total storage groups requested for backup: 1 Total storage groups backed up: 1 Total storage groups expired: 0 Total storage groups excluded: 0

Throughput rate: 952.04 Kb/Sec

Total bytes transferred: 10,485,869

Elapsed processing time: 10.76 Secs

C:\Program Files\Tivoli\TSM\TDPExchange>

C:\Program Files\Tivoli\TSM\TDPExchange>tdpexcc backup IS DIFFerential

Tivoli Storage Manager

Tivoli Data Protection for Microsoft Exchange Server Version 2, Release 2, Level 0.0

(C) Copyright IBM Corporation 1998, 2001. All rights reserved.

Starting storage group backup...

Beginning diff backup of Information Store, 1 of 1.

Full: 0 Read: 10485869 Written: 10485869 Rate: 954.97 Kb/Sec Backup of Information Store completed successfully.

Total storage groups requested for backup: 1 Total storage groups backed up: 1 Total storage groups expired: 0 Total storage groups excluded: 0

Throughput rate: 952.75 Kb/Sec

Total bytes transferred: 10,485,869

Elapsed processing time: 10.75 Secs

C:\Program Files\Tivoli\TSM\TDPExchange>

This last example shows the output of a copy backup of the entire Exchange 5.5 server:

4.1.2.3 Optional parameters

The interpretation of the most optional parameters is presented in 4.1.1.1,

“Configuration settings” on page 38. However, there are some additional options:

• By using the Command Line Interface, you can specify the desired Exchange server to be backed up. By using the GUI, you specify the server from the hierarchal Exchange organization presented in the left pane of the window.

• You can also specify the /quiet option here to prevent displaying of status information.

• You can specify the TSM node name for the current command

(/TSMNODe=tsmnodename), which will override the value for the node in the TSM options file if PASSWORDACCESS is set to PROMPT.

• You may specify the tsmoptionfilename (/TSMOPTFile=tsmoptfilename). The file can include a full path name. Important: Make sure that if the full path name includes spaces, you have put it in double quotes.

C:\Program Files\Tivoli\TSM\TDPExchange>tdpexcc backup * COPY

Tivoli Storage Manager

Tivoli Data Protection for Microsoft Exchange Server Version 2, Release 2, Level 0.0

(C) Copyright IBM Corporation 1998, 2001. All rights reserved.

Starting storage group backup...

Beginning copy backup of Directory, 1 of 2.

Full: 0 Read: 8405146 Written: 8405146 Rate: 995.29 Kb/Sec Backup of Directory completed successfully.

Beginning copy backup of Information Store, 2 of 2.

Full: 0 Read: 9470205 Written: 9470205 Rate: 1,002.85 Kb/Sec Backup of Information Store completed successfully.

Total storage groups requested for backup: 2 Total storage groups backed up: 2 Total storage groups expired: 0 Total storage groups excluded: 0

Throughput rate: 996.77 Kb/Sec

Total bytes transferred: 17,875,351

Elapsed processing time: 17.51 Secs C:\Program Files\Tivoli\TSM\TDPExchange>

Chapter 4. Backing up Exchange databases 45 • You can specify the tsmpassword (/TSMPassword=tsmpassword) which TDP

for Exchange uses to log on to the TSM server. For more information about this parameter, refer to Chapter 4 of Tivoli Data Protection for Microsoft Exchange Server Installation and User’s Guide .

4.2 General procedures for backing up Exchange 2000

This section contains information about procedures for backing up Exchange 2000. The backup of Exchange 2000 utilizes parallel backups by allowing multiple backup sessions of different storage groups at the same time. In order to perform parallel backups, you must run multiple instances of the CLI or GUI.

4.2.1 Backing up Exchange 2000 using the GUI

The backup of Exchange 2000 using the GUI is similar to the backup of Exchange 5.5 (see 4.1.1, “Backing up Exchange 5.5 using the GUI” on page 35). After invoking the GUI, you will be presented with the interface illustrated in Figure 14.

Figure 14. TDP for Microsoft Exchange 2000 GUI

In the left pane of this window you can see that Exchange server ELBRUS is a member of domain uphi.sky and contains two storage groups: First Storage Group and ITSO SG. The First Storage Group contains two databases — Mailbox Store (ELBRUS) and Public Store (ELBRUS). The ITSO SG storage group includes only one database — ITSO 6147 Mailbox Store. (As with Exchange 5.5, here again the GUI tree view changes with each tab selected).

You can perform backup of one of these storage groups, or both. The difference from Exchange 5.5 is that here you can perform a special backup, database copy, which gives you the opportunity to back up only the selected databases and associated transaction logs without affecting any incremental or differential backup processes.

For information about configuration settings, refer to 4.1.1.1, “Configuration settings” on page 38. For Exchange 2000 you have an additional option to specify the temporary path for restoring logs and patch files (Figure 15). If you do not select such a path, the default is used. Before a full copy or database copy restore occurs, TDP for Exchange will delete any residual log files in the temporary directory.

Figure 15. Configuration settings for Exchange 2000

Type the Temporary Log Restore Path or click Browse to choose it.

Do not set this path to be the current Exchange storage group transaction log directory or there could be unpredictable results.

Note

Chapter 4. Backing up Exchange databases 47 When backing up Exchange 2000, you must keep in mind that if one

database from a storage group is dismounted or corrupted, you cannot perform full or copy backup of the storage group which contains this

database. However, you can perform differential, incremental, and database copy backup.

If you try to perform backup of an entire Information Store, only the storage groups which do not contain dismounted databases will be backed up. That is because all the databases in the storage group share the same transaction log files, and after performing a full backup, the transaction log files are deleted. So, if for any reason one database is not mounted or is corrupted, the full backup will not take place, and the transaction log files will not be deleted.

4.2.2 Backing up Exchange 2000 using the CLI

You can perform backup of Exchange 2000 by using the Command Line Interface. Follow the instructions given in 4.1.2, “Backing up Exchange 5.5 using the Command Line Interface” on page 40 for invoking the Command

You can perform backup of Exchange 2000 by using the Command Line Interface. Follow the instructions given in 4.1.2, “Backing up Exchange 5.5 using the Command Line Interface” on page 40 for invoking the Command

Documento similar