- Remove Unwanted Packages
install remove inactive
- Copy New Image to Flash
copy usbflash0:/cat9k_iosxe.x.x.x.SPA.bin flash:/
- Set Boot Variable
(config) boot system flash:packages.conf
wr show boot system
- Software Install Image to Flash
install add file flash:cat9k_iosxe.x.x.x.SPA.bin activate commit
- Verify New Packages and Image after reload
dir flash:*.pkg
- Check Version and New Bootloader
show version
- Clean up
install remove inactive
recover drbd split brain
Define one node as secondary and discard data on this
drbdadm secondary all drbdadm disconnect all drbdadm -- --discard-my-data connect all
Define anoher node as primary and connect
drbdadm primary all drbdadm disconnect all drbdadm connect all
ESXi Raw Device Mapping RDM
To configure a local device as an RDM disk:
- Open an SSH session to the ESXi host.
- Run this command to list the disks that are attached to the ESXi host:
ls -l /vmfs/devices/disks
- From the list, identify the local device you want to configure as an RDM and copy the device name.
Note: The device name is likely be prefixed with t10. and look similar to:t10.F405E46494C4540046F455B64787D285941707D203F45765
- To configure the device as an RDM and output the RDM pointer file to your chosen destination, run this command:
vmkfstools -z /vmfs/devices/disks/diskname /vmfs/volumes/datastorename/vmfolder/vmname.vmdk
For example:
vmkfstools -z /vmfs/devices/disks/t10.F405E46494C4540046F455B64787D285941707D203F45765 /vmfs/volumes/Datastore2/localrdm1/localrdm1.vmdk
Test Jumbo Frames / MTU 9000
Linux:
ping -M do -s 8972 xxx.xxx.xxx.xxx
OSX/BSD:
ping -D -s 8184 xxx.xxx.xxx.xxx
Windows:
ping -f -l 9000 xxx.xxx.xxx.xxx
Example results on Linux
If you’ve forgotten to enable jumbo frames/9k MTU on your client device you’re sending the ping from:
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes ping: sendto: Message too long
If you have enabled jumbo frames on your client but not the destination (or a switch in between):
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes Request timeout for icmp_seq 0
If you’ve done everything righ:
PING xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx): 8184 data bytes 8192 bytes from xxx.xxx.xxx.xxx: icmp_seq=0 ttl=128 time=0.714 ms