Berkeley DB on Windows Cluster
Does anyone have experience running a Windows service that uses Berkeley DB on a typical active/passive Windows Cluster with shared disks? Is it even possible with Berkeley DB? Just to avoid confusion, I am not talking about replication, but about a failover situation, where one instance of the service gets deactivated, another one activated, and both would access the same (shared) RAID5 disk array which holds the BDB database files.
Karl
Hi Karl,
Berkeley DB has not been tested on Windows clusters
and so it is not an officially supported platform.
Here's my understanding of the scenario:
There are two nodes that are connected to the same
shared disk. One of the nodes is active, and the
other is a passive standby. The Berkeley DB
application is running on one node and accessing data
on the shared disk. When the primary fails, the
Windows cluster services (I believe it used to be
called Wolfpack?) will allow you to failover the
application to the other (passive) node and continue
processing. There are also services to fail back,
once the original node is restarted.Yes, that is correct.
>
I believe that Windows cluster services will control
access to the disk and ensure that BDB running on the
passive node will only access the disk when the
primary fails.Yes. Actually, the passive node has no control over the
shared disk, so the BDB application can only open the
environment after the passive node becomes active and
gains access to the shared disk.
So, I'm tempted to say that this scenario should
work, assuming you're using Windows services
correctly. To my knowledge, there's nothing in
Berkeley DB to prevent this usage. On the other
hand, you'll be relying on the underlying OS services
to give the correct semantics wrt. accessing the
shared storage. For example, if BOTH nodes were to
write to the shared storage, you will most likely get
data corruption, since BDB does not synchronize disk
access ACROSS nodes.That will not happen, as the services on the passive node have
no access to the shared disk.
I'll continue to ask around for a better answer. In
the meantime, I'd encourage you to continue your
testing and keep us posted. If you prefer, you can
contact me directly at ashok dot joshi at oracle dot
com.Thanks for your feedback.
My current theory is that a failover is equivalent to a
BDB application crashing and being restarted.
So one has to re-open the environment and run recovery
before continuing work.
Karl
Similar Messages
-
Java stack on working on node 1 of windows cluster
Hi All,
I am trying to install SAP ECC 6 in the Windows cluster ,
already installed CI , ABAP+java in node 1and running sucessfully, after making creating group in oracle fail safe server and performing steps of cluster installation .
Now when i am trying to start the SAP in node 1 , ABAP Work process is working fine , but not showing anything in java work process , provide details for dev_disp , i am not able to paste all the dev_disp file
please help
kshetij
trc file: "dev_disp", trc level: 1, release: "700"
sysno 02
sid PRD
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 144
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 3316
Tue Oct 13 16:37:35 2009
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (02 3316) [dpxxdisp.c 1243]
shared lib "dw_xml.dll" version 144 successfully loaded
shared lib "dw_xtc.dll" version 144 successfully loaded
shared lib "dw_stl.dll" version 144 successfully loaded
shared lib "dw_gui.dll" version 144 successfully loaded
shared lib "dw_mdm.dll" version 144 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Tue Oct 13 16:37:39 2009
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >bnsrisap01_PRD_02 <
DpShMCreate: sizeof(wp_adm) 23680 (1480)
DpShMCreate: sizeof(tm_adm) 5652128 (28120)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
DpShMCreate: sizeof(comm_adm) 552080 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1864)
DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000EE70050, size: 6347104)
DpShMCreate: allocated sys_adm at 000000000EE70050
DpShMCreate: allocated wp_adm at 000000000EE72150
DpShMCreate: allocated tm_adm_list at 000000000EE77DD0
DpShMCreate: allocated tm_adm at 000000000EE77E30
DpShMCreate: allocated wp_ca_adm at 000000000F3DBCD0
DpShMCreate: allocated appc_ca_adm at 000000000F3E1A90
DpShMCreate: allocated comm_adm at 000000000F3E39D0
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 000000000F46A660
DpShMCreate: allocated gw_adm at 000000000F46A6E0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 000000000F46A710
DpShMCreate: allocated wall_adm at 000000000F46A720
MBUF state OFF
DpCommInitTable: init table for 500 entries
Tue Oct 13 16:37:40 2009
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
<ES> Info: em/initial_size_MB( 16383MB) not multiple of em/blocksize_KB( 4096KB)
<ES> Info: em/initial_size_MB rounded up to 16384MB
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 4095 blocks reserved for free list.
ES initialized.
J2EE server info
start = TRUE
state = STARTED
pid = 5016
argv[0] = D:\usr\sap\PRD\DVEBMGS02\exe\jcontrol.EXE
argv[1] = D:\usr\sap\PRD\DVEBMGS02\exe\jcontrol.EXE
argv[2] = pf=
sapcluster\sapmnt\PRD\SYS\profile\PRD_DVEBMGS02_bnsrisap01
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=65000
argv[5] = -DSAPSYSTEM=02
argv[6] = -DSAPSYSTEMNAME=PRD
argv[7] = -DSAPMYNAME=bnsrisap01_PRD_02
argv[8] = -DSAPPROFILE=
sapcluster\sapmnt\PRD\SYS\profile\PRD_DVEBMGS02_bnsrisap01
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1633]
***LOG Q0K=> DpMsAttach, mscon ( sapcluster) [dpxxdisp.c 11822]
DpStartStopMsg: send start message (myname is >bnsrisap01_PRD_02 <)
DpStartStopMsg: start msg sent to message server o.k.
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpJ2eeLogin: j2ee state = CONNECTED
Release check o.K.
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
Tue Oct 13 16:37:42 2009
MBUF state ACTIVE
DpModState: change server state from STARTING to ACTIVE
Tue Oct 13 16:37:44 2009
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 232
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1705) [nixxi.cpp 4424]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=5016)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Tue Oct 13 16:38:20 2009
J2EE server info
start = TRUE
state = STARTED
pid = 2292
argv[0] = D:\usr\sap\PRD\DVEBMGS02\exe\jcontrol.EXE
argv[1] = D:\usr\sap\PRD\DVEBMGS02\exe\jcontrol.EXE
argv[2] = pf=
sapcluster\sapmnt\PRD\SYS\profile\PRD_DVEBMGS02_bnsrisap01
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=64998
argv[5] = -DSAPSYSTEM=02
argv[6] = -DSAPSYSTEMNAME=PRD
argv[7] = -DSAPMYNAME=bnsrisap01_PRD_02
argv[8] = -DSAPPROFILE=
sapcluster\sapmnt\PRD\SYS\profile\PRD_DVEBMGS02_bnsrisap01
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
DpJ2eeLogin: j2ee state = CONNECTED
Tue Oct 13 16:38:23 2009
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
ERROR => NiIRead: SiRecv failed for hdl 6 / sock 188
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1813) [nixxi.cpp 4424]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2292)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWNHello Kshetij,
Check this sap note 723909 and adjust the memory parameters of JVM.
Also ,check if central services are running ,SCS and message server entry is there in etc/services file ,it will be like sapmsSID
Regards
Ajay -
We have a MSSQL 2008R2 Enterprise edition with a two node active passive fail-over cluster running on 2008R2 windows cluster with out any issues,
Now my question is can we add one more MSSSQL cluster instance for the same setup with out disturbing the existing one ?
Also give thoughts on load sharing as the second node is mostly ideal now except fail-over scenarios,
Why we go for this situation is because of the collation setting which can be set only one per instance(Database collation setting change not working), we need a different default collation for the new setuphi,
>>Now my question is can we add one more MSSSQL cluster instance for the same setup with out disturbing the existing one ?
Yes it is possible .You need to add new drives as cluster aware and install SQL server and put data and log files on thse drives.YOu would need to create named instance of SQL server and need to create different resource group.Both old installation and new
onw would work separately.
>>Also give thoughts on load sharing as the second node is mostly ideal now except fail-over scenarios,
Good point indeed.You are about to create Multi instance cluster and should plan for scenario where one node is down and other node is handling load for both instances.Memory and CPU should be enough to handle the load.
>>Why we go for this situation is because of the collation setting which can be set only one per instance(Database collation setting change not working), we need a different default collation for the new setup .
Just for collation if you are installing new instance seems little wierd to me.You can manage collation at column ,database and at server level.
http://technet.microsoft.com/en-us/library/aa174903(v=sql.80).aspx
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
How to manage windows cluster on windows server 2008 R2
Hi I want to know how to properly shutdown or stop windows cluster with out failover or failing it.
I have successfully created windows cluster on win 2008 R2 sp1 using vmware with starwind software for SAN storage.
Now when I shut down or stop cluster service on node1 it failsover and shows critical errors fine.ok... I tried to destroy and clean up cluster using cmd commands.Forcecleanup both nodes with cmd commands.it was successful.
Later I recreated san storage with target and initiator configuration using starwind without any issue.
I Reinstalled FC service on both the nodes restarted vmnodes.I cheked all the firewall were disable.and machines able to ping well..
Now when I tried to recreate new cluster it fails and gives different errors.AS Node1 was evicted from cluster,Another was Quoram was lost as no witness disk was found.
Also It did not show my cluster under FCM on Node2.I tried to add node Node2 but error saying Node2 is already in a cluster.
So I want to know how to manage windows cluster properly and manage it entries in active directory so that even after shutting/stopping the service/destroying cluster I do not need to do all over again.
I had to recreate all VMware from start and do AD setup and SAN storage again then only windows cluster got successfully created once again....................
I had to recreate all vmware nodes with FC sevice reinstalled and also recreate AD DS and DNS.
srm_2010Hi srm_2010,
You can refer the following KB:
Start or Stop the Cluster Service on a Cluster Node
http://technet.microsoft.com/en-us/library/cc771742.aspx
I’m glad to be of help to you!
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Installation of SAPCCM4X-Agent on Windows Cluster
Hi!
I woulld like to install SAPCCM4X-Agent on Windows Cluster.
Does anyone know the procedure here (e.g. install the agent twice on both nodes, etc.)...
Thank you very much!
regards
ThomHello Thom,
Here is a note that will help you out.
SAP Note 536954 - OS data in a cluster environment for OS07
As per the note
The CCMS agent must be located on a shared disk, so that the cluster administrator software can start the service later.
Regards,
Siddhesh
Edited by: Siddhesh Ghag on May 27, 2008 11:02 AM -
Creating a windows cluster 2012 for sql server 2012 clustered installation
Hello,
I am trying to create a windows cluster for sql server 2012 clustering on windows server 2012 R2 standard edition-64bit OS
when i perform the test after adding the cluster nodes i get this warning on networking.:Validate the servers can communicate
do i have to enable UDP port 1434?
I enabled ports 3343 on both the server but i still get the error.Please see the image below .Please suggest.
Thank you.
luckyDo you have installed one SQL Server instance on the node?
http://blogs.technet.com/b/meamcs/archive/2013/02/15/sql-2012-failover-cluster-build-step-by-step-part-1-installing-sql-2012.aspx
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Clone R12.1.3 in Windows Cluster environment
Hi Oracle gurus,
I’m currently “fighting” with cloning the already fresh installed R12.1.3 instance on Windows Cluster architecture:
Source system:
Fresh install EBS 12.1.3 on 1 physical server:
- Windows 2008 R2;
- Application on drive D;
- DB 11.2.0.2 on drive E;
Target system (single instance):
- MS Windows failover Cluster – 2 physical servers with shared SAN drives D: and E:
o oracleHQ1 – active;
o oracleHQ2 – passive;
o OracleERP – virtual cluster hostname;
- Windows 2008 R2 on both server’s C: drive;
- ApplicationTier on shared D: ;
- DB on shared E: ;
- Oracle FailSafe on both server’s C: ;
- DB (DB and DB Listener) and Apps (APPS_listener, ConcManager and OPMN) services are running on oracleHQ1 when active; same services started on oracleHQ2 in case of oracleHQ1 (hardware) fail.
- EndUsers logging through one url: http:\\oracleerp.domain.com:8000 to the active server;
- (My customer will prevent hardware failover through this solution.)
What are the steps to clone the source instance to the target, in order to have active/passive failover solution? I prefer to spare the steps, I’ve already done so far, to avoid misleading.
Please advise/guide, as I’m in a stuck for 2 weeks.
Thanks in advance.Hi,
here are the details:
First try:
All the preclone steps are done as per DocID 406982.1
On the target (logged onto oracleHQ1):
- Successfully cloned and configured the DB with hostname OracleERP (virtual cluster hostname);
- Successful appsTier adcfgclone.pl and AutoConfig with hostname OracleERP (virtual cluster hostname);
- All the DB and apps services (named with “*OracleERP*”) are starting on oracleHQ1, except the Concurent Manager (fails 30sec. after start);
- Not tried to clone on oracleHQ2 with with hostname OracleERP;
Second try:
On the target (logged onto oracleHQ1):
- Successfully cloned and configured the DB with hostname OracleERP (virtual cluster hostname);
- Successful appsTier adcfgclone.pl and AutoConfig with hostname oracleHQ1 (virtual cluster hostname);
- All the DB (named with “*OracleERP*”) and apps services (named with “*oracleHQ1*”) are starting on oracleHQ1;
- The instance is working fine, but unable to clone the same services on oracleHQ2;
My question is:
Should I clone the DB and the Apps firstly with hostname oracleHQ1 (logged through oracleHQ1), or I should clone it with hostname OracleERP (virtual cluster hostname)? And how are the same services created and configured on the second server oracleHQ2 (should the services have the identical names), in case of failover.
Thank you
Krasen -
Oracle on windows cluster, with failsafe installed. Can it be switched live
Hi all
We have a oracle database, 10.2.0.4, installed on a 2 node Windows cluster (2003 R2 64 bit). Only one node is the active node. On top of this Failsafe is installed.
Oracle is used for SAP.
Normally when I need to switch the Oracle database from node1 to node2 I follow this procedure:
1 bring down SAP
2 set the database offline
3 switch the Oracle database using failsafe
4 set the database online
5 start sap
Being a hospital we just want to have SAP up all the time, this procedure only takes 20 min but I wondered if the switch could be done live
So just go into the failsafe manager and switch, (won't do it in prime time of course)
Can this live switch result in a corrupt database?
Thanks for replyingHi,
to do it really life you need another technology than a "failover cluster". You can use RAC for this.
A failover cluster itself needs to be sure that the stack is down, before bringing it up on the other side. If not this can leed to corruptions... (though Oracle will try to prevent them in most cases)...
Regards
Sebastian -
Hi
We are having a windows cluster environment? I want to add Oracle to this environment. There are a few issues
1) Could we add Oracle standard edition to windows cluster?
Please provide me some document depicting the process to do so.
ThanksFail Safe .... I understand that only one node will be active at any time. When one fails, second node is up and the traffic is routed to the second one.
HTH
Regards,
Badri. -
Windows Cluster Management Library did not pass the security verification
so, nothing to add
Windows Cluster Management Library did not pass the security verification.
The management pack cannot be downloaded and the temporary file has been deleted.
Could not load management pack [ID=Microsoft.Windows.Cluster.Management.Library, Keytoken=31bf3856ad364e35, Version=7.1.10100.0].
Current versions:
SCOM 2012R2 update rollup 4
Windows Cluster Library 7.0.8433.0
Windows Cluster Management Library 6.0.7063.0
Windows Cluster Management Monitoring 6.0.7063.0
any solution to fix?
noneIgor,
take it from there:
http://www.microsoft.com/en-us/download/details.aspx?id=2268
I assume you tried to get (download/import) it directly through the console, right? That's not recommended since you most of the times don't get the guides (download) or can review the MP (import).
A better source for downloading (and to subscribe for mail notifications) would be:
http://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx
Cheers,
Patrick
Please remember to click “Mark as Answer” on the post that helped you.
Patrick Seidl (System Center and Private Cloud)
Website: http://www.syliance.com
Blog: http://www.systemcenterrocks.com -
Hi all,
Do you know if B1 supports Windows Cluster Environment or Network Load Balancing Environment.
The customer wants to to load B1 SAP on a failover environment so that if B1 Server dies, it will failover to secondary B1 SAP server. Can you let me know if this is a possiblity and also what config needs to be done on server side?
Any advice greatly appreciated.
Thanks,
John O'BrienHi John,
To be able to answer your enquiry, I would like to point you to the Portal > Product Availability > Supported Platforms.
Link:
https://websmp206.sap-ag.de/smb/knowledge/
At this location, you will find all the supported platforms, Server, Client, Database.
It is recommended to implement all the potential new systems in accordance to this list of supported platforms since they have been tested, verified and passed.
Hope you will find it helpful.
Kind regards,
Willy
SAP Business One Forums Team -
Oracle client install on Windows Cluster
Hi,
Is it possible to install Oracle Client (v10.2) on a Windows Cluster (win2003 Enterprise Edition) so that it is cluster aware?
Essentially, I need this to support Linked servers and ODBC connections (to Oracle database) on a Sqlserver instance which is going to be clustered . I am exploring possibilities of Oracle client installation which would require minimal or no changes when server fails from one node to the other.
Any help or pointers to any documentation gratefully recieved.
Regards,
Jim.Hello there !!!...
I have a question like that... I just want to know if you can export data to a MsSQL server that is in cluster.
Thanks for the response.
ales -
Documentation about SAP on Windows Cluster
Hello!
We are searching for appropriate documentation about SAP on Windows Cluster:
- administration of SAP on Windows Cluster with Oracle
- the process of kernel change
Any helpful information will be very appreciated.
Thank you!Hello Tom,
I think the following link can be a good starting point for you:
[SAP on Microsoft Windows|SAP on Microsoft Windows]
You will find the info at the bottom of the screen under:
- Important SAP Notes on Windows
- SAP on Windows - Document Archive
Success.
Wim Van den Wyngaert -
CCMS on Windows cluster - monitor database disks
Hi all,
We have BI7.0 system on windows cluster and ORACLE database. In default ccms doesn't monitor the storage disks (not local disks). SoI've followed the instructions of note 536954 and installed SAPCCMSR in cluster database group to be able to monitor this disks.
However in RZ20->filesystem I see the new instance (virtual name of the database) but still see only local disks. Any idea ?
Please advice,
Dimitry Haritonovanyone ?
it´s weekend
sapccms makes the data available, the filesystem data itself is collected by saposcol. Do you use the newest version?
Markus -
Oracle 10g on windows cluster...
Hi,
Did anyone know the steps to install oracle 10g on windows 2003 server cluster environment.Plz help me. with any weblink.Thanks...No i dont understand.Is there any problem with my question.Do NOT post same question in more than 1 thread!
click on previously provided URL below
Oracle 10g on windows cluster...
Maybe you are looking for
-
Iphone 5s voice memo version in iPad app store? same
i want to make sure after my quickvoice horror i download the correct version. i don't see any with the zig zag line for iPad? voice memo.
-
HI, CAN I GET ANY STANDARD REPORT WITH THE FOLLOWING COLUMNS. GOODS ISSUE DOC NO- MATERIAL- QTY-MVMT TYPE-G/L ACCT-VAL CLASS PLZ SUGGEST IF ANY OTHER ALTERNATIVES IF ANY. THAN
-
Starting Up: Folder with Question Mark Icon
I do not know when this problem began whereas I do not restart my Mac that often. But the problem is that whenever I boot up my MacPro now I get this icon that is a folder with a question mark inside of it, and it keeps blinking. The weird thing is,
-
Different ways to store/retrieve blob
Hi, Can somebody explain to me , the methods available to store a file(different formats .pdf,.doc,.gif etc..) as blob in to database and retrieve as the same file.?? I'm using forms6i and database10g. I first tried with DBMS_LOB package, but during
-
I have troubleshoot beyond the average user expectations, google for answers and read many forums posts to no avail... and I refuse to believe that I will have to download a 3rd party app to make my iMac go to sleep. My MacBook has shown similar symp