Files to modify
docker cp tml-installer:/var/jenkins_home/docker-deploy .
Navigate to the /docker-deploy/onprem/swarm/ folder on the host. Update the reference manifest deployment manifest-onprem-swarm.json file for customizing your deployment.
docker-deploy/onprem/swarm/manifest-onprem-swarm.json
Mashery Local Components Configuration
Navigate to the docker-deploy/onprem/swarm.json file and edit the cluster properties.
The following are the cluster level properties:
"tml_cluster_name": "Tibco Mashery Gateway Reference Cluster", "tml_cluster_mode": "untethered", "tml_zones": ["local"],
{ "tml_cluster_name": "Tibco Mashery Local Reference Cluster", "tml_cluster_mode": "untethered", "tml_zones": ["local"], "tml_image_tag": "v5.2.0.1", "tml_image_registry_host" : "<docker-registry-host>", "tml_image_repo": "tml", "tml_cm_count": 1, "tml_tm_count": 1, "tml_cache_count": 1, "tml_sql_count": 1, "tml_log_count": 1, "tml_nosql_count": 1, "tml_tm_http_enabled": "true", "tml_tm_http_port": 80, "tml_tm_https_enabled": "true", "tml_tm_https_port": 443, "tml_tm_oauth_enabled": "true", "tml_tm_oauth_port": 8083, "tml_api_http_enabled": "true", "tml_api_http_port": 7080, "tml_api_https_enabled": "true", "tml_api_https_port": 7443, "tml_cm_http_enabled": "true", "tml_cm_http_port": 8080, "tml_cm_https_enabled": "true", "tml_cm_https_port": 8443, "cassandra_max_heap": "512M", "cassandra_replication_factor": 1 }
Setting up Mashery Service Configuration Data
Set tml_cluster_mode as untethered in the docker-deploy/aws/k8s/manifest-single-zone.json file.
TIBCO Mashery Local offers the capability to sync data from an active MoM host at the time of cluster creation. To load the data using the MoM sync configuration, specify the following three properties in the tml_cluster_properties.json file:
"mom_key": "<MOM_API_KEY>", "mom_secret": "<MOM_API_SECRET>",
The tmgc_sql_properties.json file is located in the docker-deploy/properties/ directory.