VMware Cloud Community
vBlockJFK
Enthusiast
Enthusiast
Jump to solution

UCS Plugin - how do I know when a blade is associated?

     I am using the UCS Plugin to associate a Service Profile to a blade. When I do, the function call returns immediately. But I want to wait for the blade to be associated before proceeding. How do I figure out when the blade is done associating? The UcsmBlade.status parameter does me no good, it keeps coming back Null.

0 Kudos
1 Solution

Accepted Solutions
igorstoyanov
VMware Employee
VMware Employee
Jump to solution

A step-by-step detailed example of the same use case is described on the vCO blog:

http://blogs.vmware.com/orchestrator/2011/04/sample-scenario-for-the-cisco-ucs-manager-plug-in.html

Step 3,4 and 5 from this use cases are:

3. Assign the Service Profile to a Blade

4. Wait for the association to be completed (the Blade will be booted)

5. Do something else after that depending on the result (e.g. send a notification to somebody)

This should provide you with the info needed to complete your use case.

Thanks,

Igor.

Visit http://blogs.vmware.com/orchestrator for the latest in Cloud Orchestration.

View solution in original post

0 Kudos
3 Replies
ivand
VMware Employee
VMware Employee
Jump to solution

You can use workflow "Wait for an event by DN". If you provide DN of the blade and the attribute 'association' with positive value 'associated' and negative 'unassociated', this workflow will wait for set timeout for this attribute to become provided positive value. Once the blade is accosiated, the workflow will complete.

Regards

Ivan

vBlockJFK
Enthusiast
Enthusiast
Jump to solution

Awesome! Thanks! I'll try it.

Sincerely

John Kennedy

TME

Cisco, Inc.

(408)853-9424

0 Kudos
igorstoyanov
VMware Employee
VMware Employee
Jump to solution

A step-by-step detailed example of the same use case is described on the vCO blog:

http://blogs.vmware.com/orchestrator/2011/04/sample-scenario-for-the-cisco-ucs-manager-plug-in.html

Step 3,4 and 5 from this use cases are:

3. Assign the Service Profile to a Blade

4. Wait for the association to be completed (the Blade will be booted)

5. Do something else after that depending on the result (e.g. send a notification to somebody)

This should provide you with the info needed to complete your use case.

Thanks,

Igor.

Visit http://blogs.vmware.com/orchestrator for the latest in Cloud Orchestration.
0 Kudos