Problem
How to perform a full system backup for emergency recovery purposes of SCO OpenServer 5.0.7V running on VMware ESX/ESXi using the VMware appliance method.
Solution
This article in divided into two sections:
1) Creation of the OSR507V Applianceand2) Importing the applianceThis procedure was originally produced for the ESX* 3.5 range but it is also applicable to later ESX* versions.
Note Glossary:
--------------
VM = Virtual Machine
VI = VMware Virtual Infrastructure
VC = VMware Virtual Centre1) Creation of the Appliance:
-----------------------------
Once you have imported your SCO OpenServer5.0.7V and custom
configured it to your needs with users, printers and
application ...etc, you are now ready to perform a full system
backup using the VMware appliance method before going into
production.You need to perform the following steps:
1- As root, shutdown your SCO OpenServer 5.0.7V2- From the VMware VI/VC client, make sure that under the OpenServer 5.0.7V VM Settings, the CD/DVD-ROM and Floppy Drive 1 are not mapped to any type of media image (iso / flp).
It should either be configured as "Client Device" or "Host Device" in the Device Type section.
3- From the VI/VC main window, highlight the OpenServer 5.0.7V VM.
4- From the VI/VC main window, at the top, select: File --> Virtual Appliance --> Export "Export Virtual appliance" window will pop up.
5- Under
Name: Give it a name like "507v-system-backup"
Directory: Choose the location where you want the
appliance to be created on your Desktop
which is running the VI/VC client.
Description: (Optional) Give some information about
this applianceThen click OKA "Export" window will pop up showing you the progress of the export.
Once finished, you will get a success message.
6- Have a look at the directory on your desktop where the appliance was exported. you will see two files:
ovf (Open Virtualization Format)
vmdk (VMware virtual disk file)Keep those file in a safe place (burn to a CD/DVD, Network storage...etc)
2) Importing (Restoring) the Appliance:
---------------------------------------
In the case your SCO OpenServer 5.0.7V VM is damaged beyond repair
or your OSR5.0.7V itself is panicing and is not usable for
production. You need to restore your production OpenServer5.0.7V
appliance.Please perform the following steps:1- Make sure you have enough disk space on your VMware ESX/ESXi server datastore.
2- From the VI/VC main window, at the top, select: File --> Virtual Appliance --> Import "Import Virtual appliance wizard" window will pop up.
3- Depending where you have placed the appliance, you either choose:
"Import from a file", appliance located on your Desktop. "Import from a URL", appliance located on a web server.
In this example, we choose from a file.
4- Browse the location of the appliance. The wizard will looking for the "ovf" file.
Click NextThe wizard will then display information about this appliance.
Click Next5- At the next wizard window, enter the name of the imported appliance.
This name will be created as a directory under /vmfs/volumes/<storage name>
6- Next wizard screen, choose which VMware ESX/ESXi Datastore this appliance going to be imported to.
Click NextThe wizard will then show a summary of the settings of the virtual appliance.
7- Click Finish to start of the importing of the appliance.
A "Import" window will pop up showing you the progress of the import.
Once finished, you will get a success message.
8- Once imported, the Virtual CD/DVD-ROM and Floppy Drive 1 will default to "Client Device".
If you need to change that to something else, you need to edit the imported OSR507V VM setting and change the "Device Type" for the CD/DVD-ROM & Floppy Drive 1.
9- From the VI/VC client, power on the imported appliance and you will have your SCO OpenServer 5.0.7V booting up.
Your production OpenServer 5.0.7V will be in a state the time you created the appliance.