Creating boot device on a Cisco UCS C Series server using the cli

I am going to install ESXi on a bunch of UCS C Series rack mount servers. They are M4’s with SD card (from Cisco called FlexFlash) and I want to install ESXi on the SD card. I want to create boot devices and order such that KVM mapped ISO is the first boot device followed by the SD card. I can do this from the CIMC GUI but there’s always a faster way. I ssh to the CIMC as admin and paste these commands into the terminal.

scope bios
create-boot-device Hypervisor SDCARD
create-boot-device DVD VMEDIA
commit
scope boot-device DVD
set subtype KVMDVD
set order 1
set state Enabled
commit
exit
scope boot-device Hypervisor
set order 2 
set state Enabled
commit
exit

The CIMC command line is a no brainer if you have the love for command line and a minimal experience on IOS. To do anything BIOS related- show or set, you enter the BIOS scope which I did in the first line using the command scope bios. I use create-boot-device to create boot devices. Next, I enter into each device scope to do further settings. And to make change persistent, I run the commit command. Continue reading

Advertisements

Which ESXi VMkernel interface is used for NAS?

I have two VMkernel interfaces in my ESXi server and I use NAS datastores. I would like to know which of my vmk interfaces is used for NAS. Sure, I can ask the NAS Admin. Hey, here’s a volume on this filer, can you give me the list of IPs it is exported to? But I am a Linux admin and I would like to run some commands and I find it myself. Continue reading

Which switch port is an ESXi vmnic connected to?

When I am given an ESXi host to build and configure, it is not always clear which vmnic is connected to which port on the physical switch nor which vmnic should be used for what purpose. When I am in this situation, I turn to CDP information. It does not always give a definite answer but it helps me ask the right question to the Network Admin. Continue reading