How to Check Uptime & Upgrade Firmware on infiniband unmanage switch

You can check the unmanaged status with some MFT commands on the hosts in the fabric. Assume there is an unmanaged switch with LID 1, then you can check the uptime information with the following command: And you can also check the current firmware information with this following command: Almost all devices consist of hardware, […]

Grafana and Alerting ( Ubuntu )

Installation Components Required sudo apt-get install -y apt-transport-httpssudo apt-get install -y software-properties-common wgetsudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key Adding Repositories echo “deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main” | sudo tee -a /etc/apt/sources.list.d/grafana.list Updating Packages sudo apt-get update Installing Grafana sudo apt-get install grafana Starting and enabling Grafana on startup sudo systemctl enable grafana-server sudo systemctl start […]

Installing Promtail on ubuntu

Install Promtail Adding Repo PROMTAIL_VERSION=$(curl -s “https://api.github.com/repos/grafana/loki/releases/latest” | grep -Po ‘”tag_name”: “v\K[0-9.]+’) Create a new directory for storing Promtail binary and configuration file. sudo mkdir /opt/promtail Run the following command to download Promtail archive from releases page of the Loki repository. sudo wget -qO /opt/promtail/promtail.gz “https://github.com/grafana/loki/releases/download/v${PROMTAIL_VERSION}/promtail-linux-amd64.zip” Extract binary file from archive: sudo gunzip /opt/promtail/promtail.gz Set […]

Installing Loki On Ubuntu

Install Loki Get the latest version tag of Loki release from GitHub. Then assign version tag to variable. LOKI_VERSION=$(curl -s “https://api.github.com/repos/grafana/loki/releases/latest” | grep -Po ‘”tag_name”: “v\K[0-9.]+’) Create a new directory to store Loki binary and configuration file. sudo mkdir /opt/loki Download archive from releases page of the Loki repository. sudo wget -qO /opt/loki/loki.gz “https://github.com/grafana/loki/releases/download/v${LOKI_VERSION}/loki-linux-amd64.zip” Extract […]

Storware backup openstack

Install Centos Stream 8: Minimal Server + Standard Update: # dnf check-update # dnf update Staging Space Configuration Check available disk device: [root@storwer ~]# lsblk NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT sda      8:0    0   32G  0 disk ├─sda1   8:1    0  512M  0 part /boot/efi ├─sda2   8:2    0  1.5G  0 part /boot ├─sda3   8:3    0   […]

Kubernates Operational and Verification Command

Check node, version, name kubectl get node kubectl get node -o wide kubectl version Verify node detail kubectl describe node <NODE NAME> Verify resources available kubectl api-resources Use for api/resource detail check kubectl explain <RESOURCE> Get namespaces kubectl get namespace Get all pods on all namespace kubectl get pods –all-namespaces Running a single pod kubectl […]

AMD GPU Benchmark without Docker

Pre Required :ubuntu 22.04python 3.10.6 Reference :https://rocm.docs.amd.com/en/latest/how_to/tensorflow_install/tensorflow_install.html#../../deploy/linux/install.md Install python pip and rocm package : sudo apt install python3-pipsudo apt install rocm-libs rccl Use Virtual Environment: sudo pip3 install virtualenvvirtualenv psi-venvsource psi-venv/bin/activateInstall tensor flow, tesorflow-rocm and protobuf pip install tensorflow=2.12pip install tensorflow-rocm==2.12.0.560 –upgradepip install protobuf==3.20.3 Verify Python is Running :python3 -c ‘import tensorflow’ 2> /dev/null && […]

AMD GPU Benchmark

Ubuntu 22.04 Install docker : https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04 Install AMD TF-ROCm Image https://rocm.docs.amd.com/en/latest/how_to/tensorflow_install/tensorflow_install.html#../../deploy/linux/install.md docker pull rocm/tensorflow:latest Run it and enter the docker console docker run -it –network=host –device=/dev/kfd –device=/dev/dri \ –ipc=host –shm-size 16G –group-add video –cap-add=SYS_PTRACE \ –security-opt seccomp=unconfined rocm/tensorflow:latest Do benchmarking total images/sec: 477.72

Ruijie (Dynamic VLAN, Manage AP Mesh)

Pada guide kali ini, akan ditunjukkan beberapa setting pada ruijie untuk monitoring dan untuk mengatur dynamic VLAN. Pada guide ini juga akan digunakan radius server dengan IP 10.77.7.2. Registration: Untuk Register AP, pertama masuk menuju ruijie cloud https://cloud-as.ruijienetworks.com/ lalu pada menu (Device->AP->Add) maka dapat menambahkan AP baru dengan cara memasukkan S/N dari AP tersebut atau […]