Run Escalation Action command with specific userid in SOI
search cancel

Run Escalation Action command with specific userid in SOI

book

Article ID: 281066

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

How to run Escalation Action command with specific userid?

Resolution

A new utility has been added to pass the username and password while executing the PowerShell script using the execute action command from SOI side.
 
Please follow the below steps:
 
1. Add all the jars which is attached with zip at the below location.
   CA\SOI\tools\lib
2. Add RunProcess.bat file at the below location
   CA\SOI\tools
 
3. Open and edit RunProcess.bat file and provide the SCOM user and encrypted password.
 
4. Encrypt the password using the below command
    - Open a command line and locate the encryption utility in the following folder:
<SOI_HOME>\Tools\EncryptSAMCreds.bat
      Run the following command:
EncryptSAMCreds.bat password_to_encrypt
      Copy and paste the encrypted password in the RunProcess.bat file password with -p option.
 
4. Configure Execute action command from SOI escalation action and provide the below command and save.
  <SOI_Install_DIR>\CA\SOI\tools\RunProcess.bat "powershell.exe -f c:\SCOM_REST_wopwd.ps1 mdrelementid ticketid"
 
5. Execute the action from SOI console.
 
 
Note :- You need to provide SCOM admin user credential.
 

Attachments

Fix-UserProcess-33650508.zip get_app