EnglishFrenchSpanish

OnWorks favicon

hb_standby - Online in the Cloud

Run hb_standby in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hb_standby that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hb_standby - issues a failover request to the cluster manager

SYNOPSIS


hb_standby [all|foreign|local|failback]

DESCRIPTION


Warning
This command is deprecated. It is only suitable for legacy Heartbeat clusters without
Pacemaker enabled. In Pacemaker-enabled clusters, the crm(8) shell supports switching
individual nodes into standby mode, and replaces hb_standby.

/usr/share/heartbeat/hb_standby issues a request to the cluster to move resources from the
node where it is invoked, to the other node (if it is currently available). The meaning of
the options is relative. This manual assumes the following configuration to be present in
/etc/ha.d/haresources:

alice drbddisk::r0 Filesystem::/dev/drbd0::/local/groups::ext3 10.0.0.1 smb
bob drbddisk::r1 Filesystem::/dev/drbd1::/local/ldap::ext3 10.0.0.2 ldap

OPTIONS


The following options are supported:

local
Migrates any resources that the local node is the preferred node for.

When invoked on alice, Samba would be shut down, the IP address 10.0.0.1 would be
released, /local/groups would be unmounted, /dev/drbd0 would be placed into the
secondary role and bob would take all these services over.

When run on bob, OpenLDAP would shut down, 10.0.0.2 would be released, /local/ldap
would be unmounted, /dev/drbd1 would be placed into the Secondary role and alice would
take over all these services.

foreign|failback
Migrates any resources that the local node is not the preferred node for.

When run on alice, OpenLDAP would shut down, 10.0.0.2 would be released, /local/ldap
would be unmounted, /dev/drbd1 would be placed into the Secondary role and bob would
take over all these services.

When invoked on bob, Samba would be shut down, the IP address 10.0.0.1 would be
released, /local/groups would be unmounted, /dev/drbd0 would be placed into the
secondary role and alice would take all these services over.

all
Migrates all resources to the other node.

Invoking hb_standby without any options is identical to hb_standby all.

CAVEATS


hb_standby is only usable in R1-style configurations (i.e., those configured using the
haresources file).

Use hb_standby online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad