oracle ovm deploycluster工具简介

The deploycluster tool is a standalone program that can run from any Linux server. It connects to Oracle VM 3 Manager to automatically configure any number of nodes (VMs) to create a fully functional Single Instance, Single Instance/HA (Oracle Restart) or Real Application Cluster environment. The tool assumes all VMs are pre-created from the base Oracle DB/RACOVM Template and in the case of Oracle RAC, assigned correct disks & network to allow a successful cluster deployment. It then starts the VMs (if needed), verifies they are configured correctly (disk, network, etc.) then sends the network & build parameters to all VMs. This configures the network in all of the VMs and optionally launches a buildsingle to create a Single Instance environment, or buildcluster operation on the N-nodes cluster to obtain a fully configured Oracle RAC environment. The tool may also be used to configure a single node (VM), to add to an existing cluster, act as a single RAC node or asa Single Instance or Single Instance/HA (Oracle Restart) environment.

Deploycluster 工具主要用于oracle RAC、或者single instance等的自动安装,该脚本配合oracle RAC 模板在OVM 3 环境下使用,能够方便的配置RAC架构,在参数文件、网络文件调整ok后,运行后面的shell语句即可完成Oracle RAC 的安装,安装过程中无需操作RAC各节点、即使各节点服务器的启动也无需手动进行,只需提供节点名即可自动启动各节点,并完成安装。详细参数如下:

[root@ovmm deploycluster]# ./deploycluster.py -h

Oracle DB/RAC OneCommand (v2.0.3) for Oracle VM - deploy cluster - (c) 2011-2013 Oracle Corporation

 (com: 28700:v2.0.2, lib: 180072:v2.0.3, var: 1500:v2.0.3) - v2.6.6 - ovmm.example.com (x86_64)

Invoked as root at Thu Nov 13 14:21:24 2014  (size: 45500, mtime: Wed Jul 31 07:55:37 2013)

Usage: deploycluster.py

 

deploycluster.py provides fully automated backend Oracle DB/Single Instance or

RAC cluster deployment. It assumes all VMs are pre-created from the base

Oracle DB/RAC OVM Template and assigned correct disks & network to allow a

successful cluster deployment. It then starts the VMs (if needed), verifies

they are configured correctly (disk, network, etc.) then sends the network &

build parameters to all VMs. This configures the VMs network and optionally

launches a buildsingle/buildcluster on the single VM or N-nodes cluster to

obtain a fully configured single instance or Oracle RAC environment. See

deploycluster.ini options file for more details.

 

Options:

  --version             show program's version number and exit

  -h, --help            show this help message and exit

 

  Oracle VM Manager Login:

    Credentials to login to Oracle VM Manager (SSL supported)

 

    -u , --username=     -----常用参数用户名

                        Username to connect to Oracle VM Manager

    -p , --password=      -----常用参数之用户密码

                        Password to connect to Oracle VM Manager

    -H , --host=             ---------OVM管理机

                        Manager hostname (use either -H or -U or none)

    -U , --url=       

                        Login URL to Manager (default: tcp://localhost:54321

                        or tcps://host:54322 when -H used to remote node)

 

  Oracle DB/RAC OVM Template Options:

    Identify which VMs to deploy as Single Instance or a cluster - pass

    any special build attributes. Commonly used flags: -M, -N & -P.

 

    -L, --list_vms_only

                        List VMs seen via Oracle VM Manager; Honors -M flag

    -M , --vms=      --------RAC节点名称(创建时指定的)

                        List of existing VM names or IDs to deploy cluster on.

                        Supports "*" & "?" wildcard characters

    -P , --params=    --------常用配置参数,用于配置文件

                        Location of params.ini file (sent to VMs)

    -N , --netconfig=    -----网络配置参数,用于网络配置文件

                        Location of netconfig.ini file (sent to VMs)

    -B , --buildcluster=

                        Start a buildcluster/buildsingle post-network setup

                        (default: yes. [If netconfig_args passed then default:

                        no])

    -G , --netconfig_args=

                        Advanced: Arguments to netconfig; override defaults

    -K , --kitfile=

                        Advanced: Unzip new (partial) kitfile inside the VMs

    -X , --extrakeys=

                        Advanced: File containing extra keys to send all VMs

-D, --dryrun        Show what will be done (do not start VMs or send msgs)

 

 

常用命令如下:

[root@ovmm deploycluster]# ./deploycluster.py -u admin -p Oracle123 -H localhost -M RAC-1,RAC-2 -P utils/params-my.ini -N utils/netconfig-my.ini

 

注意上述提供的账号密码均为OVM管理机的账号密码

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28612416/viewspace-1331214/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/28612416/viewspace-1331214/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
目录 1 基础架构虚拟化技术综述 ............................................................................................................. 1 2 Oracle VM for x86........................................................................................................................... 1 2.1 主要功能 .............................................................................................................................. 2 2.1.1 虚拟机负载均衡 ........................................................................................................ 2 2.1.2 在线迁移 ................................................................................................................... 3 2.1.3 高可用 ....................................................................................................................... 4 2.1.4 快速应用部署............................................................................................................ 4 2.1.5 从其它虚拟化产品迁移 ............................................................................................ 4 2.1.6 物理机到虚拟机的切换 ............................................................................................ 5 2.1.7 应用模板 ................................................................................................................... 5 2.1.8 资源分配与管理 ........................................................................................................ 6 2.1.9 高级电源管理............................................................................................................ 6 2.1.10 系统快照 ................................................................................................................. 6 2.1.11 用户及组管理 .......................................................................................................... 6 2.1.12 Oracle认证过的配置 ............................................................................................... 7 2.1.13 性能 ......................................................................................................................... 7 2.2 体系架构 .............................................................................................................................. 8 2.3 技术规格 .............................................................................................................................. 8 3 VM manager管理OVM.................................................................................................................. 9 3.1 主要功能 .............................................................................................................................. 9 3.2 体系架构 ............................................................................................................................ 10 3.3 接口 ................................................................................................................................... 11 3.4 技术规格 ............................................................................................................................ 12 4 Oracle Grid Control管理OVM ..................................................................................................... 12 4.1 虚拟化概念 ........................................................................................................................ 13 4.2 支持信息 ............................................................................................................................ 15 4.3 虚拟化的集中页面被作为管理枢纽 .................................................................................. 15 4.4 从虚拟化管理开始 ............................................................................................................ 16 4.5 在裸设备上安装Oracle VM 服务器 ................................................................................. 20 4.6 监控Oracle VM ................................................................................................................. 20 4.7 管理Oracle VM ................................................................................................................. 23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值