UNIX/Linux Script Invoke Write Action for Python/Perl/Shell scripts
Fujitsu.Servers.PRIMERGY.Linux.InvokeScript.WriteAction (WriteActionModuleType)
Element properties:
Member Modules:
Source Code:
<WriteActionModuleType ID="Fujitsu.Servers.PRIMERGY.Linux.InvokeScript.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TargetSystem" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptName" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptType" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptBody" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptArguments" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ArgumentsMap" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Timeout" type="xsd:integer" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="UserName" type="xsd:string" minOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Password" type="xsd:string" minOccurs="1"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<WriteAction ID="InvokeProbe" TypeID="Fujitsu.Servers.PRIMERGY.Linux.WSMan.Invoke.VarPriv.WriteAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<ScriptName>$Config/ScriptName$</ScriptName>
<ScriptType>$Config/ScriptType$</ScriptType>
<ScriptOpenTag><p:script></ScriptOpenTag>
<ScriptCloseTag></p:script></ScriptCloseTag>
<ArgumentsMap>$Config/ArgumentsMap$</ArgumentsMap>
<UserName>$Config/UserName$</UserName>
<Password>$Config/Password$</Password>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteScript</InvokeAction>
<Input>
<p:ExecuteScript_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem">
<p:script>$Config/ScriptBody$</p:script>
<p:arguments>$Config/ScriptArguments$</p:arguments>
<p:timeout>$Config/Timeout$</p:timeout>
</p:ExecuteScript_INPUT>
</Input>
<TimeOutInMS>300000</TimeOutInMS>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="InvokeProbe"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSMan!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>