This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
oraclevm:ovmm_install [2017/01/18 18:08] frank created |
oraclevm:ovmm_install [2017/01/18 18:12] (current) frank |
||
---|---|---|---|
Line 1: | Line 1: | ||
=== OVM 3.2/3.3 Manager Installation === | === OVM 3.2/3.3 Manager Installation === | ||
- | * Install required packages | + | * Install required packages |
- | {{{ | + | <code> |
Required packages for OVMM | Required packages for OVMM | ||
# yum install unzip | # yum install unzip | ||
Line 14: | Line 14: | ||
for 3.3 | for 3.3 | ||
# rpm -i <ISO mount point>/ovmcore-consle-<version>.el6.noarch.rpm | # rpm -i <ISO mount point>/ovmcore-consle-<version>.el6.noarch.rpm | ||
- | + | </code> | |
- | }}} | + | * Other configuration |
- | * Other configuration | + | * mount options for MySQL optimization |
- | * mount options for MySQL optimization | + | <code> |
- | {{{ | + | |
rw,noatime,data=writeback,barrier=0,nobh | rw,noatime,data=writeback,barrier=0,nobh | ||
# if the mysql will be installed on root partition, to enable data writeback on root partition: | # if the mysql will be installed on root partition, to enable data writeback on root partition: | ||
# tune2fs -o journal_data_writeback /dev/xvda2 #root partition | # tune2fs -o journal_data_writeback /dev/xvda2 #root partition | ||
- | }}} | + | </code> |
- | * Enable ntpd | + | * Enable ntpd |
- | * Run createOracle.sh | + | * Run createOracle.sh |
- | {{{ | + | <code> |
# ./createOracle.sh | # ./createOracle.sh | ||
Adding group 'oinstall' with gid '54321' ... | Adding group 'oinstall' with gid '54321' ... | ||
Line 54: | Line 53: | ||
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] | iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] | ||
Rules added. | Rules added. | ||
- | }}} | + | </code> |
- | * Run runInstaller | + | * Run runInstaller |
- | {{{ | + | <code> |
# ./runInstaller.sh | # ./runInstaller.sh | ||
Line 201: | Line 199: | ||
Please remove configuration file /tmp/ovm_configJghj07. | Please remove configuration file /tmp/ovm_configJghj07. | ||
- | + | </code> | |
- | + | * Check configuration files | |
- | }}} | + | <code> |
- | * Check configuration files | + | |
- | {{{ | + | |
# cat /etc/sysconfig/ovmm | # cat /etc/sysconfig/ovmm | ||
JVM_MEMORY_MAX=4096m | JVM_MEMORY_MAX=4096m | ||
Line 227: | Line 223: | ||
BUILDID=3.3.1.465 | BUILDID=3.3.1.465 | ||
- | }}} | + | </code> |
=== Upgrade/backup/restore === | === Upgrade/backup/restore === | ||
- | + | * Backup/Restore for OVMM 3.3 | |
- | * Backup/Restore for OVMM 3.3 | + | <code> |
- | {{{ | + | |
# service ovmcli stop; service ovmm stop | # service ovmcli stop; service ovmm stop | ||
# /u01/app/oracle/ovm-manager-3/bin/ovm_upgrade.sh --deletedb --dbhost=localhost --dbport=45900 --dbsid=ovs --dbuser=ovs --dbpass=Welcome1 | # /u01/app/oracle/ovm-manager-3/bin/ovm_upgrade.sh --deletedb --dbhost=localhost --dbport=45900 --dbsid=ovs --dbuser=ovs --dbpass=Welcome1 | ||
- | }}} | + | </code> |