Modified Instructions for Complete Restores of Windows Systems with the TSM Client Bare Metal Restore BMR, System State Restore, Windows System Object Restore.IBM Perl script to collect IBM Spectrum Protect server monitoring data Is there an easy way to collect monitoring data needed to evaluate IBM Spectrum ProtectTivoli Storage Manager server activities performance, processes, sessions Which data to collect in a first step The script, as an example, can help you to investigate server performance.You can use the Perl script from the attachment to collect data needed.You can adjust the script according your needs, but in case you plan to send in the data for a support ticket please check with your support representative or use the defaults.By default the script runs in the foreground and prompts you for required parameters.How To Install Tsm Storage Agent On Aix' title='How To Install Tsm Storage Agent On Aix' />The minimum variables to specify for the script to work in the background are my server localhost server stanza for UNIX, TCPSERVERADDRESS for MSWin.MSWin. 32my administrator admin the admin idmy password password guess what DB2 instance name, if your DB2.INSTANCE environment variable is set it will override this value.Then start the script with the additional noprompt parameter, e.AIX perl. 64 servermon. Find Marriage License For Free . UnixMantra Unix AIX Linux Howtos, Tutorials, Guides, News, Tips and Tricks.Defining the Storage Agent Define at the TSM Server.Use a command like the one below to define a storage agent to the TSM server.If you want to look at existing.AIX systemsOther platforms perl servermon.To run the script in the foreground, just invoke the script without the additional noprompt parameterFor IX users, if you want to define a cron job to start the script unattended, you need to define a wrapper script to source the instance users profile.This is necessary for the DB2 connect to work.A sample crontab entry would look like 4.The wrapper script then looks like AIX cat lt pathtoscript servermon.A detailed explanation of the parameters to specify can be found below.You can easily adjust the script to collect data as you like, the default set has been found helpful in analysis of IBM Spectrum ProtectTivoli Storage Manager server performance.Please make sure to run the script from a user with sufficient DB2 access rights e.DB2 environment properly initialized.Message DB2. 10. 61.E is thrown if the script fails to connect to the database.In general, this script is very easy to setup and run and provides excellent information to support for diagnosis of several different kinds of IBM Spectrum ProtectTivoli Storage Manager problems.It is recommended to run the script as the instance user from the IBM Spectrum ProtectTivoli Storage Manager server box.If your installation paths are different to the default paths you need to adjust the path variables accordingly.Alternatively you can run the script with DSMDIR and DSMCONFIG environment variables specified.If you want to use the script to collect storage agent monitoring data.IBM Spectrum ProtectTivoli Storage Manager administrative client dsmadmc installed.Under this condition some of the docs collected, e.Script output is generated in the current directory from where the script is started from.The script formerly was referred to as server performance script, to reflect the increased usage of the script it has been renamed to server monitoring script.Note If you are running your server on a Windows box, you need to install a perl interpreter to be able to run the script.There are free and commercial interpreters available, see the related URL section for links to some free interpreters.Run the script from a DB2 command window as instance user Start Run db.From there, cd to the target directory for the files generated using the script.Notes The following APARs should be reviewed before running the script and make sure corresponding fixes to the IBM Spectrum ProtectTivoli Storage Manager Server have been applied.APAR IC7. 22. 51 documents a problem that the SHOW THREADS command can crash the server.The script uses this command frequently on the Windows platform, so please make sure the fix for this is applied.See the link section for APAR details.On platforms other than Windows, the SHOW THREADS usage has been greatly reduced, however it is still recommended to apply the referenced fix.APAR IC7. 99. 57 documents a problem that there is a rare chance that SHOW DEDUPDELETEINFO might crash the server.The script has been modified so that the command is commented out.If you have the fix installed, and you need to collect diagnostic data related to deduplication, you can reactivate the command again.APAR IC8. 24. 90 documents a problem that the SHOW SESSION command can crash the server.The script uses this command frequently all server platforms, so please make sure the fix for this is applied.See the link section for APAR details.APAR IC8. 37. 87 documents that the server might get hung caused by a deadlock between client dedup sessions and server show commands.APAR IC9. 64. 38 documents that the server might crash if two INSTRUMENT END commands run in parallel.Make sure not to manipulate instrumentation tracing while the script is active.APAR IT2. 19. 57 documents that SHOW THREADS command might hang a Linux 8.Script version 1.SHOW THREADS command output on the Linux platform, however it is important to apply the fix as for doc analysis there is a lot of dependancy for the show threads to be working correctly.If the script is run in the foreground you will be prompted for the following parameters, the same parameters are available via the configuration section of the script itself Enter the servername as found in dsm.On Windows boxes specify the TCPIP address of the target server, as the script is expected to be run on the same box as the server is running usually localhost will work.For all non Windows environments specify the servername as found in dsm.Enter the tcpport 1.On Windows boxes you will be prompted for the port the server is listening for dsmadmc commands.For all non Windows boxes this parameter is not required as the definitions are taken from the server stanza.Enter the TSM administrator login ID admin Specify the IBM Spectrum ProtectTivoli Storage Manager administrator id to collect the command output with.Enter the TSM administrator password warning, it will echo to the screen password Specify the current password for the Tivoli Storage Manager administrator.Enter PMR number as PPPPP,BBB,CCC none If the doc collection is for a PMR you can specify PMR number, branch and country and the collected docs will be put together for easier upload to the PMR doc repository.Collect SHOW THREADS outputYN Y Earlier versions of the server could show problems when SHOW THREADS was collected.Current servers do not show that symptom, so the default is to collect the docs.It is not recommended to run production Tivoli Storage Manager servers on levels that do not have the related code fixes applied.Collect SHOW DEDUPDELETE output YN Y Earlier versions of the server could show problems when SHOW DEDUPDELETE was collected.Please see APARs listed above for more information under the section titled Notes.Current servers do not show that symptom, so the default is to collect the docs.It is not recommended to run production Tivoli Storage Manager servers on levels that do not have the related code fixes applied.Collect SHOW ALLOC output YN N SHOW ALLOC output is not collected by default, but the information is helpful if the symptom to investigate is memory usage related.Please use as advised by IBM support.Enable collectstmt instrumentationNY N Enabling COLLECTSTMT will result in the generation of instrumentation statistics for long running SQL statements.Starting with version 1.N to Y. Please use as advised by IBM support.Enable SNAPSHOT FOR DYNAMIC SQL NY N Enabling SNAPSHOT FOR DYNAMIC SQL will result in the generation of additional DB2 statistics.As the collection could impact server performance the default is set to not collect the statistics.Usually collecting snapshot for dynamic SQL requires to enable certain DB2 monitors, please use as advised by IBM support.Monitor log spanning NY Y Log span monitoring is enabled by default, the information gathered can help to analyze transactions that use lots of active log space.Enter comma separated stop events, e.ANRE none Here you can specify a comma separated list of messages as logged to the activity log.If any of the messages specified is found during the runtime of the script, the script will go through some final doc collection and then stop.Enter whitespace separated traceflags none Here you can specify any server traceflags as asked for by IBM support.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |