科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网服务器频道虚拟化/云计算通过VMWARE虚拟机搭建Oracle 10g R2 R

通过VMWARE虚拟机搭建Oracle 10g R2 R

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

本文讲解了通过VMWARE虚拟机搭建Oracle 10g R2 R的过程。

来源:IT认证考试 2010年9月24日

关键字:

  • 评论
  • 分享微博
  • 分享邮件

在本页阅读全文(共9页)

  Note: Since we should configure the share storage-ASM, we must choose a different bus number from the local disk. For example, we use SCSI0 as local disk, so we use another bus SCSI1 as our share storage.

  HD (SCSI 0:0) RHEL4 15.0 GB

  HD2 (SCSI 1:0) ocr1 0.2 GB Independent- persistent

  HD3 (SCSI 1:1) ocr2 0.2 GB Independent- persistent

  HD4 (SCSI 1:2) votingdisk1 0.2 GB Independent- persistent

  HD5 (SCSI1:3) votingdisk2 0.2 GB Independent- persistent

  HD6 (SCSI 1:4) votingdisk3 0.2 GB Independent- persistent

  HD7 (SCSI 1:5) datadg1 2.0 GB Independent- persistent

  HD8 (SCSI 1:6) datadg2 2.0 GB Independent- persistent (SCSI1:7 is SCSI controller)

  HD9 (SCSI 1:8) redodg1 0.5 GB Independent- persistent

  HD10(SCSI 1:9) redodg2 0.5 GB Independent- persistent

  HD11(SCSI 1:10) flashdg1 0.5 GB Independent- persistent

  HD12(SCSI 1:11) flashdg2 0.5 GB Independent- persistent

  Ethernet: Bridged

  Ethernet2: Host-only

  CD-ROM: Using the daemon drive Y:

  Open the E:\Virtual Machines\node1\RHEL4.vmx with notepad and add the bold lines as following:

  config.version = “8″

  virtualHW.version = “4″

  scsi0.present = “TRUE”

  scsi0.virtualDev = “lsilogic”

  memsize = “1024″

  scsi0:0.present = “TRUE”

  scsi0:0.fileName = “RHEL4.vmdk”

  ide1:0.present = “TRUE”

  ide1:0.fileName = “Y:”

  ide1:0.deviceType = “cdrom-raw”

  floppy0.present = “FALSE”

  Ethernet0.present = “TRUE”

  displayName = “node1″

  guestOS = “rhel4″

  priority.grabbed = “normal”

  priority.ungrabbed = “normal”

  disk.locking = “FALSE”

  diskLib.dataCacheMaxSize = “0″

  scsi1.sharedBus = “virtual”

  #Add the following lines at the end of file

  scsi1:0.deviceType = “disk”

  scsi1:1.deviceType = “disk”

  scsi1:2.deviceType = “disk”

  scsi1:3.deviceType = “disk”

  scsi1:4.deviceType = “disk”

  scsi1:5.deviceType = “disk”

  scsi1:6.deviceType = “disk”

  scsi1:8.deviceType = “disk”

  scsi1:9.deviceType = “disk”

  scsi1:10.deviceType = “disk”

  scsi1:11.deviceType = “disk”

  ● Install RHEL4

  Language: English (USA)

  Disk partition: local disk only (do not configure the share storage)

  /boot: 200MB ext3

  swap: 1800MB swap

  /: all else space ext3

  eth0: 192.168.10.101, 255.255.255.0 public IP

  eth1: 10.10.10.101, 255.255.255.0 private IP

  Gateway and DNS: 192.168.10.1 (host windows’s IP)

  Hostname: rac01

  root’s PW: racrac

  Software packages: custom (check all packages except some useless component, e.g. graphic development, entertainment, sound etc.)

  ● Install VMware tools for time sync

  After the Linux is up, click the VMware server consoleàVM àInstall VMware tools, then a VMware tools icon will be displayed in the Linux desktop, double click and run the VMware-Tools-xxxxx.i386.rpm, and click continue. Right click at desktop; open a terminal and input “vmware-config-tools.pl”, select 800*600 as resolution. Then input “vmware-toolbox”, check the “Time synchronization between the virtual machine and the host operating system”。

  vi /boot/grub/grub.conf

  Add the bold words after “quiet” in the same line:

  kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet clock=pit nosmp noapic nolapic

  Reboot and input “date” to check whether the time is same as windows time.

  If you still find that time is not synchronized, open c:\Documents and Setting\All Users\Application Data\Vmware\Vmware server\config.ini, and add:

  host.cpuKHz=”2000000″ àyour CPU speed(2.0G here)

  host.noTSC=”TRUE”

  ptsc.noTSC=”TRUE”

  Install 2nd Guest OS (RHEL4) unused this time

  Most of the step is same as the 1st node. Only list the difference here:

  VM name: node2

  eth0: 192.168.10.102, 255.255.255.0 public IP

  eth1: 10.10.10.102, 255.255.255.0 private IP

  Gateway and DNS: 192.168.10.1

  Hostname: rac02

  root’s PW: racrac

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章