DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
once you have your UCS setup in lab, you should have below information:
call CloudStack API addUcsManager to register UCS manager. After registering, CloudStack will automatically discover blades and add them into resource pool. The resource pool is created automatically after UCS manager was added.
LIMITATIONS: in this phase, we assume user will not add/remove blades in setup after registering UCS manager into CloudStack. That means, CloudStack will not notice your changes on UCS hardware after UCS manager was registered
...
you are able to retrieve pre-created UCS profile from UCS manager by calling listUcsProfile. You do this largely before associating a profile to a blade which is explained in later use case.
NOTE: profile is synced between CloudStack and UCS manager. That means any change on profiles will be reflected next time you call listUcsProfile.
...
after registering UCS manager into CloudStack(use case 1), CloudStack will consult UCS manager for current blades in UCS setup. These blades would be retrieved by calling *listUcsBlade. *You do this largely before associating a
...
LIMITATIONS: in this phase, we assume user will not add/remove blades in setup after registering UCS manager into CloudStack. That means, CloudStack will not notice your changes on UCS hardware after UCS manager was registered
...
...
has not been finished at that time so I postponed this feature temporarily. It will come out soon.
...
...
Concepts:
Workflow:
This feature is default enabled as long as cloud-hypervisor-ucs.jar presents in classpath of CloudStack. User doesn't need to do any extra work to get the feature working,
a typical workflow is:
Implementations:
The feature is implemented as a plugin locating in incubator-cloudstack/plugins/hypervisors/ucs
AddUcsManagerCmd
example:
Implementation:
The feature is implemented as a plugin service locating in incubator-cloudstack/plugins/hypervisors/ucs. The service is self-contained with own API, it will not interfere with workflow of other CloudStack components.
...
...
field name | description |
|---|---|
zoneId | uuid of zone |
name | a texture name for the UCS manager. CloudStack would not use its value, it's only for user readable |
url | ip address of UCS manager |
username | username for UCS manager, this is gotten when you setup your UCS hardware |
password | password for UCS manager, this is gotten when you setup your UCS hardware |
curl "http://localhost:8096/?command=addUcsManager&zoneid=$zoneid&name=ucsmanager&url=$url&username=admin&password=C1tr1x99" curl "http://localhost:8096/?command=addUcsManager&zoneid=$zoneid&name=ucsmanager&url=$url&username=admin&password=C1tr1x99"
AssociateUcsProfileToBladeCmd
...
addUcsManager response
field name | description |
|---|---|
id | uuid of UCS manager |
name | name of UCS manager(the field specified in API) |
url | ip of UCS manager |
zoneId | zone uuid the UCS manager in |
...
...
field name | description |
|---|---|
ucsmanagerid | UCS manager uuid returned by addUcsManager |
curl "http://localhost:8096/?command=associatesUscProfileToBladelistUcsProfile&ucsmanagerid=$ucsid&profiledn=$profileDn&bladeid=$bladeId"
ListUcsBladeCmd
...
"
...
...
field name | description |
|---|---|
dn | profile identity in UCS manager. please refer to cisco documents for details |
...
...
field name | description |
|---|---|
ucsmanagerid | UCS manager uuid returned by addUcsManager |
curl "http://localhost:8096/?command=listUcsBlade&ucsmanagerid=$ucsid"
ListUcsManagerCmd
example:
TODO
...
listUcsBlade response (list response)
field name | description |
|---|---|
id | UCS blade uuid in CloudStack |
ucsManagerId | UCS manager uuid returned by addUcsManager |
hostId | hostId the blade in baremetal cluster(maybe other hypervisor cluster in future), null means blade not belonging to any CloudStack cluster |
dn | UCS blade identity in UCS manager |
associatedProfileDn | UCS profile DN(see listUcsProfile response) the blade associates to. null means blade not associating to any profile |
...
...
field name | description |
|---|---|
ucsmanagerid | UCS manager uuid returned by addUcsManager |
profiledn | UCS profile DN(see listUcsProfile response) |
bladeid | UCS blade uuid in CloudStack(see, listUcsBlade) |
example:
curl "http://localhost:8096/?command=listUcsProfileassociatesUscProfileToBlade&ucsmanagerid=$ucsid&profiledn=$profileDn&bladeid=$bladeId"
associatesUscProfileToBlade response:
the same as listUcsBlade response, while associatedProfileDn points to profile the blade associates to
listUcsManager:
field name | description |
|---|---|
zoneId | uuid of zone |
listUcsManager response
the same as addUcsManager