Run SMPatchReport Utility to Get Installed Patches List

The SMPatchReport Utility automatically identifies and lists the CA Service Management product patches (CA SDM, CA APM, CA Service Catalog, and USS) that are installed on your local system. It provides you the option of generating a PDF or emailing the patch report summary. To email the patch report summary, you must configure the SMTP mail server properties. For more information, see .
casm1401
The SMPatchReport Utility automatically identifies and lists the CA Service Management product patches (CA SDM, CA APM, CA Service Catalog, and USS) that are installed on your local system. It provides you the option of generating a PDF or emailing the patch report summary. To email the patch report summary, you must configure the SMTP mail server properties. For more information, see Set the SMTP Server Configuration Properties.
If you have multiple systems in your environment with different versions of CA Service Management product patches installed, you must run this utility on each system individually to generate the patch report summary.
Prerequisites
  1. Setting 32-bit Java is mandatory for Windows and Non-Windows
  2. For Windows, you must set the path variable under Environment Variables.
  3. For Non-Windows, export Java path till bin/java/ in JAVA_HOME.
Run SMPatchReport Utility (Windows)
  1. Navigate to
    common patch installer/filestore/SMPatchReport
    location on your local system. 
  2. Double-Click
    Report.exe
    to run the utility.
    The utility identifies and lists all the CA Service Management product patches that are installed in the system.
  3. Select
    PDF
    or
    E-Mail
    options to generate a PDF or email the patch report summary respectively. 
     
    To view the generated PDF, ensure that you have a PDF reader installed in your system. For example, Adobe Acrobat Reader.
 Run SMPatchReport Utility (Non_Windows)
  1. Change directory to
    common patch installer/filestore/SMPatchReport
    location on your local system. 
  2. Execute
    Report.sh
    to run the utility.
    The utility identifies and lists all the CA Service Management product patches that are installed in the system.
  3. Select
    PDF
    or
    E-Mail
    options to generate a PDF or email the patch report summary respectively.
    To view the generated PDF, ensure that you have a PDF reader installed in your system. For example, Adobe Acrobat Reader.
Set the report.config.property File
The report.config.property file is located under
common patch installer/filestore/SMPatchReport
. Set the following properties to configure smtp mail server and other properties:  
  • smtp.mail.to
    : Specifies the email address to which email notifications are sent. In case of multiple email addresses, separate the values using a comma (,).
  • smtp.mail.from
    : Specifies the email address from which email notifications are sent.
  • smtp.mail.authenticate
    : Authenticates the user with SMTP server. 
    The default value is
    false
    , which allows you to send email without authentication. If the value is set to
    true
    , the system attempts to authenticate the user. In this case,
    smtp.mail.username
    and
    smtp.mail.password
    must be set.
  • smtp.mail.username
    : Specifies the user name of the account that connects to the SMTP server.
  • smtp.mail.password
    :  Specifies the password for the user name used in the
    smtp.mail.username
    property. The password must be encrypted. For more information on encrypting a password in the report.config.properties file, see Encrypt Password .
  • smtp.mail.host
    : Specifies the host name of the SMTP server to connect to or the IP address of the server to which the email is sent.
  • smtp.mail.port
    : Specifies the port number on which the SMTP service runs. This property value defaults to TCP port number 25, which is reserved for SMTP. Email administrators can change this value.
  • report.log.path
    : Specifies the location where the SMPatchReport log is created. By default, it is created in your current directory.  
Encrypt a Password
To encrypt password
,
set the value for
smtp.mail.password
property in the report.config,properties file. Perform the following steps to encrypt a password :
  1. Open the Command Prompt window.
  2. Change your working directory to SMPatchReport.
  3. Ensure that 32-bit java is available on the system.
  4. (Windows) Execute the following command to encrypt the password:
    java -cp ./lib/SMPatchReport.jar;./lib/sd-utils.jar;./lib/jsafeFIPS.jar;./lib/log4j-1.2.15.jar;. com.ca.patch.Util.StringEncrypter encrypt TextToEncrypt
  5. (Non-Windows) Execute the following command to encrypt the password:
    Java -cp ./lib/sd-utils.jar:./lib//SMPatchReport.jar:./lib/jsafeFIPS.jar:./lib/log4j-1.2.15.jar:. com.ca.patch.Util.StringEncrypter encrypt TextToEncrypt
  6. The Encrypted password is displayed on the console. Copy the password from the console and set the value in the
    smtp.mail.password
    property.