- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm just trying to create Alarm Clock with wsman utility, but I couldn't figure out how to do it, can somebody help me?
Trying to execute this command:
root$ wsman put -k ElementName"DefAlert" -k StartTime="2014-07-15T22:00:00Z"-k Interval="PT12M" -k DeleteOnCompletion="true" http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence?InstanceID="DefAlert" --port 16992 -h 192.168.0.14 --username admin -p "Admin44$" -V -v
I get such response:
<?xml version="1.0" encoding="UTF-8"?>
<a:Envelope xmlns:g="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:f="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:e="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2004/09/transfer" xmlns:c="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:h="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:i="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<a:Header>
<b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To>
<b:RelatesTo>uuid:1e82a3fe-fe28-1e28-8002-e6b2e3bae690</b:RelatesTo>
<b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</b:Action>
<b:MessageID>uuid:00000000-8086-8086-8086-00000000075B</b:MessageID>
</a:Header>
<a:Body>
<a:Fault>
<a:Code>
<a:Value>a:Sender</a:Value>
<a:Subcode>
<a:Value>b:DestinationUnreachable</a:Value>
</a:Subcode>
</a:Code>
<a:Reason>
<a:Text xml:lang="en-US">No route can be determined to reach the destination role defined by the WSAddressing To.</a:Text>
</a:Reason>
<a:Detail>
<e:FaultDetail>http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/InvalidResourceURI</e:FaultDetail>
</a:Detail>
</a:Fault>
</a:Body>
</a:Envelope>
Connection failed. response code = 400
What am I doing wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Later versions of AMT (8.0 on) have more alarms and settings. Can you tell us what version of AMT (or what processor) you are running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you copied your command over, you have syntax errors - try this after your alertname
-h 192.168.0.14 -P 16992 -u admin -p Admin44$ -V -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you send me one of your working commands to show that you are reaching the address because in the above set the error is that you are not reaching it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, for example as I've said the enumerate works fine and retrieves all the alarms
$ wsman enumerate http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence --port 16992 -h 192.168.0.14 --username admin -p "Admin44$" -V -v
<?xml version="1.0" encoding="UTF-8"?> <a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <a:Header> <b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To> <b:RelatesTo>uuid:599947a7-fe35-1e35-8002-e6b2e3bae690</b:RelatesTo> <b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</b:Action> <b:MessageID>uuid:00000000-8086-8086-8086-00000000000E</b:MessageID> <c:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</c:ResourceURI> </a:Header> <a:Body> <g:EnumerateResponse> <g:EnumerationContext>02000000-0000-0000-0000-000000000000</g:EnumerationContext> </g:EnumerateResponse> </a:Body> </a:Envelope> <?xml version="1.0" encoding="UTF-8"?> <a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence" xmlns:i="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <a:Header> <b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To> <b:RelatesTo>uuid:599b1bd7-fe35-1e35-8003-e6b2e3bae690</b:RelatesTo> <b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</b:Action> <b:MessageID>uuid:00000000-8086-8086-8086-00000000000F</b:MessageID> <c:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</c:ResourceURI> </a:Header> <a:Body> <g:PullResponse> <g:EnumerationContext>02000000-0000-0000-0000-000000000000</g:EnumerationContext> <g:Items> <h:IPS_AlarmClockOccurrence> <h:DeleteOnCompletion>false</h:DeleteOnCompletion> <h:ElementName>DefaultAlarm</h:ElementName> <h:InstanceID>DefaultAlarm</h:InstanceID> <h:Interval> <i:Interval>P1D</i:Interval> </h:Interval> <h:StartTime> <i:Datetime>2014-07-15T13:06:00Z</i:Datetime> </h:StartTime> </h:IPS_AlarmClockOccurrence> </g:Items> </g:PullResponse> </a:Body> </a:Envelope> <?xml version="1.0" encoding="UTF-8"?> <a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence" xmlns:i="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <a:Header> <b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To> <b:RelatesTo>uuid:599ba754-fe35-1e35-8004-e6b2e3bae690</b:RelatesTo> <b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</b:Action> <b:MessageID>uuid:00000000-8086-8086-8086-000000000010</b:MessageID> <c:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</c:ResourceURI> </a:Header> <a:Body> <g:PullResponse> <g:Items> <h:IPS_AlarmClockOccurrence> <h:DeleteOnCompletion>false</h:DeleteOnCompletion> <h:ElementName>newalarm</h:ElementName> <h:InstanceID>newalarm</h:InstanceID> <h:StartTime> <i:Datetime>2014-07-14T17:00:00Z</i:Datetime> </h:StartTime> </h:IPS_AlarmClockOccurrence> </g:Items> <g:EndOfSequence/> </g:PullResponse> </a:Body> </a:Envelope>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
$ wsman enumerate http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence --port 16992 -h 134.109.200.143 --username admin -p "Admin44$" -V -v <?xml version="1.0" encoding="UTF-8"?> <a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <a:Header> <b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To> <b:RelatesTo>uuid:f04c40bf-fe37-1e37-8002-e6b2e3bae690</b:RelatesTo> <b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</b:Action> <b:MessageID>uuid:00000000-8086-8086-8086-00000000003D</b:MessageID> <c:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</c:ResourceURI> </a:Header> <a:Body> <g:EnumerateResponse> <g:EnumerationContext>0A000000-0000-0000-0000-000000000000</g:EnumerationContext> </g:EnumerateResponse> </a:Body> </a:Envelope> <?xml version="1.0" encoding="UTF-8"?> <a:Envelope xmlns:a="http://www.w3.org/2003/05/soap-envelope" xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:c="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:d="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:e="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:f="http://schemas.dmtf.org/wbem/wsman/1/cimbinding.xsd" xmlns:g="http://schemas.xmlsoap.org/ws/2004/09/enumeration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <a:Header> <b:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</b:To> <b:RelatesTo>uuid:f04e4326-fe37-1e37-8003-e6b2e3bae690</b:RelatesTo> <b:Action a:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</b:Action> <b:MessageID>uuid:00000000-8086-8086-8086-00000000003E</b:MessageID> <c:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</c:ResourceURI> </a:Header> <a:Body> <g:PullResponse> <g:Items/> <g:EndOfSequence/> </g:PullResponse> </a:Body> </a:Envelope>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Colleen for your help, I've just find out the right way.
I've looked at the TCP/IP traffic in Wireshark using Intel vPro Poweshel GUITool and found out that in order to set alarm clock I have to use AMT_AlarmClockService Class with only one selector: SystemName="ManagedSystem". The input template for AddAlarm method, that contains an instance of IPS_AlarmClockOccurance should be passed through a XML file using -J parameter of wsman tool.
So the right commando looks like this:
wsman invoke -a "AddAlarm" -J req2.xml http://intel.com/wbem/wscim/1/amt-schema/1/AMT_AlarmClockService?SystemName="ManagedSystem" -P 16992 -h 192.168.0.14 -u "admin" -p "Admin44$" -V -v
P.S. I've just switched to short parameters, but there is no difference what type do you use --password or -p, --username or -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for letting us know. We always like to hear things turned out well, even if we didn't help :>}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Behnam,
I hope all is well with you. I have a question regarding drive model SSDSC2BB016T4.
As you know, our approved FW is G2010141.
However, we have received some drives with a newer FW of G2010150.
Apparently, we cannot downgrade the FW.
What should we do in this case in order to prevent unnecessary RMAs?
My intent is to ensure not getting these new FW loaded drives or to have a way to downgrade it in IVT.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page