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 to connect to Oracle VM Manager
-p
Password to connect to Oracle VM Manager
-H
Manager hostname (use either -H or -U or none)
-U
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
Location of params.ini file (sent to VMs)
-N
Location of netconfig.ini file (sent to VMs)
-B
Start a buildcluster/buildsingle post-network setup
(default: yes. [If netconfig_args passed then default:
no])
-G
Advanced: Arguments to netconfig; override defaults
-K
Advanced: Unzip new (partial) kitfile inside the VMs
-X
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle ovm配置使用Oracle
- Oracle基礎工具簡介Oracle
- 【ORACLE ASM】ASM 支援工具簡介OracleASM
- 【opatch】Oracle打補丁工具opatch簡介Oracle
- Oracle實時資料整合工具簡介SBOracle
- 新手上路:Oracle基礎工具簡介(轉)Oracle
- CRM工具簡介
- 【工具】sysbench 0.5 簡介
- 效能分析工具簡介
- Oracle Text簡介Oracle
- Oracle:srvctl 簡介Oracle
- Oracle:PGA 簡介Oracle
- Oracle程式簡介Oracle
- Oracle MTS簡介Oracle
- ovm搭建注意事項
- Oracle BBED 工具介紹Oracle
- Oracle DBV 工具 介紹Oracle
- 【Oracle】Opatch 工具介紹Oracle
- Oracle PSU 簡介Oracle
- Oracle Data Guard簡介Oracle
- Oracle:RAC 程式簡介Oracle
- ORACLE監聽簡介Oracle
- Oracle約束簡介Oracle
- Oracle NOSQL DATABASE簡介OracleSQLDatabase
- oracle“SQL Trace”簡介OracleSQL
- 簡介oracle檢視Oracle
- Python 效能分析工具簡介Python
- 核心探測工具systemtap簡介
- Oracle PL/SQL塊簡介OracleSQL
- 2.5.1. Oracle net簡介Oracle
- Oracle的service功能簡介Oracle
- oracle驗證方式簡介Oracle
- ORACLE temp表的簡介Oracle
- oracle lob 簡單介紹Oracle
- OFS(Oracle Fail Safe)簡介OracleAI
- 轉載:Oracle RAC簡介Oracle
- oracle資料字典簡介Oracle
- oracle Export and Import 簡介(轉)OracleExportImport