Page 1
Technical white paper Remote script execution with Dell EMC Open Manage Enterprise Abstract This technical white paper describes the Remote Script Execution feature of Open Manage Enterprise. It gives...
Page 2
Revisions Date Description July 2019 Initial release Acknowledgements This paper was produced by the following members of the Dell EMC Enterprise Systems Management Programs: Author: Subhakant (Test E...
Page 3
Table of contents Revisions................................................................................................................................................................................
Page 4
Executive summary Addressing device alerts manually, especially in large setups, is a time-consuming and laborious exercise for the system administrators. Open Manage Enterprise with the Remote Script...
Page 5
1 Some use cases for the Remote Script Execution feature Listed below are some of the use cases where the Remote Script Execution feature can be used: USE CASE 1: Remote Script Execution can be used t...
Page 6
2 Basic details of Remote Script Execution Here are a few facts about the Remote Script Execution feature in Open Manage Enterprise that you need to be aware of before getting started: • Only the Open...
Page 7
3 Configure, Edit, and Delete scripts for remote execution Scripts for remote execution can be customized to the different types of devices in the data center. This section provides a step-by-step exp...
Page 8
Figure: Screen shot from linux terminal. Figure: Screen shot from the Remote Script Execution page. Technical white paper
Page 9
3.2 Configure Remote Script Execution with password for remote execution. Here are the steps to configure the Remote Script Execution feature in Open Manage Enterprise using SSH with password. • Activ...
Page 10
3.3 Configure Remote Script Execution for script with SSH key 3.3.1 Configure SSH key • In the Linux host, run the following command to generate SSH key: ssh-keygen -b 4096. • Enter path in which you ...
Page 11
Figure 2: Configuring Remote Script Execution for script with SSH Key. 3.4 Configure Remote Script Execution for RACADM / IPMI command • Activate the Add Remote Command wizard in Open Manage Enterpris...
Page 12
Figure 3: Configuring Remote Script Execution for IPMI commands Figure 4: Configuring Remote Script Execution for RACADM commands. 3.5 Edit scripts or commands used in Remote Script Execution Listed b...
Page 13
• Select the existing remote command from the Script Execution page (Application Setting > Script Execution) • Click Edit to activate the Edit Remote Command wizard. You can edit the Command Name, ...
Page 14
4 Create an alert policy and link to the remote execution scripts and commands To activate the scripts and commands created for remote execution, you need to create alert policies and link those polic...
Page 15
• From the Category page of the wizard, select category(ies) of the devices on which the alert policy would apply. • Select the target devices on the Target page. Only the devices belonging to the ear...
Page 16
• In the Date and Time page of the Create Alert Policy wizard, specify the Date range, Time Frame or the Days. • On the Severity page, specify the severity of the alerts based on which the alert polic...
Page 17
• On the Actions page, select Remote Script Execution. • On the Summary page, click Finish after reviewing the newly-created alert policy Technical white paper
Page 18
• Once an alerty policy is successfully created, you can view the policy on the Alerts > Alert Policies page. Technical white paper
Page 19
5 Validate remote script execution Remote scripts/commands are executed when alerts are received specific to the linked alert policy. A job is created whenever a remote script is executed. The status ...
Page 20
Figure: A completed RACADM job which was remotely executed. Figure: Successful IPMI command remote script execution. Technical white paper
Page 21
6 Remote script execution using RESTful APIs Remote script execution can also be implemented using RESTful APIs. Using REST APIs you can create remote RACADM commands, IPMI commands and SSH script and...
Page 22
"Value": "Ipmi", "Data Type": "java.lang.String", "Group Name": "REMOTE_COMMAND_ACTION_SETTING2" "Name": "REMOTE_COMMAND_CMD2...
Page 23
"Data Type": "java.lang.String", "Group Name": "REMOTE_COMMAND_ACTION_SETTING3" "Name": "REMOTE_COMMAND_CMD3", "Default Value": &q...
Page 24
"Name": "REMOTE_COMMAND_CMD3", "Default Value": "", "Value": "getniccfg", "Data Type": "java.lang.String", "Group N...
Page 25
Ja25/ddp/QF+/Hay BEGg ZGVgfu\ng B75h BUWk203jl Yh VXTl Jd5Kzm5e5S1r Xw LFP9YEy Qcf Qi O/+b/o h5r/Xg LPo5q5\nr QKBg QCy Ct7k POTfm Tp TDmw S0w HYRo Wrmdib6q XLe IR4W8k5hxn BMtfcu Fwal IMb\n GLUOc W1RVg...
Page 26
"Name": "Remote Script", "Enabled": true, "Default Policy": false, "Policy Data": { "Severities": [], "Devices": [], "Device ...
Page 27
A Technical support and resources • Dell.com/support is focused on meeting customer needs with proven services and support. • For Open Manage Enterprise documentation on the Dell support site, see Ope...