How To : Setup MariaDB 10.1 3 Node cluster

Currently i’m on the process of choosing the matured product like galera clustering vs the new MySQL Group Replication.

I’m my past engagement, i only work on MariaDB 5.5 and 5.6 with galera cluster running on cloud.

The following are the step to create my test machine. —>

Advertisements

Manually Install Oracle OEM agent 13c

I’m on the process of deploying Oracle Enterprise Manager 13c on my new company since there is no proper monitoring currently setup. though at server level they are using solarwind.

when i’m trying to deploy oracle agent linux using the gui, i got some weird error, so i decided to go manual installation. —>

NuoDB Tour : A quick glance on NuoDB

I’m just new in my current role in my new company. One of my task is to look for a new database technologies.. that will become our platform of choice, and maybe migrate our MySQL and Oracle.

So many many new DB Technologies now, one of them in NuoDB.

To do the test drive download the software required from NuoDB. http://www.nuodb.com/product/evaluate-nuodb
—>

Installing Neo4j Cluster in Ubuntu 16 LTS

Today i’d been busy working on my cluster… its a 3 node running in Ubuntu.
this is a basic configuration of Neo4j cluster… on my next time let try anvance feature including backup and recovery.

First thing we need to check is the Java.

 
neo4j@lnxneo4j01:~$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
neo4j@lnxneo4j01:~$
 Continue reading 

How to Move datafile from ASM to ASM

Today got archiver error issue due to our FRA is full. reason for that is some datafile are created inside the +FRA.
My Task now is to move the datafiles from +FRA to +DATA since we already increased it.

Got permission from application to take below datafiles offline for a short period of time.

 
   FILE_ID TABLESPACE_NAME                FILE_NAME
---------- ------------------------------ --------------------------------------------------
       151 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1410.908245675
       152 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1451.908245731
       153 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1487.908245783
       154 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.380.908245805
       102 OPDB_DATA                      +FRA/xxxclpt2/datafile/opdb_data.1938.911645643
       155 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.2026.916987355
       156 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1457.916987395
       157 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1363.916987403
       158 DATA_XXX                       +FRA/xxxclpt2/datafile/data_xxx.1862.916987409
       159 DATA_RGN                       +FRA/xxxclpt2/datafile/data_rgn.2063.916987425
       160 DATA_RGN                       +FRA/xxxclpt2/datafile/data_rgn.1822.916987437
       161 DATA_RGN                       +FRA/xxxclpt2/datafile/data_rgn.2077.916987509
       162 DATA_RGN                       +FRA/xxxclpt2/datafile/data_rgn.1848.916987523
       163 INDEX_KYC                      +FRA/xxxclpt2/datafile/index_kyc.1900.916987543
       164 INDEX_KYC                      +FRA/xxxclpt2/datafile/index_kyc.2035.916987549

15 rows selected.

Continue reading

ORA-17502: ksfdcre:4 Failed to create file +FRA

A weekend is about the start and got a call and one of our database is having issue. User is unable to connect and all their activity seems hung.

ISSUE : Instance Terminated and make Node2 inaccessible due to Oracle Sees FRA is Full.
But FRA is not Full ~ 2TB is available and db_recovery_file_dest_size=2.7TB. +FRA is ~18% Utilized only.

What i Did? Drop all existing restore point and restarted all node.

So i check the alert log on node 1 database.

 
*************************************
RVWR encountered an error when writing flashback database logs.
See error stack in alert log.
Since a Guarantee Restore Point was created,
RVWR cannot force to turn off flashback.
Therefore RVWR will terminate this instance.
*************************************
Fri Sep 16 05:17:28 2016
Errors in file /optware/orabase/grid/diag/rdbms/ckyclu3/CXXXLU31/trace/CXXXLU31_rvwr_41392.trc:
ORA-38701: Flashback database log 9 seq 5 thread 1: "+FRA"
ORA-17502: ksfdcre:4 Failed to create file +FRA
ORA-15041: diskgroup "FRA" space exhausted
USER (ospid: 41392): terminating the instance due to error 38701
Fri Sep 16 05:17:28 2016
System state dump requested by (instance=1, osid=41392 (RVWR)), summary=[abnormal instance termination].
System State dumped to trace file /optware/orabase/grid/diag/rdbms/ckyclu3/CXXXLU31/trace/CXXXLU31_diag_50122_20160916051728.trc
Fri Sep 16 05:17:30 2016
License high water mark = 81
Fri Sep 16 05:17:33 2016
Instance terminated by USER, pid = 41392
Fri Sep 16 05:17:34 2016
USER (ospid: 1359): terminating the instance
Fri Sep 16 05:17:34 2016
Instance terminated by USER, pid = 1359
Fri Sep 16 05:17:35 2016 

Continue reading

ERROR OGG-01028 Detect inconsistency in pdata after 6 retries

Last weekend i was alerted of gg abend with error gode ogg-01028.

Been working with oracle gg for almost 6 years but this the first i encounter such issue.

  ***********************************************************************
**                     Run Time Messages                             **
***********************************************************************


2016-09-04 00:19:15  WARNING OGG-01027  Detect inconsistency in pdata after 0 retries, expecting tb 1048576, nf 20, got tb 196863, nf 255, bc 1572884, nb 1277498645, on record with seqno 9759
, rba 119140084 for data starts at rba 32480300.

Source Context :
  SourceModule            : [er.redo.ora.rtc]
  SourceID                : [/scratch/aime1/adestore/views/aime1_staxj16/oggcore/OpenSys/src/app/er/redo/oracle/rtc.c]
  SourceFunction          : [RTC_producer(void *)]
  SourceLine              : [2118]

2016-09-04 00:19:44  ERROR   OGG-01028  Detect inconsistency in pdata after 6 retries, expecting tb 1048576, nf 20, got tb 196863, nf 255, bc 1572884, nb 1277498645, on record with seqno 9759
, rba 119140084 for data starts at rba 32480300.

***********************************************************************
*                   ** Run Time Statistics **                         *
***********************************************************************

Continue reading