This article describes NetScaler's VPX deployment on Azure China. This includes how to upload from VHD files, create virtual machines, and how to deploy VPX.
First, the VHD file is extracted and placed in the directory D:\Azure. Please contact Microsoft or Citrix colleague for access to the VHD file.
Upload the VHD file to Azure via the PowerShell command:
Add-azurevhd-destination Https://hweast.blob.core.chinacloudapi.cn/vhds/netscaler.vhd-LocalFilePath D:\Azure\ Dynamic.vhd
Through the progress bar, you can see the upload process.
for The file for the operation:00:00:5921474836992 for upload:00:01:31Localfilepath Destinationuri ------------- -------------- D:\Azure\Dynamic.vhd https:// Portalvhds6mlqtd15wqmm7.blob.core.chinacloudapi.cn/hwmovie/netscaler.vhd
About 1 hours of time, upload success.
Create the VHD file into image so that the virtual machine can be created with this image:
On the Virtual machine menu, under Images, click "Create"
Click Create:
Select the storage account and container where the VHD resides:
To start creating a VM Image:
Once created, this image becomes an image in image Gallery. This image can be viewed through the PowerShell command:
PS c:\users\hengz> Get-azurevmimage | Where-object {$_. ImageName-match "NetScaler"}imagename:netscaler_vpxos:linuxmedialink:https:hweast.blob.core.chinacloudapi.cn/vhds/NETSCALER2.VHDLOGICALSIZEINGB:20AffinityGroup:Category:UserLocation:China EASTLABEL:NETSCALER_VP XDescription:Eula:ImageFamily:PublishedDate:0001/1/1 0:00:00Ispremium:FalseIconUri:SmallIconUri:PrivacyUri:RecommendedVMSize:PublisherName:IOT Ype:StandardShowInGui:IconName:SmallIconName:OperationDescription:Ge T-azurevmimageoperationid:ed691a8d-5917-4eaf-97ed-37edf73358fcoperationstatus:succeeded
Pass
$vmimg = Get-azurevmimage | Where-object {$_. Imagename-match "NetScaler"}
To create a virtual machine from the command line:
$vmimg " China East " -vnetname hwvnetwarning:the specified DNS name is already taken. Warning:vnetname, dnssettings, Deploymentlabel or Deploymentname Name can only is specified on new deployments. OperationDescription operationid operationstatus------------------------------- --------------- New-AZUREVM f32f2849-e9e4-4c04-8db4-ef485af3067d succeeded
In this command, the definition user name and password are included:
Username is: User
The password is: Citrix123
In addition, if you forget your username and password, you can use
User name: Nsroot
Password: Deploymentid (available on the Azure Management page)
You can also create a virtual machine graphically:
Select from Gallery.
Select My Image and select NETSCALER_VPX.
In the Create page, fill in the corresponding information, at this time cannot use the user username, you can use Azureuser:
You'll also need to create: cloud services, choose a vnet, choose Haset, Port mapping (or later Deployment):
Click Confirm to create the virtual machine:
Third, configure Port mapping
For the two netscaler that make up ha, you need to configure the port configuration for the created virtual machine, including HTTP, HTTPS load balancing, and port mapping for the management port as well:
Now that NetScaler has been created successfully on Azure, here's how to configure NetScaler.
NetScaler VPX deployment on Azure (i)