Skip to main content

Cluster control migration from one server to another Server

 

Cluster control migration from one server to another Server

There are two ways to migrate Cluster Control from one server to another.

1.      Install Cluster Control on new server and add all the servers
2.      Install Cluster Control on new server and migrate the old monitoring data to new server

1.     Install Cluster Control on new server and add all the servers

This is the simplest method of migration when there are only few servers and historical data is not required. Manual steps are not required and easy to migrate.

The following steps are involved in this method.

1.       Install ClusterControl on the new server by using install-cc.sh script

2.       Setup passwordless SSH by copying the SSH key to all nodes

3.       Add all the nodes from Cluster Control GUI

2.     Install Cluster Control on new server and migrate the old monitoring data to new server

This is the recommended way to migrate when historical data is needed on new server.

 

The steps include:

 

1.       Install ClusterControl on the new server by using install-cc.sh script

2.       Export the cmon and dcps databases using mysqldump

3.       Copy the old CMON configuration files: /etc/cmon.cnf and /etc/cmon.d/* (if any)

4.       Replace any occurrences of old IP address in the new server

5.       Restore the cmon and dcps databases

6.       Transfer CMONAPI token value

7.       Setup passwordless SSH by copying the SSH key to all nodes

Comments

Popular posts from this blog

utlrp scipts

utlrp script + What is UTLRP.SQL? This script recompiles invalid PLSQL modules. + What this script does? This script recompiles all existing invalid PL/SQL modules in a database. This is a fairly general script that can be used at any time to recompile all existing invalid PL/SQL modules in a database If run as one of the last steps during migration/upgrade/downgrade this script will validate all PL/SQL modules (i.e. procedures, functions, packages, triggers, types, views, libraries) during the migration step itself. + Any other script called within UTLRP.SQL? Yes. It invokes utlrcmp.sql Where are these SCRIPTS located? ============================ The scripts are found in the standard admin directory of the Oracle Home. $ORACLE_HOME/rdbms/admin Which script is better? ================= -> UTLRP.SQL - Validates all invalid objects and can be run anytime. (this in-turn is called by utlirp.sql) What is invalid ? you can find out by doing this In sqlplus : 15:03...

Reaname Database

Mount the database whose name is to be changed SQL> startup pfile=inithcc.ora nomount ORACLE instance started. Total System Global Area 100663296 bytes Fixed Size 1217884 bytes Variable Size 88083108 bytes Database Buffers 8388608 bytes Redo Buffers 2973696 bytes SQL> alter database mount; Database altered. SQL> select name,open_mode from v$database; NAME OPEN_MODE --------- ---------- HCC MOUNTED Use nid Utility to change the Database Name(from 9i or higher) $ nid target=sys/as sysdba dbname=test This may give the following Output DBNEWID: Release 10.2.0.1.0 - Production on Thu May 19 19:33:31 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. Password: Connected to database HCC (DBID=1702020770) Connected to server version 10.2.0 Control Files in database: /home/hcctest/oracle/oradata/test/control/control01.ctl /home/hcctest/oracle/oradata/test/control/cont...

standby database

Step by step document to create Standby Database Step by step document to create Standby Database Standby database are very critical for disaster recovery. This article takes you step by step to setup Oracle Standby Database. 1 - Data Guard Operational Prerequisites • Same Oracle software release must be used for both primary and standby databases. The operating system running on primary and standby locations must be same, but operating system release may not need to be same. • The Primary Database must run in ARCHIVELOG mode. • The hardware and Operating system architecture on primary and standby location must be same. • Each primary and standby database must have its own control file. • If primary and standby databases are placed on the same system, initialization parameters must be adjusted correctly. • Primary database must be FORCE LOGGING mode. 2 - Preparing Primary Database for Standby Database creation 2.1 Ensure the primary database in ARCHIVELOG mode Ensure ...