Skip to content

Rage Against the Shell

Linux tips and other things…

  • Home
  • Contact
  • Privacy Policy

Category: Pacemaker + Corosync

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

March 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jan    

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.