Hi Jeffery,
It is an urgent requiremnet for me. Could you please tell me the details to whoom i can contact..
Hi Jeffery,
It is an urgent requiremnet for me. Could you please tell me the details to whoom i can contact..
HI all,
Finally we managed to setup shareplex integrate with Oracle Clusterware (11gR2), and it was able to auto failover to another surviving nodes.
We're using Oracle ACFS store the proddir/vardir.
I felt that the shareplex installation guide was not that clearly especially how to setup failover in oracle RAC enviroment (e.g. How to integrate with
Oracle clusterware. I'm getting the ideafrom Oracle golden gate document and test in my environment, oracle gg document was provide the step
quite detail.)
We encouter a lot of issue and some solution was getting from shareplex knowledge base.
Anyhow, we manage to solve the problem, and it is a good learning oppoturnity as well.
Regards,
Hau
Good for you!
Can you explain what you did step by step to get it going?
His name is Kapil.
Kapil.Malhotra@software.dell.com<mailto:Kapil.Malhotra@software.dell.com>
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Hi David,
Below is some step we used in our test environment hope it help. Between that apart from below
the shareplex configuration also very important, e.g. Shareplex VIP use for failover, tns alias setting, ora_setup when prompt password must using password@tns alias, and others, i don't keep the whole installation step :
Step:
Assume: A VIP Floating IP was add in /etc/hosts
1. Add an Shareplex application VIP into Oracle CRS :
As root:
$ORA_CRS_HOME/bin/appvipcfg create -network=1 -ip=<ip> -vipname=splexvip -user=root
$ORA_CRS_HOME/bin/crsctl setperm resource splexvip -u user:oracle:r-x
As grid owner start VIP resources:
$ORA_CRS_HOME/bin/crsctl start resource splexvip
Validate VIP is running:
$ORA_CRS_HOME/bin/crsctl status resource splexvip
2: Develop an agent script Oracle Clusterware runs resource-specific commands through an entity called an agent.
Example Agent Scripts: (this is simple agent scripts use fot my testing, no proper developed)
#!/bin/sh
export SP_SYS_PRODDIR=/splex/proddir/801 export TOUCH=/bin/touch export RM=/bin/rm export PATH_NAME=/splex/vardir/tmp/splexagent_`hostname` export SP_COP_TPORT=2600 export SP_COP_UPORT=2600 export SP_SYS_HOST_NAME=<VIP> export SP_SYS_VARDIR=/splex/vardir/801_2600 export SP_SYS_PRODDIR=/splex/proddir/801 export LOG=/splex/proddir
case "$1" in 'start') echo "Creating the file: $PATH_NAME" $TOUCH $PATH_NAME chmod 777 $PATH_NAME echo `date` > $LOG/startsplex echo `ps -ef|grep pmon` >> $LOG/startsplex $SP_SYS_PRODDIR/bin/sp_cop -u2600 >> $LOG/startsplex & exit 0 ;;
'stop') echo "Deleting the file: $PATH_NAME" $RM $PATH_NAME echo "issue shareplex stop command ......." echo "shutdown" |$SP_SYS_PRODDIR/bin/sp_ctrl > $LOG/stopsplex echo `date`>> $LOG/stopsplex echo `ps -ef|grep pmon` >> $LOG/stopsplex
exit 0 ;;
'check') echo "CHECK entry point has been called.." if [ -e $PATH_NAME ]; then echo "Check -- SUCCESS" exit 0 else echo "Check -- FAILED" exit 1 fi ;;
'clean') echo "CLEAN entry point has been called.." echo "Deleting the file: $PATH_NAME" $RM -f $PATH_NAME exit 0 ;;
esac |
3. Register a resource in Oracle Clusterware
As GRID Owner (e.g. oracle), start/stop dependencies must test properly
$ORA_CRS_HOME/bin/crsctl add resource splexapp -type cluster_resource -attr "ACTION_SCRIPT=/mnt/acfs/oracle/grid/splex.scr, CHECK_INTERVAL=30, START_DEPENDENCIES='hard(ora.registry.acfs,ora.racdb.db)
pullup(splexvip)', STOP_DEPENDENCIES='hard(splexvip,ora.racdb.db)'"
As root, set the ownership of the application to Shareplex Software owner.
$ORA_CRS_HOME/bin/crsctl setperm resource splexapp -o splexadm
4: Start the application
$ORA_CRS_HOME/bin/crsctl start resource splexapp
You can refer this document as well, it provide quite good information how to integrate with Oracle clusterware.
http://www.oracle.com/technetwork/middleware/goldengate/overview/ha-goldengate-whitepaper-128197.pdf
Good luck.
Thanks,
Hau
I have been unable to set up my ora_setup
** To exit the program while the program is waiting for input, use the
CTRL-C key sequence.
This sequences can be entered by holding down the CONTROL key and
pressing the C key.
Enter the Oracle SID for which SharePlex should be installed [db_name] : db_name
In order to create the SharePlex tables and user account, we must
connect to the database as a DBA user
Enter a DBA user name : system
Enter password for the DBA account, which will not echo :
connecting--This may take a few seconds.
validating user name and password. . . This may take a few seconds.
Error! Unable to login using the user name and password just entered.
Enter a DBA user name : oracle
Enter password for the DBA account, which will not echo :
connecting--This may take a few seconds.
validating user name and password. . . This may take a few seconds.
Error! Unable to login using the user name and password just entered.
I tried run it as root as well as dba group user, no change.
I did granted DBA role to the user with no luck, what could I possibly miss?
Thanks in advance
The SID of your database needs to be entered. Is it "db_name"? Thus what you entered.
Also. The user should be a user that can log into the database. These users are normally system or Sys and not oracle.
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Thanks for your reply Jeffrey, but I did use the ORACLE_SID name in my oratab not "db_name" and I tried the system and sys not no luck. The only reason I used ORACLE is because I have granted sysdba to it (testing env).
I still can't figure out what I am missing.
Thanks
Is the Sid on the oratab file with the correct oracle home?
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Yes it is.
Kaw
You may have to work with support on this then.
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
mobile 1 973 464 6385<tel:1%20973%20464%206385>
As I mentioned, this could be a number of things. When you do a ps –ef | grep pmon, check the case of the SID. Is it the same as the case of the SID in the oratab file?
When running the ora_setup as the oracle O/S user, is ORACLE_SID set properly?
Can you successfully login from the oracle O/S user? As in:
$ sqlplus system/*****
Is there anything written in the logs? SharePlex/vardir/log
If none of these help, please call 800.306.9329 for Support.
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Jeffrey.Surretsky@Dell.com<mailto:jeffrey.surretsky@software.dell.com>
Thanks Jeff for your support, to answer to those questions. Here is what I have now.
[oracle@linux86 bin]$ ps -ef |grep pmon
oracle 14469 27575 0 04:23 pts/2 00:00:00 grep pmon
oracle 17638 1 0 Nov15 ? 00:00:13 ora_pmon_oracl
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show user
USER is "SYSTEM"
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
oracl
[oracle@linux86 bin]$ cat /etc/oratab |tail -1
oracl:/home/oracle/oracle/product/11.2.0/db_1:N
[oracle@linux86 bin]$ echo $ORACLE_SID
oracl
[oracle@linux86 bin]$ su - splex
Password:
-sh-3.2$ id
uid=505(splex) gid=505(spadmin) groups=501(dba),505(spadmin)
oracl [splex@linux86 bin]$ ./ora_setup
Welcome to the Oracle SharePlex setup process.
This process creates tables and user accounts needed to run
Oracle SharePlex replication.
Please note the following:
** In response to prompts, a carriage return will choose the default
given in brackets. If there is no default, a reply must be entered.
** To exit the program while the program is waiting for input, use the
CTRL-C key sequence.
This sequences can be entered by holding down the CONTROL key and
pressing the C key.
Enter the Oracle SID for which SharePlex should be installed [oracl] :
In order to create the SharePlex tables and user account, we must
connect to the database as a DBA user
Enter a DBA user name : system
Enter password for the DBA account, which will not echo :
connecting--This may take a few seconds.
validating user name and password. . . This may take a few seconds.
Error! Unable to login using the user name and password just entered.
Here is the error from the varlog
Error 2013-11-18 04:34:05.763490 14913 1595364352 OID E+ora_setup: 12032 - OCIServerAttach failed with ORA-12546. [ora_setup] [module osp]
Thanks again
From the error, it does not sound like your splex user has the required privileges. It should have the exact same privileges as oracle – including the $PATH and environments variables.
If you cannot figure this out, please call 800.306.9329.
Thanks,
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Jeffrey.Surretsky@Dell.com<mailto:jeffrey.surretsky@software.dell.com>
Hi Team,
I am trying to install Shareplex for Oracle on a Windows XP SP2 box. However during installation I face the error:
SpUtils.exe is not a valid Wind32 application.
Is there any Windows 32 bit SETUP of shareplex for Oracle.
Per the Release Notes, Windows XP is not supported. The supported Windows versions are 2003 and 2008.
Please refer to the Release Notes for more details.
Regards,
Jeffrey Surretsky
Database Systems Consultant
Dell | Dell Software
Jeffrey.Surretsky@Dell.com<mailto:jeffrey.surretsky@software.dell.com>
I wanted to use internal KB articles. What privilege needed and how to get it. Please help if anyone got it.
Does Shareplex works fine with Mysql ?
I am trying to migrate one DB2 database to mysql using shareplex.
Please suggest.
Replication is from oracle to the following targets: oracle, JMS and Hadoop. More targets to come in Q1 of 2014.
Regards,
Jeff
You need to create user ID on the Support Website.
Regards,
Jeff