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 ...



你可能感兴趣的:(oracle,xml)