...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "ClusterSetup": { "ClusterId": "TestCluster_DemoDetails", "ShortName": "TestCluster_DemoDetails", "Description": "Test Cluster ", "InitialDirectory": "/home/ec2-user/testInstancesDetails1", "ExistingSetup": "false", "AppInstaller": { "InstallerBundleFile": "/home/ec2-user/HelloTQL.zip", "VersionNumber": "1.10" }, "Instances": { "InstanceDetails": [ { "InstanceName": "TestCluster_Shipra1", "HostName": "", "IPAddress": "18.216.140.179", "Port": "8087", "JvmArguments": "-Xms1027m -Xmx3g -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCDateStamps", "Path": "" }, { "InstanceName": "TestCluster_Muralee1", "HostName": "", "IPAddress": "18.216.140.179", "Port": "8089", "JvmArguments": "-Xms1027m -Xmx3g -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCDateStamps", "Path": "" } ] }, "LogFilesDirectory": "/home/ec2-user/testInstancesDetails/logs", } } |
Step
...
8 Start the Monitoring Dashboard
...
{
"ClusterSetup": {
"ClusterId": "TestCluster_DemoDetails",
"ShortName": "TestCluster_DemoDetails",
"Description": "Test Cluster ",
"InitialDirectory": "/home/ec2-user/testInstancesDetails1",
"ExistingSetup": "false",
"AppInstaller": {
"InstallerBundleFile": "/home/ec2-user/deviceEngine.zip",
"VersionNumber": "6.14"
},
"Instances": {
"InstanceDetails": [
{
"InstanceName": "TestCluster_Shipra1",
"HostName": "",
"IPAddress": "18.216.140.179",
"Port": "8087",
...
"Path": ""
},
{
"InstanceName": "TestCluster_Muralee1",
"HostName": "",
"IPAddress": "18.216.140.179",
"Port": "8089",
"JvmArguments": "-Xms1027m -Xmx3g -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDetails -XX:+PrintGCDateStamps",
"Path": ""
}
]
},
"LogFilesDirectory": "/home/ec2-user/testInstancesDetails/logs",
}
}
All parameters must be configured as per A-SackConfiguratorDeamon and A-StackMonioringDashboard.
Now in command window run following command to setup clusters.
$ tql -cluster -setup path=/home/ec2-user/ConfiguratorUI/ClusterSetup.json,inputtype=file
Following message will be displayed.
Step 9 Check Cluster List
Run following command to see list of clusters
$tql -cluster list
...
Step 10 Start the Cluster
Execute below command to start particular cluster as mentioned in ClusterSetup.json file as 'ClusterId'.
$ tql -cluster -start clusterid=<cluster_id>
...
Step 11 Refresh Monitoring User Interface
After starting cluster Dashboard will look as below.
...
After selecting cluster, all cluster related information will be displayed on Dashboard.
Run following command to check status of cluster to verify.
...