1、下载oralce vm组件,需要外国的邮件地址。比如,国内的不行,×××也不行。
2、如果用nfs做共享存储,一定要给足权限。
3、安装时,建议使用production(产品级安装)。如果选用“Demo”,会自动安装oracle xe 11;而选择“Production”安装,则需要单独安装oracle数据库(标准版或者企业版)。
4、用浏览器登录管理 oracle vm manager时,在控制服务器上找不到相关报错信息,这个折腾我好一阵子。请留意 VM server,操作产生的日志在 /var/log目录,它们有:ovs-agent.log,ovmwatch.log,ovm-consoled.log,osc.log。
5、手动直接操作vm,可能在数据库里没有相应的记录,于是再到浏览器操作vm时,会出错哟。
Databas System ID(SID),要在环境变量里设置,安装过oracle数据库的人应该知道了。后面那个“Oracle Database SYSTEM password”也是在安装过程设置的密码。这个一定要填写正确,否则连接数据库失败,不能进行下一步的安装。如果是要求高的场合,建议数据库使用单独的物理服务器,甚至安装成 oracle RAC环境。
6、管理端找不到nfs,从vm的日志可看到记录:
[2013-02-18 01:21:46 5732] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2013-02-18 01:21:46 5732] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
[2013-02-18 01:21:46 5732] ERROR (NFSPlugin:954) Unable to access file system at 192.168.108.108: mount clntudp_create: RPC: Program not registered
7、nas做文件系统时,serverpool用一个共享目录,repository用另外的共享目录,否则就不能正常进行下一步。
8、数据库中ovs模式创建的表多达105个:
SQL> select table_name from dba_tables where owner='OVS';
TABLE_NAME
------------------------------
ODOF_ID_TO_TYPE
ODOF_TYPE_TO_CLASS
ODOF_SYS_PROPERTIES
ODOF_NOT_TABLED
MGR_ROLESERVICE
MGR_USERSTORE
MGR_TREESTORE
MGR_LINKEDLIST
MGR_COHERENCE
MGR_HASHMAP
MGR_PROPERTIES
TABLE_NAME
------------------------------
MGR_FILEMANAGER
MGR_MODELMANAGER
MGR_ABCSTORE
MGR_MODELENGINEPROPERTIES
MGR_FOUNDRY
MGR_EVENTLOG
MGR_LOGSTORE
MGR_INTERNALSYSTEMLOG
MGR_ROOTSTATISTICLOG
MGR_INFORMATIONALEVENT
MGR_ACTIONMANAGER
TABLE_NAME
------------------------------
MGR_ACTIONENGINEPROPERTIES
MGR_EVENTMANAGER
MGR_EVENTENGINEPROPERTIES
MGR_SERVERNOTIFICATION
MGR_RULESMANAGER
MGR_RULESENGINEPROPERTIES
MGR_BUSINESSMANAGER
MGR_STORAGESELECTIONMANAGER
MGR_SERVERSELECTIONMANAGER
MGR_NETWORKSELECTIONMANAGER
MGR_VMSELECTIONMANAGER
TABLE_NAME
------------------------------
MGR_BACKUPMANAGER
MGR_RESTOREMANAGER
MGR_ARCHIVEMANAGER
MGR_DISCOVERMANAGER
MGR_DISCOVERENGINEPROPERTIES
MGR_STATISTICMANAGER
MGR_ACCESSMANAGER
MGR_TASKMANAGER
MGR_TASKENGINEPROPERTIES
MGR_SCHEDULABLETASKPROPERTIES
MGR_VNICMANAGER
TABLE_NAME
------------------------------
MGR_VNICMANAGERPROPERTIES
MGR_RASMANAGER
MGR_RASENGINEPROPERTIES
MGR_LOGMANAGER
MGR_LOGENGINEPROPERTIES
MGR_SERVERYUMREPOSITORYINFORMA
MGR_VIRTUALCDROM
MGR_USERACCOUNT
MGR_OBJECTCHANGEEVENT
MGR_CREATEDEVENT
MGR_USER
TABLE_NAME
------------------------------
MGR_TREEMAP
MGR_INTERNALJOB
MGR_JOBCONSTRUCTINGEVENT
MGR_JOBRUNNINGEVENT
MGR_PORTDOWNEVENT
MGR_SERVERSTOPPEDEVENT
MGR_SERVERSTARTINGEVENT
MGR_SERVERUSERMISSINGEVENT
MGR_SERVERDISCOVERSCANEVENT
MGR_SERVERCLUSTERSTATEDOWNEVEN
MGR_SEVERITYCHANGEEVENT
TABLE_NAME
------------------------------
MGR_PORTUPEVENT
MGR_PATHDOWNEVENT
MGR_PATHUPEVENT
MGR_STORAGEDEVICEUPEVENT
MGR_SERVERCLUSTERWARNINGEVENT
MGR_SERVERRUNNINGEVENT
MGR_JOBDONEEVENT
MGR_SERVER
MGR_LOCALSTORAGEINITIATOR
MGR_INTERNALPORT
MGR_STATISTICSUBJECTLOG
TABLE_NAME
------------------------------
MGR_STATISTICTYPELOG
MGR_CONTROLDOMAIN
MGR_XENHYPERVISOR
MGR_SERVERPOOL
MGR_CLUSTER
MGR_BALANCERCONTROL
MGR_PROCESSOR
MGR_CPUCOMPATIBILITYGROUP
MGR_ISCSISTORAGEINITIATOR
MGR_ETHERNETPORT
MGR_ETHERNETNETWORK
TABLE_NAME
------------------------------
MGR_BONDPORT
MGR_FILESYSTEMPLUGIN
MGR_STORAGEARRAYPLUGIN
MGR_FIBRECHANNELSTORAGEARRAY
MGR_VOLUMEGROUP
MGR_ISCSISTORAGEARRAY
MGR_LOCALFILESERVER
MGR_LOCALSTORAGEARRAY
MGR_STORAGEELEMENT
MGR_LOCALSTORAGEPATH
MGR_JOBFAILUREEVENT
TABLE_NAME
------------------------------
MGR_JOBROLLBACKEVENT
MGR_JOBROLLBACKDONEEVENT
MGR_DELETEDEVENT
MGR_SERVERDISCONNECTERROREVENT
MGR_SERVEROFFLINEEVENT
MGR_NETWORKFILESERVER
105 rows selected.
9、共享式虚拟机挂节点及路径形式:
(1)挂接
192.168.108.108:/u01/cluster_nfs
190G 12G 169G 7% /OVS/Repositories/0004fb0000030000542dc051d8c22300
(2)虚拟机配置文件
192.168.108.108:/u01/cluster_nfs
190G 12G 169G 7% /OVS/Repositories/0004fb0000030000542dc051d8c22300/VirtualMachines/0004fb00000600002d06c3fcb75c45ab/vm.cfg