Custom css

Cisco UCS XML API events

Working with the emulator for the Cisco UCS Manager there are certain events that can not be triggered because changes to inventory requires a restart.

If a blade is remove from a chassis an event of the following format will occur.

    <methodVessel cookie="">
        <inStimuli>
            ...
            <configMoChangeEvent cookie="" inEid="276132176">
                <inConfig>
                    <computeBlade dn="sys/chassis-10/blade-6" fltAggr="65536"
                        operQualifier="removed" operState="removed" presence="missing"
                        status="modified" />
                </inConfig>
            </configMoChangeEvent>
            ...
        </inStimuli>
    </methodVessel>

The operQualifier and operState attributes indicates what occurred while the presence attribute confirms that it is now missing.

If a blade is added to the chassis the first event that tells that will be of this format:

    <methodVessel cookie="">
        <inStimuli>
            ...
            <configMoChangeEvent cookie="" inEid="276132831">
                <inConfig>
                    <computeBlade availability="unavailable" checkPoint="shallow-checkpoint"
                        discovery="in-progress" dn="sys/chassis-10/blade-6" fltAggr="0"
                        fsmDescr="blade discovery 10/6(FSM:sam:dme:ComputeBladeDiscover)"
                        fsmFlags="sam:dme:ComputeBladeDiscover:check-point,sam:dme:ComputePhysicalFwUpgrade:config-board-ctrl-fw"
                        fsmPrev="DiscoverBmcPresence" fsmProgr="1"
                        fsmStageDescr="checking CIMC of server 10/6(FSM-STAGE:sam:dme:ComputeBladeDiscover:BmcPresence)"
                        fsmStamp="2014-02-10T17:06:12.513" fsmStatus="DiscoverBmcPresence"
                        fsmTry="1" operQualifier="" operState="discovery" presence="equipped"
                        status="modified" />
                </inConfig>
            </configMoChangeEvent>
            ...
        </inStimuli>
    </methodVessel>

The presence attribute confirms that it is now equipped. From there on it is then possible to query for more information.

Ingen kommentarer:

Send en kommentar

Install AWS VPN Client for openSUSE Tumbleweed

Code: curl https://d20adtppz83p9s.cloudfront.net/GTK/latest/awsvpnclient_amd64.deb -o awsvpnclient_amd64.deb sudo zypper in alien alien --t...