After a release or during a simple hot fix, you might want to modify the version of your maven-based service
This is the trick:
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=1.42.0.1-SNAPSHOT
After a release or during a simple hot fix, you might want to modify the version of your maven-based service
This is the trick:
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=1.42.0.1-SNAPSHOT
watch -n 1 -d "curl -sS localhost:9200/_cat/recovery | grep -v done | sort"
curl -sS localhost:2013/_cat/recovery | grep -v done | sort
chat_events_2018_10 0 1080986 replica index svpr-els219 svpr-els222 n/a n/a 99 99.0% 9245443931 99.4% 99 9245443931 0 100.0% 0
chat_events_2018_10 12 880628 replica index svpr-els219 svpr-els225 n/a n/a 118 80.5% 9507834833 50.9% 118 9507834833 0 100.0% 0
chat_events_2018_10 4 1080998 replica index svpr-els217 svpr-els222 n/a n/a 120 98.3% 9212348531 84.1% 120 9212348531 0 0.0% 549128
chat_events_2018_10 6 48448 gateway translog avpr-els217 avpr-els217 n/a n/a 0 100.0% 0 100.0% 120 9111543410 314413 -1.0% -1
chat_events_2018_10 7 37318 gateway translog svpr-els239 svpr-els239 n/a n/a 0 100.0% 0 100.0% 119 9355121451 215907 -1.0% -1
chat_events_2018_11 15 246460 replica index svpr-els221 svpr-els230 n/a n/a 94 92.6% 7473306012 59.9% 94 7473306012 0 0.0% 207497
chat_events_2018_12 17 561707 replica index svpr-els217 svpr-els225 n/a n/a 78 83.3% 5985100320 0.1% 78 5985100320 0 100.0% 0
chat_events_2019_01 10 403900 replica index svpr-els222 svpr-els230 n/a n/a 162 68.5% 5824180424 0.3% 162 5824180424 0 0.0% 166305
chat_events_2019_02 1 377381 replica index svpr-els222 svpr-els228 n/a n/a 154 72.1% 5509742229 0.2% 154 5509742229 0 0.0% 122191
chat_events_2019_02 16 561676 replica index svpr-els220 svpr-els245 n/a n/a 150 95.3% 4684545993 80.1% 150 4684545993 0 0.0% 122191
chat_events_2019_03 3 936237 replica index svpr-els217 svpr-els242 n/a n/a 158 75.9% 5212773307 7.8% 158 5212773307 0 0.0% 1527414
lpnova --clone avor-wto134 -H avor-wto -Q 2 -D virginia -U fawzea
lpnova --clone avor-wto134 -H avor-wto109 -H avor-wto122 -D virginia -U fawzea --load
/tmp/mypuppet/
./modules./modules/test./modules/test/templates./modules/test/templates/test.erb./modules/test/manifests./modules/test/manifests/init.pp
./test.pp
puppet apply --modulepath /tmp/mypuppet/modules . test.pp
node qtvr-wto134 {class { 'test::config': }
}
class test::config ($routingRulesList = ['zzffline1', 'zzffline2', 'zzffline3'],) {
file { "/home/michael_puppet_sandbox/mypuppet/locations.include":ensure => present,content => template("test/test.erb"),}
}
<% @routingRulesList.each do |routingRule| -%><%=routingRule%><% end %>
puppet apply --modulepath /tmp/mypuppet/modules . test.pp
zzffline1zzffline2zzffline3
yum install socat
socat TCP4-LISTEN:2003,fork TCP4:app.graphite.lpdomain.com:2003
echo Centralized.service.sandbox.test3 1234 `date +%s --date='30 minutes ago'` | nc -v my-proxy-server 2003
mkfifo backpipe
nc -k -l 2003 <backpipe | nc app.graphite.lpdomain.com 2003 1>backpipe
rpmmay be waiting for a lock to be freed.First, runps -ef | grep rpmto see if you have any RPM commands running. If you do, kill them usingkill -9.Next, delete any leftover locksrm -rf /var/lib/rpm/__db.0*
vi /etc/exports /home/mich/SHARED_FOLDER 192.168.1.0/24(rw,sync,no_root_squash,no_all_squash)where the 192.168.1.0/24 is the IP range of the servers authorized to access this mounted folders
exportfs -a
/etc/init.d/nfs start
cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
depmod -a
modprobe acpiphp
if [ -f /etc/rc.firstboot ]
then
/etc/rc.firstboot | tee /var/log/firstboot.log
cp /etc/rc.firstboot /usr/local/etc/
rm /etc/rc.firstboot
reboot
fi
touch /var/lock/subsys/local
/etc/init.d/nfs start
vi /etc/fstab
192.168.20.11:/home/mich/SHARED_FOLDER/ /nfs/shared/ nfs rsize=8192,wsize=8192,timeo=14,intr
mount -a
q<letter><commands>q
<number>@<letter>
qd | start recording to register d |
... | your complex series of commands |
q | stop recording |
@d | execute your macro |
@@ | execute your macro again |
echo server tlvntp1.tlv.lpnet.com > /etc/ntp.conf
ntpdate -u the-second-host-server
net time \\tlvdc1 /set /ywhere, tlvdc1 is the host name of yoru NTP server