LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Has anyone here used REAR (https://www.linuxquestions.org/questions/linux-general-1/has-anyone-here-used-rear-4175557799/)

noahshines 11-02-2015 01:53 PM

Has anyone here used REAR
 
I am trying to configure Relax and Recover on OEL 5.5, however its a guest X_86 OS on top of a I_636 arch Oracle VM server 2.2.2. need help

TB0ne 11-02-2015 03:31 PM

Quote:

Originally Posted by noahshines (Post 5443740)
I am trying to configure Relax and Recover on OEL 5.5, however its a guest X_86 OS on top of a I_636 arch Oracle VM server 2.2.2. need help

We'll be glad to help you...so why don't you tell us what actual PROBLEM you're having???

Otherwise, the configuration guide and their documentation would be a good place to start:
http://relax-and-recover.org/documen...etting-started

syg00 11-02-2015 06:46 PM

I tested REAR a few months back. Liked the concept, but the implementation and doco is lacking.
I was never able to get a valid restore on the CentOS test system, so I abandoned the project. Another poster here on LQ had also mentioned difficulty with the restore after I suggested REAR as an option - hence I decided to test it myself.

As mentioned by TBone, describe what issues you are having.

noahshines 11-03-2015 03:16 PM

@TB0ne..Apologize for the vagueness of the question, I 've didn't know where to start.

I am working on OVM hypervisor running I636 arch OVM server 2.2.2. On top of that i had installed OEL 5.5 X_86 OS. The backup solution is EMC networker, I have input appropriate "nsr" agent in rear config. i am able to run and generate rear recovery iso file. However when i try to upload the iso file onto Oracle VM manager 2.2.0, I realize that the guest is paravirtualized. By the below o/p i understand its paravirtulized.
When i select paravirtulized option, its asking me for an NFS path from where it would load the ISO, I did that and isin't working. I was told that the ISO file has to be unpacked, did that too and still no use. I am sure i am going wrong somewhere.

REAR works well on standalone physical machines, but this is an OVM not sure if REAR is built for a bare-metal-restore for Oracle VM.

[root@jxoravovmtst tmp]# rear dump
Relax-and-Recover 1.17.2 / Git
Using log file: /rear-1.17.2/var/log/rear/rear-jxoravovmtst.log.lockless
Dumping out configuration and system information
This is a 'Linux-x86_64' system, compatible with 'Linux-i386'.
System definition:
ARCH = Linux-i386
OS = GNU/Linux
OS_MASTER_VENDOR =
OS_MASTER_VERSION =
OS_MASTER_VENDOR_ARCH =
OS_MASTER_VENDOR_VERSION =
OS_MASTER_VENDOR_VERSION_ARCH =
OS_VENDOR = EnterpriseEnterpriseServer
OS_VERSION = 5.5
OS_VENDOR_ARCH = EnterpriseEnterpriseServer/i386
OS_VENDOR_VERSION = EnterpriseEnterpriseServer/5.5
OS_VENDOR_VERSION_ARCH = EnterpriseEnterpriseServer/5.5/i386
Configuration tree:
Linux-i386.conf : OK
GNU/Linux.conf : OK
EnterpriseEnterpriseServer.conf : missing/empty
EnterpriseEnterpriseServer/i386.conf : missing/empty
EnterpriseEnterpriseServer/5.5.conf : missing/empty
EnterpriseEnterpriseServer/5.5/i386.conf : missing/empty
site.conf : missing/empty
local.conf : OK
Backup with NSR
NSR_DEFAULT_POOL_NAME = Default
NSR_RETENTION_TIME =
NSR_ROOT_DIR = /nsr
BACKUP_INTEGRITY_CHECK =
BACKUP_MOUNTCMD =
BACKUP_OPTIONS =
BACKUP_RSYNC_OPTIONS = --sparse --archive --hard-links --numeric-ids --stats
BACKUP_SELINUX_DISABLE = 1
BACKUP_TYPE =
BACKUP_UMOUNTCMD =
BACKUP_URL =
Output to ISO
ISO_DIR = /rear-1.17.2/var/lib/rear/output
ISO_FILES =
ISO_IMAGES =
ISO_ISOLINUX_BIN =
ISO_MAX_SIZE =
ISO_MKISOFS_BIN = /usr/bin/mkisofs
ISO_PREFIX = rear-jxoravovmtst
ISO_VOLID = RELAXRECOVER
RESULT_MAILTO =

/rear-1.17.2/usr/share/rear/lib/validated/EnterpriseEnterpriseServer/5.5/i386.txt
Your system is not yet validated. Please carefully check all functions
and create a validation record with 'rear validate'. This will help others
to know about the validation status of Relax-and-Recover on this system.
You have new mail in /var/spool/mail/root

TB0ne 11-03-2015 06:20 PM

Quote:

Originally Posted by noahshines (Post 5444225)
@TB0ne..Apologize for the vagueness of the question, I 've didn't know where to start.

I am working on OVM hypervisor running I636 arch OVM server 2.2.2. On top of that i had installed OEL 5.5 X_86 OS. The backup solution is EMC networker, I have input appropriate "nsr" agent in rear config. i am able to run and generate rear recovery iso file. However when i try to upload the iso file onto Oracle VM manager 2.2.0, I realize that the guest is paravirtualized. By the below o/p i understand its paravirtulized.
When i select paravirtulized option, its asking me for an NFS path from where it would load the ISO, I did that and isin't working. I was told that the ISO file has to be unpacked, did that too and still no use. I am sure i am going wrong somewhere.

REAR works well on standalone physical machines, but this is an OVM not sure if REAR is built for a bare-metal-restore for Oracle VM.

[root@jxoravovmtst tmp]# rear dump
Relax-and-Recover 1.17.2 / Git
Using log file: /rear-1.17.2/var/log/rear/rear-jxoravovmtst.log.lockless
Dumping out configuration and system information
This is a 'Linux-x86_64' system, compatible with 'Linux-i386'.
System definition:
ARCH = Linux-i386
OS = GNU/Linux
OS_MASTER_VENDOR =
OS_MASTER_VERSION =
OS_MASTER_VENDOR_ARCH =
OS_MASTER_VENDOR_VERSION =
OS_MASTER_VENDOR_VERSION_ARCH =
OS_VENDOR = EnterpriseEnterpriseServer
OS_VERSION = 5.5
OS_VENDOR_ARCH = EnterpriseEnterpriseServer/i386
OS_VENDOR_VERSION = EnterpriseEnterpriseServer/5.5
OS_VENDOR_VERSION_ARCH = EnterpriseEnterpriseServer/5.5/i386
Configuration tree:
Linux-i386.conf : OK
GNU/Linux.conf : OK
EnterpriseEnterpriseServer.conf : missing/empty
EnterpriseEnterpriseServer/i386.conf : missing/empty
EnterpriseEnterpriseServer/5.5.conf : missing/empty
EnterpriseEnterpriseServer/5.5/i386.conf : missing/empty
site.conf : missing/empty
local.conf : OK
Backup with NSR
NSR_DEFAULT_POOL_NAME = Default
NSR_RETENTION_TIME =
NSR_ROOT_DIR = /nsr
BACKUP_INTEGRITY_CHECK =
BACKUP_MOUNTCMD =
BACKUP_OPTIONS =
BACKUP_RSYNC_OPTIONS = --sparse --archive --hard-links --numeric-ids --stats
BACKUP_SELINUX_DISABLE = 1
BACKUP_TYPE =
BACKUP_UMOUNTCMD =
BACKUP_URL =
Output to ISO
ISO_DIR = /rear-1.17.2/var/lib/rear/output
ISO_FILES =
ISO_IMAGES =
ISO_ISOLINUX_BIN =
ISO_MAX_SIZE =
ISO_MKISOFS_BIN = /usr/bin/mkisofs
ISO_PREFIX = rear-jxoravovmtst
ISO_VOLID = RELAXRECOVER
RESULT_MAILTO =

/rear-1.17.2/usr/share/rear/lib/validated/EnterpriseEnterpriseServer/5.5/i386.txt
Your system is not yet validated. Please carefully check all functions
and create a validation record with 'rear validate'. This will help others
to know about the validation status of Relax-and-Recover on this system.
You have new mail in /var/spool/mail/root

No worries...but since you've got vm servers, back one up, and spin up a new vm to see what happens.


All times are GMT -5. The time now is 02:16 AM.