Azure tags for NetScaler VPX deployment
How Azure tag works for VPX deployment
Before you begin
How to add Azure tag settings by using VPX GUI
-
From the VPX GUI, go to Configuration > Azure > Cloud Profile.
-
Click Add to create a cloud profile. The cloud profile window opens.
-
Enter values for the following fields:
-
Name: Add a name for your profile
-
Virtual Server IP Address: The virtual server IP address is auto-populated from the free IP address available to the VPX instance. For more information, see Assign multiple IP addresses to virtual machines using the Azure portal.
-
Type: From the menu, select AZURETAGS.
-
Azure Tag Name: Enter the name that you have assigned to the VMs or NICs in the Azure portal.
-
Azure Tag Value: Enter the value that you have assigned to the VMs or NICs in Azure portal.
-
Azure Poll Periods: By default the poll period is 60 seconds, which is the minimum value. You can change it according to your requirement.
-
Load Balancing Server Protocol: Select the protocol that your load balancer listens on.
-
Load Balancing Server Port: Select the port that your load balancer listens on.
-
Azure tag setting: The name of the service group that will be created for this cloud profile.
-
Azure Tag Setting Protocol: Select the protocol that your back-end servers listen on.
-
Azure Tag Setting Port: Select the port that your back-end servers listen on.
-
-
Click Create.
How to add Azure tag settings by using VPX CLI
add cloud profile `<profile name>` -type azuretags -vServerName `< vserver name>` -serviceType HTTP -IPAddress `<vserver IP address>` -port 80 -serviceGroupName `<service group name>` -boundServiceGroupSvcType HTTP -vsvrbindsvcport 80 -azureTagName `<Azure tag specified on Azure portal>` -azureTagValue `<Azure value specified on the Azure portal>` -azurePollPeriod 60
save config.
add cloud profile MyTagCloudProfile -type azuretags -vServerName MyTagVServer -serviceType HTTP -IPAddress 40.115.116.57 -port 80 -serviceGroupName MyTagsServiceGroup -boundServiceGroupSvcType HTTP -vsvrbindsvcport 80 -azureTagName myTagName -azureTagValue myTagValue -azurePollPeriod 60
Done
show cloudprofile.
show cloudprofile
1) Name: MyTagCloudProfile Type: azuretags VServerName: MyTagVServer ServiceType: HTTP IPAddress: 52.178.209.133 Port: 80 ServiceGroupName: MyTagsServiceGroup BoundServiceGroupSvcType: HTTP
Vsvrbindsvcport: 80 AzureTagName: myTagName AzureTagValue: myTagValue AzurePollPeriod: 60 GraceFul: NO Delay: 60
<cloud profile name>
> rm cloudprofile MyTagCloudProfile
Done
Troubleshooting
#> rm servicegroup <serviceGroupName>
#> rm server <name>
#> shell
# PID=`ps -aux | grep rain_tags | awk '{print $2}'`; kill -9 $PID