Oracle vm manager安装_第1页
Oracle vm manager安装_第2页
Oracle vm manager安装_第3页
Oracle vm manager安装_第4页
Oracle vm manager安装_第5页
已阅读5页,还剩30页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Oracle vm manager安装Oracle? VM Manager Installation 1.最低硬件和软件需求您的计算机上要安装Oracle VM管理必须满足以下最低系统要求:?1.1硬件要求表1 Oracle VM管理器的硬件要求1.2 软件要求Oracle VM管理器支持下列操作系统:Oracle企业级Linux 4更新5或更高版本红帽企业Linux第4版或更高版本注意:如需更多有关甲骨文公司的企业Linux的信息,请访问下列网站:Web浏览器Oracle VM管理器的用户界面支持以下Web浏览器:?微软的Internet Explorer 5.5?微软IE 6.0?微软的I

2、nternet Explorer 7.0?Mozilla Firefox浏览器1.7?Mozilla火狐1.0.4的?Mozilla Firefox 1.5中?Mozilla Firefox 2.0中? 2.x中的Safari(Mac专用)?Netscape的 Prerequisite PackagesOracle VM Manager uses Oracle Database 10g Express Edition (Oracle XE) as the management data repository. Oracle XE requires the libaio pack

3、age be installed. You can find the libaio package on the Oracle Enterprise Linux DVD or ISO file. You must install libaio release 0.3.96 or above.You can check if libaio is already installed on your operating system with the command:# /bin/rpm -q libaio.i386If no information is displayed, libaio is

4、not installed. If it is installed, you may see a message similar to the following:libaio-0.3.106-3.2To install libaio, go to the directory where the libaio.rpm is located, and enter the command:# rpm -ivh libaio-version.i386.rpmTo upgrade libaio, you can use the command:# rpm -Uvh libaio-version.i38

5、6.rpm1.2.4 Prerequisite PortsMake sure that ports 8888 and 8899 are available. To verify if these ports are available, enter# netstat -na |grep 8888# netstat -na |grep 8899If the ports are available, no response is given. If these ports are not available, the services that occupy these two ports are

6、 displayed and you must release them.To release these port numbers, allow ports 8888 and 8899 through the firewall:1.Enter the following command to configure the firewall:2.# /usr/bin/system-config-securitylevel3.Select Enabled for Security Level.4.Click Customize. In the Other ports field, enter th

7、e following text:5.8888:tcp,8899:tcpIf you want to secure Oracle VM Manager using Secure Sockets Layer(SSL), also add the port 4443:8888:tcp,8899:tcp,4443:tcp1.2.5 Installation Ports and PasswordsDuring the Oracle VM Manager installation, you are required to set the following ports and passwords:?Th

8、e Oracle XE HTTP port. The default port number is 8080.?The Oracle XE listening port. The default port number is 1521.?The password for the Oracle XE SYS and SYSTEM accounts.?The password for the Oracle VM Manager OVS database schema.?The password for the OC4J oc4jadmin account.?The password for the

9、 Web Service keystore file.?The host name of an SMTP server.?The Email address and password for the Oracle VM Manager admin account.2 Installing Oracle VM ManagerThis section describes the Oracle VM Manager installation process. It includes the following sections:?Installation Process?Installing Tig

10、htVNC for Non-Linux Users?Installation LogsNote:If you want to install Oracle VM Manager in a virtualized environment, do not install it on Oracle VM Server (dom0) directly; install it into a guest virtual machine running on Oracle VM Server. An Oracle VM Manager template is available for this purpo

11、se at See the Oracle VM Manager template readme document for installation instructions.3.1 Installation ProcessIt takes approximately 5-15 minutes to complete the installation of Oracle VM Manager, depending on the performance of the Oracle VM Manager host, and the installation type you choose. To i

12、nstall Oracle VM Manager:1.Download the Oracle VM Manager software from:2.Log in to the Oracle VM Manager host as the root user.3.You can install Oracle VM Manager from a CDROM drive or from an ISOfile from the hard drive.o To install Oracle VM Manager from a CDROM, burn the Oracle VM Manager ISO fi

13、le to a CDROM. Insert and mount the Oracle VMManager CDROM using the following commands:o# mkdir mount-pointo# mount /dev/cdrom mount-pointWhere mount-point refers to the directory on which you mountthe ISO file.o To install Oracle VM Manager from a hard drive, locate the folder that contains the IS

