Previous Topic: Grid Controller and Grid Node TroubleshootingNext Topic: Brownbag Session - 2012-04-05 - Backbone Fabric Controller 3.1: BFC/AppLogic Interaction


Brownbag Session - 2012-02-23 - Backbone Fabric Controller 3.1: Install, BFC Users, and Scripting

Brownbag Session - 2012-02-23 - Backbone Fabric Controller 3.1: Install, BFC Users, and Scripting

Module Objectives

After completing this module, you will be able to:

Why you need to know:

Agenda
  1. BFC-generated users
  2. BFC installation, upgrade and recovery
  3. BFC scripting
1. BFC-generated Users

The BFC installer creates two users that the BFC uses in performing its operations

bfcadmin

Think of the BFC as an appliance from the standpoint of these two users. UIDs, home directories, ssh keys all should not be modified.

The BFC installer also creates a bfc group

bfc group

2. BFC Installation, Upgrade and Recovery

The BFC installer inspects and updates CentOS and then installs the BFC

CentOS 5.5 installation prerequisites
BFC Distribution Contents
bfcext.iso
The BFC installation flow

Previous installation is uninstalled

bfcext.iso is mounted (on a temporary directory)

Package dependencies are installed via yum

BFC packages are installed via rpm (bfc-utilityimage, bfc, bfc-lang-pack, bfc-doc)

Python setup program is invoked

The BFC can be recovered from a replica database

Recovery from an existing replica

Machine being installed must have the same "identity" as the original from which the replica was made:

Replica directory and passphrase must be specified

Setup and configuration identical to initial install (package install via yum, rpm install, service configuration, utility image setup, etc.)

Download directory must be populated

If an upgrade fails, replica directory can be used to re-install previous BFC version

Prior to the upgrade, make sure replication is on. If replication is not on, turn it on (even if it is replicating to a local directory)

If the upgrade fails, and the BFC is not properly recovered (upgrade should attempt to recover back to the previous version on failure, but if it doesn't...)

If the mnesia db is corrupt such that the BFC will not start, a last-resort option is the db_restore script

db_restore script

BFC Upgrade from 3.0 to 3.1 is supported (and will be supported from 3.0/3.1 to 3.5)

BFC Upgrade:

3. BFC Scripting

BFC Scripts

Both shell script and "escripts" are located in/opt/bfc/bin

Summary

This module showed you: