Go to primary content
Oracle® Communications OC-CNE Installation Guide
Release 1.0
F16979-01
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Install Backup Bastion Host

Introduction

References

This procedure details the steps necessary to install the Backup Management VM in the Storage Host (RMS1) and backing up the data from the Management VM in Storage host (RMS2) in to Backup Management VM in Storage host (RMS1). After the first Storage Host is reinstalled we will use below procedure to create Backup Management VM in this Storage Host. Management VM in first Storage host (RMS1) is backup for the Management VM in second Storage host (RMS2).

Prerequisites
  1. Management VM is present in Storage Host(RMS2).
  2. Storage Host(RMS1) is reinstalled using the os-install container.
  3. First and Second Storage Hosts are defined in OCCNE Inventory File Template.
  4. Host names and IP Address, network information assigned to this Management VM is captured in the OCCNE 1.0 Installation PreFlight checklist

Expectations

  1. Management VM in first Storage Host is a backup for Management VM in Second Storage Host.
  2. All the required config files and data configured in the Backup Management VM in first Storage Host(RMS1) is copied from the Management VM in second Storage Host(RMS2).

Table 3-12 Procedure to Install Backup Bastion Host

Step # Procedure Description
1.

Create the Backup Management VM in Storage Host (RMS1)
  1. Login to the Storage Host(RMS1).
  2. Make sure the "/tmp/bastion_host.ks" kickstart file exists in the Storage Host.
  3. Follow the procedure OCCNE Installation of the Bastion Host for creating the Management VM.
  4. Follow the procedure OCCNE Configuration of the Bastion Host for configuring the Management VM.
2.

Backup the Cluster directory in Backup Management VM

The Backup Management VM is created to provide HA, i.e. if the Management VM is failed and not available, then backup Management VM is used. After Backup Management VM is created in a first Storage Host(RMS1), copy all the configs, SSH keys from the Management VM(Second Storage Host RMS2) to Backup Management VM(first Storage Host RMS1).

  1. Copy "/var/occne/" directory from the Management VM (Second Storage Host) to Backup Management VM.
    1. Login to Management VM in Second Storage Host.
    2. Copy the "/var/occne/<cluster_name>" directory in to Backup Management VM in first Storage Host, This directory contains all the required config files, hosts.ini inventory file, SSH keys, Artifacts directory, MySQL software, Oracle Linux ISO and so on.
    $ sudo su
    $ cd /var/occne
    $ scp -r -i ./<cluster_name>/.ssh/occne_id_rsa /var/occne/<cluster_name> admusr@10.75.216.XXX:/var/occne/

<cluster_name> is the directory created in /var/occne for installing the OS in all the host servers.