Skip to content

Rage Against the Shell

Linux tips and other things…

  • Home
  • Contact
  • Privacy Policy

Month: January 2016

Prevent disconnections on SSH client

Posted on January 31, 2016 - September 18, 2016 by Mr. Reboot

To prevent disconnections on client side in your SSH terminal you can add this parameter to the configuration file /etc/ssh/ssh_config:

ServerAliveInterval 100

Basically this option will send a null packet to the remote host every 100 seconds and will keep alive the connection.

Posted in SSHLeave a comment

Fragment table on cisco 8xx

Posted on January 31, 2016 - September 18, 2016 by Mr. Reboot

If you get this message on logs:

VFR-4-FRAG_TABLE_OVERFLOW: Dialer0: the fragment table has reached its maximum threshold 16

usually indicates than you are receiving a high number of fragmented packets. It may happens using p2p applications like torrent or emule, under an fragmentation packet attack or another causes.

You can increase this value and check if warnings disappear:

router(config-if)#ip virtual-reassembly max-reassemblies 64
Posted in CiscoLeave a comment

Delete entire CIB on pacemaker

Posted on January 20, 2016 - September 18, 2016 by Mr. Reboot

On occasion it may be useful, erase the entire CIB on pacemaker, for example if you have made a lot of changes, or tested several configurations with errors. Deleting entire CIB data can be a good option for starting again from the scratch.

The command is:

~ $ cibadmin -E --force

Be careful because this command will delete all cluster data, it’s recommended make a backup of the cluster configuration before:

~ $ crm configure show > cib.backup
Posted in Pacemaker + CorosyncLeave a comment

Stopping clone resources individually

Posted on January 20, 2016 - September 18, 2016 by Mr. Reboot

In pacemaker you can stop a clone resource on one node using the command:

~ $ crm_resource --ban --resource resource1 --host server01

This bans the resource at the specified node, to revert it:

~ $ crm_resource --ban --resource resource1 --host server01 --clear

So you can make system updates, managements or any maintenance task.

Posted in Pacemaker + CorosyncLeave a comment

Search

Calendar

January 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Dec   Apr »

Categories

  • Apache
  • Cisco
  • Command line
  • Distros
  • Dovecot
  • File systems
  • Gadgets
  • GlusterFS
  • MySQL
  • Nginx
  • NTP
  • Opendkim
  • Pacemaker + Corosync
  • Postfix
  • Raspberrypi
  • SSH
  • SSL
  • Varnish

RSS RSS

  • Using qrencode January 16, 2022
  • Compile varnish module vmod_vsthrottle April 22, 2020
  • SSH vpn with sshuttle April 9, 2020
  • Disable swap in systemd December 16, 2019
  • Getting the parent process pid October 12, 2018
Proudly powered by WordPress | Theme: micro, developed by DevriX.