Posts
Ceph
Ceph install Prepare the host sudo zypper in podman Install cephadm SUSE The suse’s build-in ceph is out of date, so use the curl install instead
CEPH_RELEASE=18.2.0 # replace this with the active release curl --silent --remote-name --location https://download.ceph.com/rpm-${CEPH_RELEASE}/el9/noarch/cephadm chmod +x cephadm RHEL sudo dnf install --assumeyes centos-release-ceph-reef sudo dnf install --assumeyes cephadm Bootstrap the cluster #cephadm bootstrap --mon-ip *<mon-ip>* --cluster-network *<secondary ceph network>* sudo ./cephadm bootstrap --mon-ip 10.240.1.101 --cluster-network 10.
Posts
Mellanox SX6036
The Mellanox SX6036 is a 36 ports switch that support both infinitband and price is very good on ebay. (I bought mine at $200 + $50 for the ethernet activation)
Manual: https://delivery04.dhe.ibm.com/sar/CMA/XSA/MLNX-OS_VPI_v3_4_3002_UM.pdf
reset the device in case the previous password is still there Press the RST key and wait. (Note, it takes almost 3 minutes to reset mine instead of 15s as memtioned in the manual). After the reset, the password would be admin/admin.
Posts
Mellanox Mcx314a Bcct Flash Mcx354a Fcct
The following command can be used to cross flash the Mellanox MCX314A-BCCT (Ethernet only) to Mellanox MCX354A-FCCT (VPI).
download and unzip the firmware https://network.nvidia.com/support/firmware/connectx3proib/
wget http://www.mellanox.com/downloads/firmware/fw-ConnectX3Pro-rel-2_42_5000-MCX354A-FCC_Ax-FlexBoot-3.4.752.bin.zip unzip fw-ConnectX3Pro-rel-2_42_5000-MCX354A-FCC_Ax-FlexBoot-3.4.752.bin.zip install flashing tool opensuse:
sudo zypper install mstflint get the pcie id sudo lspci | grep Mellanox 03:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
This 03:00.0 should be passed into the mstflint’s -d parameter.
flash the firmware sudo mstflint -nofs --ignore_dev_data --guid=000000000000050 --use_image_ps --allow_psid_change -d03:00.
Posts
Apt Key Add Keysig
For some reason, recently, the Key used by ros is expiring frequently. E.g. when an warning like this when apt update:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org> W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/bionic/InRelease The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.
Posts
Kvm Windows Timer for High Idle Cpu
For windows newer than 1803, it would have a high CPU on host (20%) even when the guest CPU is idle. It needs the following Hyper-V Enlightenments. https://github.com/qemu/qemu/blob/master/docs/hyperv.txt
<hyperv> <synic state='on'/> <stimer state='on'/> </hyperv> The end xml:
<hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <synic state='on'/> <stimer state='on'/> </hyperv> These should be the default setting when create the vm from vm-manager. Keep here for reference.
<clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> <timer name='hypervclock' present='yes'/> </clock> Reference: https://bugzilla.