Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
iamraylau
Explorer
Jump to solution

GAIA configuration template in AWS/Azure

Hi All,

Does anyone know how to configure the GAIA setting under the AWS auto-scaling group or Azure VMSS? 

the GAIA setting should have below configuration

1. SNMPv2 community string 

2. NTP 

3. GAIA user 

4. Install with the latest jumbo hotfix

 

 

0 Kudos
1 Solution

Accepted Solutions
Edan_Leventhal
Employee
Employee

Hi,

You can execute this by adding a custom bash script to be run by the CME using the autoprovision script's -cg flag

To configure the CME run on the management server:

#autoprov-cfg set template -tn "<template_name>" -cg <path_to_script>

 

You would want to create a bash script to run your required clish commands, for example:

#!/bin/bash
clish -c 'set ntp server primary 8.8.8.8 version 4'
clish -c 'save config'

 

Setting the above will run the script anytime a new instance is created.

Hope this helps

View solution in original post

3 Replies
Edan_Leventhal
Employee
Employee

Hi,

You can execute this by adding a custom bash script to be run by the CME using the autoprovision script's -cg flag

To configure the CME run on the management server:

#autoprov-cfg set template -tn "<template_name>" -cg <path_to_script>

 

You would want to create a bash script to run your required clish commands, for example:

#!/bin/bash
clish -c 'set ntp server primary 8.8.8.8 version 4'
clish -c 'save config'

 

Setting the above will run the script anytime a new instance is created.

Hope this helps

iamraylau
Explorer

Hi Edan, 

Thanks for your promptly reply.

May I know the "<path to script>" means the the script path located in SMS disk? Can I use the multiple scripts with the same flag? like 

#autoprov-cfg set template -tn "<template_name>" -cg <path_to_script-1> -cg <path_to_script-2> -cg <path_to_script-3>
Furthermore, how can we provision the CGNS instance together with the latest jumbo hotfix install? 

0 Kudos
Edan_Leventhal
Employee
Employee

Hi,

1. Yes - The script needs to be located in the management server

2. To my knowledge you can only use the flag once, so only 1 script, you will have to put all the configurations in one file.

3. Generally, when you deploy new instances they come with the latest recommended jumbo hotfix normally, so this shouldn't be much of an issue.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.