User:Hashar

From Wikitech
Jump to: navigation, search

Nagios

Server management

/OpenStack summit 2014 Paris

Back in action since December 2010.


Running Dump test suite and investigating disk slowness (bug 41607)

Transfer file between servers:

By Jaime on https://gerrit.wikimedia.org/r/#/c/293743/

dd if=/dev/sda | pv | pigz -c | openssl aes-256-cbc -salt \ -k $pass | nc $backup-host 4444 tar cvf - /srv/sqldata | pv | pigz -c > /mnt/sqldata.tar.gz


Package building:

uscan --download-current-version --rename --verbose
debuild -us -uc --lintian-opts -i

Or gitbuildpackage:

Need a debian/gbp.conf file

mkdir ../{tarballs,build-area}; uscan --download-current-version --destdir ../tarballs; git-buildpackage

Puppet local hacking:

cd /tmp
git clone https://gerrit.wikimedia.org/r/p/operations/puppet.git
git clone https://gerrit.wikimedia.org/r/p/labs/private.git /tmp/puppet/private

Then:

puppet apply --noop \
 --modulepath /tmp/puppet/modules:/tmp/puppet/private/modules \
 --templatedir /tmp/puppet/templates \
 manifests/site.pp

Or --execute