From b5331c0a413e825527dc870c04395adbd552af99 Mon Sep 17 00:00:00 2001 From: david hill Date: Thu, 19 Oct 2017 16:26:07 -0500 Subject: [PATCH] disable replication for ss --- oamapps/mcsadmin/mcsadmin.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/oamapps/mcsadmin/mcsadmin.cpp b/oamapps/mcsadmin/mcsadmin.cpp index c1261068e..1b8ce159a 100644 --- a/oamapps/mcsadmin/mcsadmin.cpp +++ b/oamapps/mcsadmin/mcsadmin.cpp @@ -4974,6 +4974,12 @@ int processCommand(string* arguments) case 46: // enableReplication { + if ( SingleServerInstall == "y" ) { + // exit out since not on single-server install + cout << endl << "**** enableReplication Failed : not supported on a Single-Server type installs " << endl; + break; + } + string MySQLRep; try { oam.getSystemConfig("MySQLRep", MySQLRep); @@ -6081,6 +6087,12 @@ int processCommand(string* arguments) case 51: // disableReplication { + if ( SingleServerInstall == "y" ) { + // exit out since not on single-server install + cout << endl << "**** disableReplication Failed : not supported on a Single-Server type installs " << endl; + break; + } + string MySQLRep; try { oam.getSystemConfig("MySQLRep", MySQLRep);