I ran this script PS version against a couple of UCSM instances to get the server inventory information and status. On some of the FI, some servers were moved to another FI without decommissioning / removing on the original FI which show their statu...
I'm working on scripting out config backups of standalone c240 servers using the utils module of the imcsdk for python: https://ciscoucs.github.io/imcsdk_docs/imcsdk.utils.html?highlight=backup_create#imcsdk.utils.imcbackup.backup_create This works g...
I use UCS Central regsitered with 4 UCS Manager. I was trying to Create Service Profile and associate it to one of the domain/chassis/slot via PowerTool (Powershell).What command should be used to associate a Domain/Blade Eg : Domain2/Chassis1/Slot-1...
Hi Experts,I am looking for thoughts on how to automate the Cisco APIC initial configuration which is running on Cisco UCS C-series servers.As you might know when the controller boots up this is what it get displayed (snapshot below) & I need to auto...
I'm trying to use the Python uscmsdk library; however it's failing at the login with the error "Not supported on server". The code I'm using is equivalent to: "from ucsmsdk.ucshandle import UcsHandle# Create a connection handle handle = UcsHandle(<ho...
Hi Team, I am using secured environment where python code is working fine but after converting the code to .exe file using pyinstaller it giving below error. Code for connecting to pod from ucsmsdk.ucshandle import UcsHandlehandle = UcsHandle("n.n.n...
Hi,
I am not sure if this is the correct community for this question, so I apologize in advance.
I have the credentials to access my UCS's SoL interface via ssh, but after I logon I do not get a prompt or anything.
All I see is ...
CISCO Serial...
Hi,
I am very new to UCS SDK. I would like to be able to get a list of valid class ids.
If I do something like this ...
foos = ucsm_handle.query_classid(class_id='foo', filter_str=filter_str)
... I get the error ...
ucsmsdk.ucsexception.UcsExce...
HI,I'm working on an initial UCS manager configuration script for a client using UCSMSDK.When using handle.commit(), is it a better practice to use handle.commit() for frequent small changes. Or less frequent larger changes?For an example when creati...
Most of the time handle.login() is hanging forever.I am creating handle as belowhandle = UcsHandle("IP/host", "username", "pwd")handle.login()After executing # followed ucsmsdk_samples code.handle.set_mo(firmware_infra_pack)handle.commit()After comm...
I am trying to research the fastest to clean up the C-series machines, the best way I thought is to directly delete all virtual drives using CIMC XML API. I know how to the method of creating virtual drives but don't know to how to deleteFor example...
Hi, folks,We are having issues connecting to our UCS management system using the Cisco UCS Python SDK from https://communities.cisco.com/docs/DOC-37174Our system is a 64-bit CentOS 5.8 system with OpenSSL 0.9.8e-31.el5_11 and Python 2.4.3. We have th...