14、O file. Mount the ISO file to an existingdirectory using the following commands:o# mkdir mount-pointo# mount -o loop,ro OracleVM-Manager-version.iso mount-point Where mount-point refers to the directory on which you mountthe ISO file. For example:# mkdir /OVMCD# mount -o loop,ro OracleVM-Manager-2.2

15、.0.iso /OVMCDYou can find all the mounted files under the directory /OVMCD.4.Enter the mount point you created in the previous step, for example,/OVMCD and start the installation with the runInstaller script:5.# cd /OVMCD6.# sh runInstaller.shOn the command prompt, enter 1 to install Oracle VM Manag

16、er.Please enter the choice: 1|2|31. Install Oracle VM Manager2. Uninstall Oracle VM Manager3. Upgrade Oracle VM ManagerThe installation process starts, and the following is displayed:Starting Oracle VM Manager 2.2.0 installation .7.There are two menus that may appear, one if no Oracle XE installatio

17、n isfound, and one if an Oracle XE installation is found.o If no Oracle XE installation is found on the computer, you are prompted to install a new database, or use an exiting one on thenetwork:o Do you want to install a new database or use an existing one?1|2o 1. Install a new Oracle XE database on

18、 localhosto 2. Use an existing Oracle database in my networkThe installation varies on your selection.?Enter 1 to install Oracle XE, and skip to Step 6.?Enter 2 to use an existing database on the local areanetwork (LAN).A new schema named OVS is created. If the OVS schemaalready exists, the data in

19、it is deleted. Back up thedatabase if you need to retain the data in the OVS schema.Oracle VM supports Oracle Database 10g Release 2, OracleDatabase 11g, and Oracle XE.When prompted, enter the following information asoutlined in Section 2.2.5, Installation Ports andPasswords:Please enter the databas

20、e hostname or ipaddress(Default: hostname):Specify a port that will be used for the databaselistener 1521Please specify the database SID(Default: orcl)Please enter the password for database account SYS:Set default database schema to OVS.Please enter the password for account OVS:Confirm the password:

21、Skip to Step 10.o If you already have Oracle XE installed on your computer, you are prompted to choose whether to use the existing database or ainstall a new one:o The installation process detected an existing XE database.Do you want to use it? 1|2|3o 1. Use existing Oracle XE database on localhosto

22、 2. Remove the Oracle XE database and install a new oneo 3. Use an existing Oracle database in my networkThe installation process varies depending on your selection.Enter 1 to use the existing Oracle XE database on the computer.A new schema named OVS is created. If the OVS schemaalready exists, the

23、data in it is deleted. Back up thedatabase if you need to retain the data in the OVS schema.When prompted, enter the following information asoutlined in Section 2.2.5, Installation Ports andPasswords:Please enter the port of listener:Please enter the password for database account SYS:Set default dat

24、abase schema to OVS.Please enter the password for account OVS:Confirm the password:Skip to Step 10.?Enter 2 to remove the database and install a new one.Enter y when prompted:?The existing Oracle XE database will be removed. Are you sure to continue?y|n?Enter 3 to use the existing database on the lo

25、cal area network (LAN).A new schema named OVS is created. If the OVS schemaalready exists, the data in it is deleted. Back up thedatabase if you need to retain the data in the OVS schema.You can also select the default tablespace for the OVSschema; the default tablespace is USERS.Oracle VM supports

26、Oracle Database 10g Release 2 and Oracle Database 11g.When prompted, enter the following information asoutlined in Section 2.2.5, Installation Ports andPasswords:Please enter the database hostname or ipaddress(Default: hostname):Specify a port that will be used for the database listener 1521Please s

27、pecify the database SID(Default: orcl)Please enter the password for database account SYS: Provisioning Oracle instant client .Checking the availability of the database .Set default database schema to OVS.Please enter the password for account OVS:Confirm the password:Please enter the default tablespa

28、ce for userOVS(DEFAULT: USERS):Checking the availability of the tablespacetablespace .Creating the Oracle VM Manager database schema .Skip to Step 10.8.Enter the HTTP port and the listener port to be used for Oracle XE. PressEnter to accept the default setting, or enter new port numbers.9.Oracle Dat

