Navigate
ScaleArc Customer Support
  • Login to Ignite Global Support
or
Contact Us
  • Get in touch

    Send us an email

  • Submit Feedback

    Feedback and suggestions submitted by customers like you

  • Knowledgebase Read help articles
  • Feedback Custom suggestions
  • Downloads Browse our downloads
  • Contact Us We are here to help
  • Portal
  • Knowledgebase
  • ScaleArc Registered User
  • How to Create a clone of the ScaleArc Cluster on a different ScaleArc Instance.
Subscribe Download PDF

How to Create a clone of the ScaleArc Cluster on a different ScaleArc Instance.

Abhijit Dhumal
2017-09-18
0 Comments
in ScaleArc Registered User

Release Classification Level DB Platform Categories
3.2+ How To ALL Cluster Configuration

 

OBJECTIVE

How to Create a clone of the ScaleArc Cluster on a different ScaleArc Instance.

PROCEDURE

If you want to export a Cluster configuration from one ScaleArc instance to another instance use the following procedure from ScaleArc CLI:

  • To take a backup a Cluster configuration from a ScaleArc Cluster use the following call:

 

$ curl -o <filename>.tar.gz "https://<ScaleArc Management IP>/api/cluster/<CID>/export_cluster_config?apikey=<API Key>" -k

 

  • To Create the Cluster on the New Instance use the following API call:

 

$ curl -F "importClusterInfo=@<filename.tar.gz>" "https://<Destination ScaleArc IP>/api/import_cluster_config?apikey=<Destination ScaleArc API Key>&clustername=<Cluster Name>&instancename=<Instance Name>&cluster_inbound_ip=<Cluster Inbound IP>&cluster_outbound_ip=<Cluster Outbound IP>&cluster_inbound_port=<Cluster Inbound Port>" -k

 

  • To fetch the API key for the ScaleArc instance from UI refer the steps mentioned in this KB Article.


These steps will create a new cluster on the destination ScaleArc and clone the Cluster Settings, Cache & Query routing rules and "Users & Dbs" from the original cluster to the New cluster.

 Note: In order to create the Cluster with 'All IPs' enter the Inbound and Outbound IP Address as "0.0.0.0"

 

Important Note :Post Cloned Cluster Creation, it is mandatory to run attached shell script when this KB followed with ScaleArc Version below 3.12. Script will ask for the Cluster ID of the newly created Cloned Cluster and perfrom configuration change in the sqlite. Post Script execution, Please restart the cloned cluster.

 

Steps to execute above Important Note:

1. Copy the attached Script to ScaleArc instance in /home/idb directory.

2. Untar file

tar -zxvf sqliteclone.tar.gz

2. Assign execute permission to Script

   chmod +x /home/idb/SqliteCloneChange.sh

3. Execute following with idb user and pass Cluster ID of the Cloned Cluster.

       [idb@scalearckerb ~]$ sudo sh /home/idb/SqliteCloneChange.sh

      Enter Cluster ID of Cloned Cluster: 3

       Cloned Cluster ID is : 3

4. Restart the ScaleArc newly Cloned Cluster  

 


If you are experiencing issues with ScaleArc or with any of it's features, please contact ScaleArc Support. We are available 24x7 by phone at 855 800 7225 or +1 408 412 7315. For general support inquiries, you can also e-mail us at support@scalearc.com.

Copyright ©2014 ScaleArc, Inc. All rights reserved. Contact Support |  Contact ScaleArc |  Feedback

2901 Tasman Drive Santa Clara, CA 95054 | Email:  support@scalearc.com

Permalink: https://support.scalearc.com/kb/articles/4291
  • Tags
  • clone of the ScaleArc Cluster
  • clone scalearc cluster
  • export cluster configuration

Attachments

  • sqliteclone.tar.gz [269.00 B]

Rate the quality of this page

This page was helpful :) :( This page was not helpful

3 of 7 people found this page helpful


Quick Jump
  • ScaleArc Customer Support
  • Knowledgebase
  • Downloads
  • Feedback
  • Contact Us
Top
Helpdesk software provided by DeskPRO