iscsiadm -m node --targetname "iqn.1986-03.com.hp:storage.msa2012i.0834d5ecda.a" --rescan
+ on dijkstra: add aliases to the wwids (show topology)
- + on dijkstra: /etc/init.d/multipath-tools reload
+ + on dijkstra: service multipath-tools reload
}}}
== via telnet interface ==
then:
reload multipath-tools on gnt-master (normaly bm-bl1):
- /etc/init.d/multipath-tools reload
+ service multipath-tools reload
add the WWNs to dsa-puppet/modules/multipath/files/bm-multipath.conf and define the alias and commit that file to git.
then:
* stop and start iscsi:
{{{
- /etc/init.d/open-iscsi stop &&
+ service open-iscsi stop &&
sleep 3 &&
- (cd / && env -i /etc/init.d/open-iscsi start)
+ service open-iscsi start)
}}}
* not sure if this is necessary again:
* for the wwid thing in there create an entry in multipath.conf with a proper name, then reload multipathd
{{{
vi /etc/multipath.conf
- /etc/init.d/multipath-tools reload
+ service multipath-tools reload
echo show topology | multipathd -k
ls -l /dev/mapper
}}}
s/^group:\[[:space:]]\+compat$/group: db compat/;
s/^shadow:\[[:space:]]\+compat$/shadow: compat db/' \
/etc/nsswitch.conf
- (cd / && env -i /etc/init.d/ssh restart)
+ (service ssh restart)
}}}
* on the host, run ud-replicate
: ::client:: && me=$(hostname -f) && [ "$me" != "${me%debian.org}" ] && apt-get update &&
apt-get install -y --no-install-recommends puppet libaugeas-ruby1.8 augeas-lenses lsb-release &&
- /etc/init.d/puppet stop &&
+ service puppet stop &&
(puppet agent -t || true ) &&
cd /var/lib/puppet/ssl/certificate_requests &&
echo sha256sum output: && echo &&