Share via


Run OA Command

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Run OA Command activity is used in a runbook to run a command that can be used to perform management activities such as Add User, Enable User, and Show Server Status.

The activity publishes all of the data from the required and optional properties into published data. The following tables list the required and optional properties and published data for this activity.

Run OA Command Required Properties

Element

Description

Valid Values

Lookup

Command

The OA command to run

ADD EBIPA

ADD LDAP GROUP

ADD OA DNS

ADD SNMP TRAPRECEIVER

ADD USER

ASSIGN

ASSIGN OA

ASSIGN OA LDAP GROUP

DISABLE EBIPA

DISABLE USER

DOWNLOAD CONFIG

DOWNLOAD LDAP CERTIFICATE

ENABLE ALERTMAIL

ENABLE EBIPA

ENABLE HTTPS

ENABLE LDAP

ENABLE NTP

ENABLE SNMP

ENABLE TELNET

ENABLE TRUSTED HOSTS

ENABLE USER

ENABLE XMLREPLY

FORCE TAKEOVER

HPONCFG

PING

POWEROFF SERVER

POWERON SERVER

REBOOT SERVER

REMOVE EBIPA

REMOVE LDAP GROUP

RESTART OA

SAVE EBIPA

SET ALERTMAIL MAILBOX

SET ALERTMAIL SENDERDOMAIN

SET ALERTMAIL SMTPSERVER

SET DATE

SET EBIPA

SET EBIPA DOMAIN

SET EBIPA GATEWAY

SET EBIPA INTERCONNECT NTP

SET ENCLOSURE ASSET

SET ENCLOSURE NAME

SET ENCLOSURE UID

SET HPSIM TRUST MODE

SET IPCONFIG DHCP

SET LDAP NAME MAP

SET LDAP PORT

SET LDAP SEARCH

SET LDAP SERVER

SET NTP POLL

SET NTP PRIMARY

SET NTP SECONDARY

SET OA GATEWAY

SET OA NAME

SET OA UID

SET POWER MODE

SET POWER LIMIT

SET POWER SAVINGS

SET RACK NAME

SET SCRIPT

SET SERVER BOOT FIRST

SET SERVER BOOT ONCE

SET SERVER DVD

SET SNMP COMMUNITY

SET SNMP CONTACT

SET SNMP LOCATION

SET TIMEZONE

SET USER ACCESS

SET USER PASSWORD

SHOW ENCLOSURE FAN

SHOW ENCLOSURE INFO

SHOW ENCLOSURE LCD

SHOW ENCLOSURE POWERSUPPLY

SHOW ENCLOSURE STATUS

SHOW ENCLOSURE TEMP

SHOW INTERCONNECT INFO

SHOW INTERCONNECT LIST

SHOW INTERCONNECT STATUS

SHOW INTERCONNECT PORT MAP

SHOW OA STATUS

SHOW POWER

SHOW RACK NAME

SHOW SERVER DVD

SHOW SERVER STATUS

SHOW SERVER TEMP

UNASSIGN

UNASSIGN LDAP GROUP

UNASSIGN OA

UNASSIGN OA LDAP GROUP

UPDATE DEVICE

UPDATE IMAGE

UPDATE IMAGE SYNC

UPDATE SHOW

UPLOAD CONFIG

Yes

Fields

Required fields for the selected command.

String

No

Run OA Command Optional Properties

Element

Description

Valid Values

Fields

Optional fields can be added to the Fields list by clicking Select fields.

String

 

Run OA Command Published Data

Element

Description

Value type

Command

Selected command

String

Command line

Command line for command

String

Connection name

Named connection

String

Error output

Command error output

String

Exit code

Exit code of command

String

Private Key

SSH private key

String

SSH Address

IP address or network name

String

SSH user

SSH username

String

Standard output

Standard output of command

String

Note

When testing a configured connection, you may get a popup window with the message Microsoft System Center 2012 Orchestrator has stopped working with the Application Name of sshclient.exe.  You can choose the Close the program option to dismiss the window without affecting the result of the test.  If the connection is good, you should see another message window reporting Test connection succeeded..

Other Activities

The Integration Pack for HP iLO and OA contains the following additional activities:

Run iLO Command