Prerequisite Checker JSON File

After you set up the infrastructure for all the Virtual Appliance Overview, create a CloudCenter Descriptor JSON file that lists all the CloudCenter components with their Component Modes and the IP address that correspond to the infrastructure elements for each mode and role. This descriptor file is used in Phase 3: Run the Prerequisite Checker. This section provides sample descriptor files based on common combination of component modes.

Save the JSON file locally.

The overall file structure depends on the following factors:

  • Modes for each component
  • Number of cloud regions
  • Use of conditional/optional components, repos, and so forth.
  • The unique region names used in this file. Be aware that these names do not need to match up with any cloud or datacenter names. These strings are only used to perform network compliance checks and report results

If you have set up a local Repo server, replace the Bundle Store, Package Store, and Docker Registry values with your server values (along with any other changes specific to your setup). If not, you can use the default values used in the sample Descriptor files below.

If you have configured DNS names, use the DNS names instead of IP addresses.

  •  Descriptor File: Sample 1
    {
        "CloudCenterComponents": {
            "CCM": {
                "CCM_IP": "CCM.Company1.com",
                "mode": "NON-HA "
            },
            "CloudRegions": [{
                "components": {
                    "AMQP": {
                        "AMQP_IP": "AMQP.Company1.com",
                        "mode": "NON-HA"
                    },
                    "CCO": {
                        "CCO_IP": "CCO.Company1.com",
                        "mode": "NON-HA"
                    }
                },
                "name": "AWSEast"
            }],
            "REPOS": {
                "BUNDLE_STORE": "http://cdn.cliqr.com",
                "DOCKER_REGISTRY": "http://repo.cliqrtech.com:5000",
                "PACKAGE_STORE": "http://repo.cliqrtech.com"
            }
        }
    }
  •  Descriptor File: Sample 2
    {
        "CloudCenterComponents": {
            "CCM": {
                "CCM_SA_IP": "CCM.Company2.com",
                "MGMTPOSTGRES_IP": "MGMTPOSTGRES_SA.Company2.com",
                "mode": "STANDALONE"
            },
            "CloudRegions": [{
                "components": {
                    "AMQP": {
                        "AMQP_IP": "AMQP.Company2.com",
                        "mode": "NON-HA"
                    },
                    "CCO": {
                        "CCO_IP": "CCO.Company2.com",
                        "mode": "NON-HA"
                    }
                },
                "name": "AWSEast"
            }],
            "REPOS": {
                "BUNDLE_STORE": "http://cdn.cliqr.com",
                "DOCKER_REGISTRY": "http://repo.cliqrtech.com:5000",
                "PACKAGE_STORE": "http://repo.cliqrtech.com"
            }
        }
    }
  •  Descriptor File: Sample 3
    {
        "CloudCenterComponents": {
            "CCM": {
                "CCM_LB_IP": "169.0.1.1",
                "CCM_SA_PRIMARY_IP": "169.0.1.2",
                "CCM_SA_SECONDARY_IP": "169.0.1.3",
                "MGMTPOSTGRES_MASTER_IP": "169.0.1.4",
                "MGMTPOSTGRES_SLAVE_IP": "169.0.1.5",
                "MGMTPOSTGRES_VIP": "169.0.1.6",
                "mode": "HA"
            },
            "CloudRegions": [{
                "components": {
                    "AMQP": {
                        "AMQP_LB_IP": "169.0.1.7",
                        "AMQP_PRIMARY_IP": "169.0.1.8",
                        "AMQP_SECONDARY_IP": "169.0.1.9",
                        "mode": "HA"
                    },
                    "CCO": {
                        "CCO_LB_IP": "169.0.1.10",
                        "CCO_PRIMARY_IP": "169.0.1.11",
                        "CCO_SECONDARY_IP": "169.0.1.12",
                        "mode": "HA"
                    },
                    "Dedicated_External_Script_Executor": {
                        "EXT_SCRIPT_EXECUTOR_IP": "169.0.1.13",
                        "mode": "NON-HA"
                    },
                    "Dedicated_Guacamole_Server": {
                        "GUAC_IP": "169.0.1.14",
                        "mode": "NON-HA"
                    }
                },
                "name": "AWSEast"
            }, {
                "components": {
                    "AMQP": {
                        "AMQP_LB_IP": "169.0.1.15",
                        "AMQP_PRIMARY_IP": "169.0.1.16",
                        "AMQP_SECONDARY_IP": "169.0.1.17",
                        "mode": "HA"
                    },
                    "CCO": {
                        "CCO_LB_IP": "169.0.1.18",
                        "CCO_PRIMARY_IP": "169.0.1.19",
                        "CCO_SECONDARY_IP": "2.2.2.2",
                        "mode": "HA"
                    },
                    "Dedicated_External_Script_Executor": {
                        "EXT_SCRIPT_EXECUTOR_IP": "169.0.1.20",
                        "mode": "NON-HA"
                    },
                    "Dedicated_Guacamole_Server": {
                        "GUAC_IP": "169.0.1.21",
                        "mode": "NON-HA"
                    }
                },
                "name": "MyOpenStack"
            }],
            "MON": {
                "MON": "169.0.1.22",
                "mode": "NON-HA"
            },
            "REPOS": {
                "BUNDLE_STORE": "http://cdn.cliqr.com",
                "DOCKER_REGISTRY": "http://repo.cliqrtech.com:5000",
                "PACKAGE_STORE": "http://repo.cliqrtech.com"
            }
        }
    } 

 

  • No labels