Cisco UCSM

Bruce LBruce L
1 min read

When operating Cisco UCS servers, one will want to watch and/or troubleshoot the server via KVM-console either in Cisco IMC(CIMC) or UCS Manager(UCSM) because the OS lost connection, filesystem got corrupted or having problem with firmware upgrade, etc. It is always time consuming to open up web browser, login UCS Manager or CIMC Web GUI and then launch KVM-console via Java/HTML5.

In UCSM, it is a little bit different from CIMC when connecting to KVM console. One needs to login UCSM UI (eg: VIP address) via local Java app or HTML5 in web browser, UCSM is heavy which always take times to load minimal data view to users. In fact, each physical server has a mgmt IP dedicated to its CIMC/KVM console.

The python tool connect_ucsm_kvm.py allows your terminal to directly connect to the KVM-Console without launching UCS manager CLI.

The syntax is:

[root@linux ~]# connect_ucsm_kvm --help
usage: python connect_ucsm_kvm.py -i HOST -u USERNAME -p PASSWORD -n NAME
connect UCSM-managed server KVM console over terminal
optional arguments:
-h, --help show this help message and exit 
-i HOST, --host HOST UCSM VIP address or Pod name
-u USERNAME, --username USERNAME
-p PASSWORD, --password PASSWORD
-n NAME, --name NAME service profile name

If you want to know more about Python SDK for Cisco UCS, check out this blog.

0
Subscribe to my newsletter

Read articles from Bruce L directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Bruce L
Bruce L

I’ve been rocking the DevOps journey for a decade, starting with building Cisco’s software-defined datacenters for multi-region OpenStack infrastructures. I then shifted to serverless and container deployments for finance institutions. Now, I’m deep into service meshes like Consul, automating with Ansible and Terraform, and running workloads on Kubernetes and Nomad. Stick around for some new tech and DevOps adventures!