`
xw302
  • 浏览: 120654 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

OVM Manager

阅读更多
一、OVM 迁移IP/DNS/Gateway 遇到的问题

OVM-1004 XML-RPC Client Call Oracle VM Agent API 'check_sys_passwd' error: No response after waiting for 30000 milliseconds., please try again later

原因:hosts 配置有错误
解决办法:vi /etc/hosts



二、安装Oracle VM Manager
1.1软件准备(root user)
CDROM:
# mkdir mount-point
# mount /dev/cdrom mount-point

硬盘上ISO 文件:
# mkdir mount-point
(1)# mount -o loop OracleVM-Manager-version.iso mount-point

(2)创建文件指向安装文件:
# mkdir /OVMCD
# mount -o loop OracleVM-Manager-3.0.1.iso /OVMCD


1.2安装执行
# cd /OVMCD
# ./runInstaller.sh
详细安装步骤见附件文档。

2.2安装完后默认随server自启动,如果想去掉:
# chkconfig --del ovmm

2.3命令行方式启动停止Oracle VM Manager,root user:
/sbin/service ovmm [start|stop|status]

启动:
# /sbin/service ovmm start

停止:
# /sbin/service ovmm stop

状态:
# /sbin/service ovmm status

当然也可以通过控制台来做这些操作。

三、备份Oracle VM Manager
1.备份Oracle VM Manager configuration file:/u01/app/oracle/ovm-manager-3/.config

2.用root user,关闭Oracle VM Manager:
# /sbin/service ovmm stop

3.su或用oracle用户登录,执行如下命令:
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=XE
exp ovsschema/password grants=y compress=y file=/location/ovsbackup.dmp


默认schema名字是ovs.

四、还原 Oracle VM Manager
1.还原Oracle VM Manager OVS database schema.
$ sqlplus system/password
SQL> create user ovs identified by password;
SQL> grant connect, resource to ovs;
SQL> exit;


Import the OVS schema from the backup file:
# export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
# export PATH=$ORACLE_HOME/bin:$PATH
# export ORACLE_SID=XE
# imp ovsschema/password file=/location/ovsbackup.dmp full=y



2.如果需要重装Oracle VM Manager
runInstaller.sh --uuid uuid
在配置文件中看uuid.
例如:
# ./runInstaller.sh --uuid 0004FB000000100002CB7F2DFFA8D8

3.如果不需要重装Oracle VM Manager, 重启Oracle VM Manager:
# /sbin/service ovmm stop
# /sbin/service ovmm start

五、卸载 Oracle VM Manager
# ./runInstaller.sh

Oracle VM Manager Release 3.0.1 Installer
 
Oracle VM Manager Installer log file:
  /tmp/ovmm-installer.selfextract_id/install-date.log
 
 
Please select an installation type:
   1: Simple
   2: Standard
   3: Uninstall
   4: Help
 
   Select Number (1-4): 3
 
The uninstallation process starts, and the following is displayed:

Uninstall Oracle VM Manager
 
Product component : Oracle 11g XE in '/u01/app/oracle/product'
Oracle 11g XE is installed ...
Uninstall options
   1: Uninstall Oracle 11g XE
   2: Skip uninstall of Oracle 11g XE

   Select Number (1-2): 1
Removing Oracle 11g XE installation ... 

Product component : Java in '/u01/app/oracle/java/'
 
Java is installed ...
 
Uninstall options
   1: Uninstall Java
   2: Skip uninstall of Java
 
   Select Number (1-2): 1
Removing Java installation ...
 
Product component : Oracle VM Manager 3.0 in '/u01/app/oracle/ovm-manager-3/'
 
Oracle VM 3.0 Manager is installed ...
 
Uninstall options
   1: Uninstall Oracle VM 3.0 Manager
   2: Skip uninstall of Oracle VM 3.0 Manager
 
   Select Number (1-2): 1
Removing Oracle VM 3.0 Manager installation ...
 
Product component : Oracle WebLogic Server in '/u01/app/oracle/Middleware/'
 
Oracle WebLogic Server is installed
 
Uninstall options
   1: Uninstall Oracle WebLogic Server
   2: Skip uninstall of Oracle WebLogic Server
 
   Select Number (1-2): 1
Removing Oracle WebLogic Server installation ...
 
Uninstall completed ...



分享到:
评论
2 楼 xw302 2012-05-10  
这个是免费的,应该不会被封,你可以换个时间再试试
1 楼 dalinhuang 2012-05-09  
您好,能否共享一下OracleVM-Manager-3.0.1.iso, 现在从Oracle网站不能下载这个了,中国的IP被封了。谢谢

相关推荐

Global site tag (gtag.js) - Google Analytics