FreeNAS backup solution using rsync and virtualbox

I used the FreeNAS as file server  for about 50 users and the freenas works stable as a rock from 2008 till now,which was based on a hp desktop dc5700 with 1G ram and 140G disk volume.However,with the data increasing and time went by, the stability was the most important stuff I need to consider about,so I made the backup solution to work as primary/standby to shorten the MTTR which use RSYNC,vm tech..
because I only have few days and limited resources, so maybe the solution seems a little rough…anyway,it’s ok,just change the ip will finish the taking over and the bussiness is not so real-time.

 

open virtualization format

ovf是各个虚拟机厂家之间的一个交互标准,例如vmware workstation–>esx—>virtualbox等等。如果你想让vmware workstation中的虚拟机能够正确在esx或者ovf中run起来,可以参考使用ovftool将虚拟机文件转换成ovf格式的。
ovftool.exe “$path/source.vmx” “$path/target.ovf”
然后可以将通用的ovf导入目标端。

esxi server to esxi server

客户最近有需求,要将一个环境中的esxi虚拟机迁移至另外一套esxi server中,因为有停机的时间,于是建议客户使用最笨的方法,利用vsphere client的工具,download和upload功能将vm的文件迁移至新的esxi server上,再浏览存储的时候,点击vmx配置文件,“添加到清单”中。方法确实很笨。。。囧。不过倒是解决了客户的需求。我想esxi应该有迁移的更好的、现成的方法,但肯定需要额外的license

oracle vm manager


oracle vm server is great stuff,vm manager act as interface to manage the vm server, here comes the memo of installation of vm manager,just check it out

[root@oraclevm OracleVM-Manager-2.2.0]# sh ./runInstaller.sh
Welcome to Oracle VM Manager 2.2

Please enter the choice: [1|2|3]
1. Install Oracle VM Manager
2. Uninstall Oracle VM Manager
3. Upgrade Oracle VM Manager
1

Starting Oracle VM Manager 2.2 installation …

Do you want to install a new database or use an existing one? [1|2]
1. Install a new Oracle XE database on localhost
2. Use an existing Oracle database in my network
1

Prepare to install the Oracle XE database …
Checking the supported platforms … Done

Checking the prerequisite packages are installed … Done

Checking the available disk space … Done

Installing the oracle-xe-univ package (rpm) now …
Done

Oracle Database 10g Express Edition Configuration
————————————————-
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener…Done
Configuring Database…

Starting Oracle Database 10g Express Edition Instance…Done
Installation Completed Successfully.
To access the Database Home Page go to “http://127.0.0.1:8080/apex”

Checking the availability of the database …

Set default database schema to ‘OVS’.
Please enter the password for account ‘OVS’:
Confirm the password:

Creating the Oracle VM Manager database schema …Done

Installing the ovs-manager package (rpm) …
Done

Installing the oc4j package (rpm) …

Please enter the password for account ‘oc4jadmin’:
Confirm the password:

Starting OC4J … Done.
To access the OC4J Home Page and change the password go to http://127.0.0.1:8888/em

Deploying Oracle VM Manager application to OC4J container.
Creating connection pool … Done
Creating data source … Done
Deploying application help … Done
Deploying application …

Please enter the keystore password for the Web Service:
Confirm the password:

Setting keystore password for Web Service … Done
Do you want to use HTTPS access for Oracle VM Manager (Y|n)?y

Configuring OC4J to use HTTPS … Done
Stopping OC4J …
Starting OC4J … Done

Please enter the password for the default account ‘admin’:
Confirm the password:

Configuring SMTP server …
Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): 192.168.32.11
Mail server checking, may need some time, please wait …
Mail server ‘192.168.32.11’ check failed, enter Y to change the name and retry or N to keep hostname and continue(Y|n)?y
Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): 192.168.32.11:25
Mail server checking, may need some time, please wait …
Mail server ‘192.168.32.11:25’ check failed, enter Y to change the name and retry or N to keep hostname and continue(Y|n)?n
Setting the SMTP server to 192.168.32.11:25 …
Done

Please enter an e-mail address for account ‘admin’: xxxxx@xxxxx.com
Confirm the e-mail address : xxxxx@xxxx.com
Unable to send an email to ‘xxxxx@xxxx.com’, would you like to change the email address(Y|n)?n
Updating e-mail address for account ‘admin’ to ‘xxxx@xxxx.com’ …
Done

The console feature is not enabled by default.
For detailed setup, refer to Oracle VM Manager User’s Guide

Installation of Oracle VM Manager completed successfully.

To access the Oracle VM Manager 2.2 home page go to:
https://127.0.0.1:4443/OVS

To access the Oracle VM Manager web services WSDL page go to:
https://127.0.0.1:4443/OVSWS/LifecycleService.wsdl
https://127.0.0.1:4443/OVSWS/ResourceService.wsdl
https://127.0.0.1:4443/OVSWS/PluginService.wsdl
https://127.0.0.1:4443/OVSWS/ServerPoolService.wsdl
https://127.0.0.1:4443/OVSWS/VirtualMachineService.wsdl
https://127.0.0.1:4443/OVSWS/AdminService.wsdl

To access the Oracle VM Manager help page go to:
https://127.0.0.1:4443/help/help