1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

add in storage type

This commit is contained in:
david hill
2016-05-04 17:55:24 -05:00
parent 511e8ab542
commit 319cea322b
3 changed files with 256 additions and 13 deletions

View File

@ -1303,6 +1303,12 @@ int main(int argc, char *argv[])
string AmazonZone;
string AmazonVPCNextPrivateIP;
string AmazonDeviceName;
string UMVolumeType;
string UMVolumeIOPS;
string PMVolumeType;
string PMVolumeIOPS;
try {
cloud = sysConfigOld->getConfig(InstallSection, "Cloud");
x509Cert = sysConfigOld->getConfig(InstallSection, "AmazonX509Certificate");
@ -1320,6 +1326,10 @@ int main(int argc, char *argv[])
AmazonVPCNextPrivateIP = sysConfigOld->getConfig(InstallSection, "AmazonVPCNextPrivateIP");
AmazonSubNetID = sysConfigOld->getConfig(InstallSection, "AmazonSubNetID");
AmazonDeviceName = sysConfigOld->getConfig(InstallSection, "AmazonDeviceName");
UMVolumeType = sysConfigOld->getConfig(InstallSection, "UMVolumeType");
UMVolumeIOPS = sysConfigOld->getConfig(InstallSection, "UMVolumeIOPS");
PMVolumeType = sysConfigOld->getConfig(InstallSection, "PMVolumeType");
PMVolumeIOPS = sysConfigOld->getConfig(InstallSection, "PMVolumeIOPS");
}
catch(...)
{ }
@ -1382,6 +1392,11 @@ int main(int argc, char *argv[])
sysConfigNew->setConfig(InstallSection, "AmazonRegion", AmazonRegion);
sysConfigNew->setConfig(InstallSection, "AmazonZone", AmazonZone);
sysConfigNew->setConfig(InstallSection, "AmazonDeviceName", AmazonDeviceName);
sysConfigNew->setConfig(InstallSection, "UMVolumeType", UMVolumeType);
sysConfigNew->setConfig(InstallSection, "UMVolumeIOPS", UMVolumeIOPS);
sysConfigNew->setConfig(InstallSection, "PMVolumeType", PMVolumeType);
sysConfigNew->setConfig(InstallSection, "PMVolumeIOPS", PMVolumeIOPS);
}
catch(...)
{