Loading bin/mdl-wrapper +2 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,8 @@ for path in "$@"; do case "$path" in *.md|*.mdwn|*.markdown) echo "checking file $path..." sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/' "$path" | mdl - ;; # this also removes [x] style checklists which kramdown doesn't like sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/\* \[[x ]\] /\* /' "$path" | mdl - ;; esac else echo "checking $path..." Loading howto/new-machine-cymru.md +32 −1 Original line number Diff line number Diff line Loading @@ -737,7 +737,7 @@ operating system installed, by Cymru, but that system can be safely wiped and replaced by the standard install procedure established in this page. ### iSCSI cluster ### iSCSI cluster specifications There are 4 Dell MD3220i iscsi hardware raid units. Each MD3220i has a MD1220 expansion unit attached for a total of 48 900GB disks per unit Loading @@ -749,6 +749,37 @@ for auto disk replacement of failed hard drives. TODO: bring the iSCSI cluster in production, see [issue 40131](https://gitlab.torproject.org/tpo/tpa/team/-/issues/40131) ### iSCSI cluster management tools setup The access the iSCSI servers, you need to setup the (proprietary) SMCli utilities from Dell. First, you need to extract the software from a ISO: apt install xorriso curl -o dell.iso https://downloads.dell.com/FOLDER04066625M/1/DELL_MDSS_Consolidated_RDVD_6_5_0_1.iso osirrox -indev dell.iso -extract /linux/mdsm/SMIA-LINUXX64.bin dell.bin ./dell.bin Click through the installer, which will throw a bunch of junk (including RPM files and a Java runtime!) inside `/opt`. To generate and install a Debian package: alien --scripts /opt/dell/mdstoragemanager/*.rpm dpkg -i smruntime* smclient* The scripts shipped by Dell assume that `/bin/sh` is a `bash` shell (or, more precisely, that the `source` command exists, which is [not POSIX](https://github.com/koalaman/shellcheck/wiki/SC3046)). So we need to patch that: sed -i '1s,#!/bin/sh,#!/bin/bash,' /opt/dell/mdstoragemanager/client/* Then, if the tool works, at all, a command like this should yield some output: SMcli 172.30.140.16 -c "show storageArray profile;" ... assuming there's a server on the other side, of course. ## Network topoloy The network at Cymru is split into different VLANs: Loading Loading
bin/mdl-wrapper +2 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,8 @@ for path in "$@"; do case "$path" in *.md|*.mdwn|*.markdown) echo "checking file $path..." sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/' "$path" | mdl - ;; # this also removes [x] style checklists which kramdown doesn't like sed 's/^\[\[_TOC_\]\]/TOC_PLACEHOLDER/;s/\* \[[x ]\] /\* /' "$path" | mdl - ;; esac else echo "checking $path..." Loading
howto/new-machine-cymru.md +32 −1 Original line number Diff line number Diff line Loading @@ -737,7 +737,7 @@ operating system installed, by Cymru, but that system can be safely wiped and replaced by the standard install procedure established in this page. ### iSCSI cluster ### iSCSI cluster specifications There are 4 Dell MD3220i iscsi hardware raid units. Each MD3220i has a MD1220 expansion unit attached for a total of 48 900GB disks per unit Loading @@ -749,6 +749,37 @@ for auto disk replacement of failed hard drives. TODO: bring the iSCSI cluster in production, see [issue 40131](https://gitlab.torproject.org/tpo/tpa/team/-/issues/40131) ### iSCSI cluster management tools setup The access the iSCSI servers, you need to setup the (proprietary) SMCli utilities from Dell. First, you need to extract the software from a ISO: apt install xorriso curl -o dell.iso https://downloads.dell.com/FOLDER04066625M/1/DELL_MDSS_Consolidated_RDVD_6_5_0_1.iso osirrox -indev dell.iso -extract /linux/mdsm/SMIA-LINUXX64.bin dell.bin ./dell.bin Click through the installer, which will throw a bunch of junk (including RPM files and a Java runtime!) inside `/opt`. To generate and install a Debian package: alien --scripts /opt/dell/mdstoragemanager/*.rpm dpkg -i smruntime* smclient* The scripts shipped by Dell assume that `/bin/sh` is a `bash` shell (or, more precisely, that the `source` command exists, which is [not POSIX](https://github.com/koalaman/shellcheck/wiki/SC3046)). So we need to patch that: sed -i '1s,#!/bin/sh,#!/bin/bash,' /opt/dell/mdstoragemanager/client/* Then, if the tool works, at all, a command like this should yield some output: SMcli 172.30.140.16 -c "show storageArray profile;" ... assuming there's a server on the other side, of course. ## Network topoloy The network at Cymru is split into different VLANs: Loading