It is possible to see your bootstrap code commands in /var/log/ns.log – do a grep NSVAconf and stuff should appear.
1 2 3 4 |
Dec 1 08:57:32 <local0.info> ns NSVAconf[1148]: Found Preboot config Dec 1 08:57:32 <local0.info> ns NSVAconf[1148]: <NS-PRE-BOOT-CONFIG> Dec 1 08:57:32 <local0.info> ns NSVAconf[1148]: <NS-CONFIG> Dec 1 08:57:32 <local0.info> ns NSVAconf[1148]: disable mode L3 edge |
The formatting is quite strict, so pay attention to the article on docs; https://docs.citrix.com/en-us/citrix-adc/current-release/deploying-vpx/apply-vpx-config-at-preboot.html
IF you use the default marketplace image, undocumented bootstrapping is used – the file: /nsconfig/cloud_userdata contains the following:
1 2 |
cat /nsconfig/cloud_userdata { "username": "nsroot","ha_config":{"peer_node":"10.1.0.5"},"vpx_config": { "pvt_ip_11": "20.123.166.121", "snip_11": "10.1.1.4", "pvt_ip_12": "10.1.2.4","subnet_11": "10.1.1.0/24", "subnet_12": "10.1.2.0/24","PublishMonitoringMetrics":"False" }} |
It will be different on the other node, since it would have to add the HA partner with another IP address.
It would have been too easy, if it was regular CLI commands, that the article proposes.