RRDtool grading graphs

One of my oldest IT articles from about 2005 🙂 Introduction This HOWTO describes how to quickly generate a nice graph, showing you the average ping time off a specific host. This picture is the result we should get: This setup consists of 4 steps * Configfile * RRDcreate * RRDupdate * RRDgraph Configfile The… Read More »

NetApp | Automatic reschedule multiple snapmirrors

We are experiencing a very high CPU usage due to many (in our case >100) simultaneously starting snapmirror transfers at the same time (for example at 5 minutes after every full hour, if using the cron “hourly”). I’ve written a script with distributes all snapmirror relations across four schedules using the NetApp Perl SDK. The… Read More »

NetApp | Destroying foreign aggregates

node run -node <node> options nodescope.reenabledcmds “aggr=destroy” aggr destroy <foreign aggr name> options nodescope.reenabledcmds “” Or the newer, better way: storage aggregate remove-stale-record -aggregate <foreign aggr name> -nodename <node>

VMware ESXi Multipath Configurations

Set Default Multipath Policy to Round-Robin esxcli storage nmp satp set –default-psp=VMW_PSP_RR –satp=VMW_SATP_ALUA Change ALL LUNs to Round-Robin Multipath for device in $(esxcli storage nmp device list | grep ^naa); do esxcli storage nmp device set –device $device –psp VMW_PSP_RR; done

Moving Aggregate within a cDOT Cluster from von HA-Pair to another

Use this commands on your own risk 🙂 Take aggregate offline and remove the disk ownership: cluster::*> aggr offline aggr2 cluster::*> disk removeowner 1a.20.* Recable the shelf(s) and reassign the disks to the new node: cluster::*> disk assign -all true -node node3 In the nodeshell, try to find the aggregate and bring it online again:… Read More »

UMTS Modem on Raspberry PI

Problems with Huawei UMTS Modems: Bus 001 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem) vs Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode) Solution pi:/root # cat /etc/udev/rules.d/41-usb_modeswitch.rules ACTION==”add”, SUBSYSTEM==”usb”, ATTRS{idVendor}==”12d1″, ATTRS{idProduct}==”1446″, RUN+=”/usr/sbin/usb_modeswitch -v 12d1 -p 1446 -I -M ‘55534243123456780000000000000011062000000100000000000000000000’”