29、abase 10g Express Edition Configuration10.-11.This will configure on-boot properties of Oracle Database 10gExpress12.Edition. The following questions will determine whether thedatabase should13.be starting upon system boot, the ports it will use, and thepasswords that14.will be used for database acc

30、ounts. Press defaults.15.Ctrl-C will abort.16.17.Specify the HTTP port that will be used for Oracle ApplicationExpress 8080:18.Specify a port that will be used for the database listener 1521:19.Enter a password to use for the SYS and SYSTEM accounts for OracleXE.20.Specify a password to be used for

31、database accounts. Note that thesame password will be used for SYS and SYSTEM. Oracle recommends the use of different passwords for each database account. This can be done after initial configuration:21.Confirm the password:22.The default setting is to start Oracle XE automatically on boot. PressEnt

32、er to enable the default setting, or enter n to start Oracle XEmanually.23.Do you want Oracle Database 10g Express Edition to be started onboot (y/n) y:To access the Oracle XE configuration home page, go to::8080/apex24.Enter a password to use for the OVS account for the Oracle VM Man

33、agerdatabase.25.Set default database schema to OVS.26.Please enter the password for account OVS:27.Confirm the password:Note:A valid password must comply with the following rules:o The password must begin with an uppercase or lowercase letter.o The password may include the following characters: numb

34、ers (such as 1, 2, 3, and so on), letters (from a to z, A to Z), andunderscores (_).Examples of valid passwords: Password01, Password_123, password.28.After the database installation and/or configuration is complete, theinstallation script continues to install the Oracle VM Manager packages and OC4J

35、.29.Installing the ovs-manager package (rpm) .30.Done31.Installing the oc4j package (rpm) .32.DoneIf the Oracle VM Manager package and OC4J is already installed, you are prompted to either retain or remove them:The package ovs-manager-version will be removed. Are you sure to continue? Y|n(default=Y)

36、:The package oc4j-10.1.4 will be removed. Are you sure to continue?Y|n(default=Y):33.Enter a password to use for the oc4jadmin account.34.Please enter the password for account oc4jadmin:35.Confirm the password:36.Enter a password to use for the default admin account. This is thedefault account when

37、you first log into Oracle VM Manager.37.Please enter the password for the default account admin:38.Confirm the password:39.Enter a password to use for the Web Service keystore file:40.Please enter the keystore password for the Web Service:41.Confirm the password:42.Enter Y to configure SSL (HTTPS),

38、and n to use HTTP:43.Do you want to use HTTPS access for Oracle VM Manager (Y|n)?44.Enter the host name of an SMTP server.45.Configuring SMTP server .46.Please enter the outgoing mail server (SMTP) hostname:47.Enter the Email address for the admin account.48.Please enter an e-mail address for accoun

39、t admin:49.Confirm the e-mail address:A welcome Email is sent to this address. This Email address is used byOracle VM Manager to send new passwords when you use the Forgot Password feature.50.When the installation is complete, a message similar to the following isdisplayed:51.Installation of Oracle

40、VM Manager completed successfully.52.53.To access the Oracle VM Manager version home page go to:54. https:/IP_address:port/OVS55.56.To access the Oracle VM Manager web services WSDL page go to:57. https:/IP_address:port/OVSWS/LifecycleService.wsdl58. https:/IP_address:port/OVSWS/ResourceService.wsdl

41、59. https:/IP_address:port/OVSWS/PluginService.wsdl60. https:/IP_address:port/OVSWS/ServerPoolService.wsdl61. https:/IP_address:port/OVSWS/VirtualMachineService.wsdl62. https:/IP_address:port/OVSWS/AdminService.wsdl63.64.To access the Oracle VM Manager help page go to:65. https:/IP_address:port/help

42、/helpYou can access the Oracle VM Manager user interface with a web browser using the following URL:https:/hostname:port/OVSHere, hostname refers to the host name or IP address of the Oracle VM Manager host, and port is the port on which the Oracle VM Manager process is listening.For example, if the

43、 host name is and the port is the standard (no SSL) port, the URL is:If the host name is and the port is the standard SSL port, the URL is:https:/To set up an environment to create and manage virtual machines using Oracle VM Manager, see the Oracle VM Manager Users Guide.3.2 Installing TightVNC for

