星期四, 10月 15, 2015

Oracle VM Server + Manager All in one install

Repair grub:
root (hd0,1)
setup (hd0)

route add default gw 192.168.2.1 bond0

https://blogs.oracle.com/OTNGarage/entry/how_to_subscribe_to_the
http://www.pythian.com/blog/how-to-install-oracle-vm-manager-3-2-x-under-dom0-hosts/
http://www.pythian.com/blog/installing-oracle-vm-manager-3-0-3-under-dom0-host/

cp -rp /etc/redhat-release ~/redhat-release.orig
echo "Red Hat Enterprise Linux Server release 5.5 (Tikanga)" > /etc/redhat-release

vi  /etc/security/limits.conf
oracle           soft    nofile          4096
oracle           hard    nofile          63536
root soft    nofile          4096
root hard    nofile          63536

vi /boot/grub/grub.conf
dom0_mem -> 4096M

cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-el5.repo
yum clean all
yum install xz-devel
yum install zip
yum install bc

groupadd dba
useradd oracle -G dba
mkdir /u01
chown oracle:dba /u01

mount /dev/cdrom /mnt
cd /mnt
./runInstaller.sh -n

最後就可以連到OVM manager了:
https://192.168.2.137:7002/ovm/console


問題1:
在啟動VM發現此下訊息
stderr: Error: Acquire running lock failed: 512

解決方法 :
[root@ovm3 iso]# fuser /var/run/ovs-agent/vm-0004fb00000600004d7203b1f3e7ba5b.lock
[root@ovm3 iso]# rm /var/run/ovs-agent/vm-0004fb00000600004d7203b1f3e7ba5b.lock
rm: remove regular empty file `/var/run/ovs-agent/vm-0004fb00000600004d7203b1f3e7ba5b.lock'? y
[root@ovm3 iso]#

ref:
Error: Acquire running lock failed: 512 (Doc ID 1625095.1)

問題2:
在啟動VM發現此下訊息
failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?

解決方法:
Enable AMD-V or Intel Virtualization in your BIOS
&
disable it in Virtualbox (VM settings, system --> acceleration --> disable VT-x/AMD-V)


----

networking tutorial about OVM
http://www.oracle.com/technetwork/articles/servers-storage-admin/networking-ovm-x86-1873548.html

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...