Translate

Total Pageviews

My YouTube Channel

Saturday 27 June 2015

Change Size and Number of Site Recovery Manager Server Log Files

You can change the size, number, and location of Site Recovery Manager Server log files.

You can modify the Site Recovery Manager log settings in the vmware-dr.xml configuration file on the Site Recovery Manager Server.

1

Log into the Site Recovery Manager Server host.
2

Open the vmware-dr.xml file in a text editor.
You find the vmware-dr.xml file in the C:\Program Files\VMware\VMware vCenter Site Recovery Manager\config folder.
3

Find the <log> section in the vmware-dr.xml file.
4

Set the maximum size in megabytes of the logs to retain.
You set the maximum log size by adding a <maxFileSize> section to the <log> section. The default is 1 MB.
<log>

   <maxFileSize>5000000</maxFileSize>

</log>
5

Set the maximum number of log files to retain.
You set the maximum number of logs by adding a <maxFileSize> section to the <log> section. The default is 10 log files.
<log>

   <maxFileNum>50</maxFileNum>

</log>
6

Change the location on the Site Recovery Manager Server in which to store the logs.
You change the log location by modifying the <directory> section in the <log> section.
<log>

   <directory>C:\ProgramData\VMware\VMware vCenter Site Recovery
    Manager\Logs</directory>

</log>
7

Change the default prefix for log files.
You change the default prefix by modifying the <name> section in the <log> section.
<log>

   <name>vmware-dr</name>

</log>
8

Change the logging level.
You change the logging level by modifying the <level> section in the <log> section. The possible logging levels are error, warning, info, trivia, and verbose.
<log>

   <level>verbose</level>

</log>
9

Change the location on the Site Recovery Manager Server in which to store core dumps.
You change the core dump location by modifying the <coreDump> section in the <log> section.
<log>

   <coreDump>C:\ProgramData\VMware\VMware vCenter Site Recovery
    Manager\DumpFiles</coreDump>

</log>
10

(Optional) Set the level of logging for specific Site Recovery Manager Server components.
You can set specific logging levels for the SoapAdapter, SanConfigManager, Recovery, Folders, Libs, and HttpConnectionPoolcomponents by modifying the appropriate <level> sections. The possible logging levels are error, warning, info, trivia, and verbose.
<level id="Recovery">
   <logName>Recovery</logName>
   <logLevel>trivia</logLevel>
</level>
11

(Optional) Set the level of logging for storage replication adapters.
Setting the Site Recovery Manager logging level does not set the logging level for SRAs. You change the SRA logging level by adding a <level id="SraCommand"> section to vmware-dr.xml to set the SRA logging level. The possible logging levels are error, warning, info, trivia, and verbose.

<level id="SraCommand">
   <logName>SraCommand</logName>
   <logLevel>trivia</logLevel>
</level>
12

Restart the Site Recovery Manager Server service for changes to take effect.

Source:-
VMware Documetation

No comments:

Post a Comment