44、Non-Linux UsersTo access virtual machines from within the Oracle VM Manager UI using the Console feature, you must first install TightVNC. The TightVNC Java appletenables non-Linux users to connect to a virtual machines console. TightVNC must be installed on the Oracle VM Manager host. You can get t

45、he latest TightVNC package from:Install TightVNC with the command:# rpm -ivh tightvnc-java-version.noarch.rpmNote:If you are using Mozilla Firefox on Linux to log in to a virtual machines console, you also need to install the Oracle VM Manager console plug in (ovm-console) on your computer. See the

46、Oracle VM Manager Users Guide for information on how to install the plug in.3.3 Installation LogsIf any errors occur during installation, check the Oracle VM Manager log files in the directory:/var/log/ovm-managerThe following log files are located in this directory:Table 2 Installation Log Files4 O

47、racle VM Manager 配置和管理4.1Preparing External Storage and Storage Repositories 准备存储仓库。If you want to enable HA, or perform live migration of domains to other, identical, computers, you must first create external storage, and then create a storage repository to be used in the server pool.When you creat

48、e a server pool in Oracle VM Manager, the external storage is automatically mounted on each Oracle VM Server in the server pool (thecluster). Similarly, when an Oracle VM Server in the server pool is restarted, the external storage is automatically mounted. Make sure the external storage is availabl

49、e to the Oracle VM Servers in the server pool so it can be automatically mounted when an Oracle VM Server is restarted.4.1.1o cfs2 文件系统配置。O2CB 是一组集群服务,负责管理节点与集群文件系统之间的通信。下面是对各个服务的说明:?NM:用于跟踪cluster.conf 中的所有节点的节点管理器?HB:当节点加入或离开集群时向上/向下发出通知的心跳服务?TCP:处理节点之间的通信?DLM:用于跟踪所有锁、这些锁的所有者以及状态的分布式锁管理器?CONFIGFS:

50、在/config 中挂载的用户空间驱动的配置文件系统?DLMFS:用户空间与内核空间DLM 的接口在6个节点上执行下面的过程,将O2CB 配置为在引导时启动。以root 用户身份执行rootgdhedcs1 /# /etc/init.d/o2cb unloadStopping O2CB cluster ocfs2: OKUnmounting ocfs2_dlmfs filesystem: OKUnloading module ocfs2_dlmfs: OKUnmounting configfs filesystem: OKUnloading module configfs: OKrootgdh

51、edcs1 /# /etc/init.d/o2cb configureConfiguring the O2CB driver.This will configure the on-boot properties of the O2CB driver.The following questions will determine whether the driver is loaded onboot. The current values will be shown in brackets (). Hittingwill abort.Load O2CB driver on boot (y/n) n

52、: yCluster stack backing O2CB o2cb:Cluster to start on boot (Enter none to clear) ocfs2:Specify heartbeat dead threshold (=7) 31: 61Specify network idle timeout in ms (=5000) 30000:Specify network keepalive delay in ms (=1000) 2000:Specify network reconnect delay in ms (=2000) 2000:Writing O2CB conf

53、iguration: OKLoading filesystem configfs: OKMounting configfs filesystem at /sys/kernel/config: OKLoading filesystem ocfs2_dlmfs: OKMounting ocfs2_dlmfs filesystem at /dlm: OKStarting O2CB cluster ocfs2: OK4.1.2 Preparing External Storage Using OCFS2 on SAN 格式化共享存储To prepare external storage to be u

54、sed in a storage repository using OCFS2 on SAN:1.Review the partitions by checking /proc/partitions:2.# cat /proc/partitionsmajor minor #blocks name80 71687372 sda8 1 104391 sda18 2 71577607 sda22530 70516736 dm-0253 1 1048576 dm-18 16 1048576 sdb3 Determine the share disk volume you want to use. Yo

55、u may need to use the fdisk utility to create at least one partition on the shared disk volume:# fdisk /dev/sdbAlternatively, if the external storage is more than 2 TB, use the gparted utility to create a GPT partition:# parted /dev/sdb4 Format the partition from any of the Oracle VM Servers in the (intended) server pool witha command similar to the following:# mkfs.ocfs2 b 4k C 4k -N 12 /dev/sdb14.2 Preparing a Storage Repository 准备存储仓库。To prepare a storage repository for use in Oracle VM Manager wh

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论