Overview
App Ha is an extension of VSphere ha, extending from the protection of virtual machines to application services that run on the protection of virtual machines. Vsphere App HA is a plug-in for vsphere Web Client. With VSphere app HA, you can define high availability for applications running on virtual machines in your environment.
Function
With vsphere app HA, you can use vsphere Web Client to define the high availability of applications running on virtual machines in your environment.
VSphere APP HA performs the following functions:
L Displays the location and availability status of the application.
• Perform a user-defined fix if the service is unavailable or unstable. Repair operations include restarting the service and resetting the virtual machine.
• Triggers alerts and notifications when the service becomes unavailable or unstable.
• Enable maintenance operations to be suspended during maintenance.
L integrates with VSphere HA for resetting virtual machine functionality and compatibility with vMotion.
Services supported by VSphere APP HA
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0A/wKiom1Npn32RfYfvAAFoY85mEdA286.jpg "title=" 001. JPG "alt=" wkiom1npn32rfyfvaafoy85meda286.jpg "/>
VSphere App ha Architecture
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1Npn2DgBRN-AAH3UPxv5qw516.jpg "title=" 002. JPG "alt=" wkiol1npn2dgbrn-aah3upxv5qw516.jpg "/>
VSphere App HA Minimum resource requirements
The following disk space, memory, and network requirements must be met to begin deploying vsphere App HA Virtual appliances on the vsphere Web Client.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1Npn3fCg60bAAAre-byUtM651.jpg "title=" 003. JPG "alt=" wkiol1npn3fcg60baaare-byutm651.jpg "/>
VSphere App HA Software Requirements
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1Npn4KiifDhAADBqXJr1P8173.jpg "title=" 004. JPG "alt=" wkiol1npn4kiifdhaadbqxjr1p8173.jpg "/>
Pre-Installation Preparation work
Download the vsphere App HA, Hyperic server, and Hyperic agent installation files on the official website.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0A/wKiom1Npn7WCZk7IAAHHO6zzn5s924.jpg "title=" 005. JPG "alt=" wkiom1npn7wczk7iaahho6zzn5s924.jpg "/>
Problems in the deployment process and how to solve them
Issue: The policy could not be assigned to the selected service. No VMware vcenter Appha plugin named VC is defined on the VCenter hyperic server.
Workaround:
Enter Http://Hyperic Server ip:7080 in the browser, select the Resources option, and select a virtual machine in platforms that has the Hyperic agent installed.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1Npn5SjXsi2AAH0BWR5d-Q597.jpg "title=" 006. JPG "alt=" wkiol1npn5sjxsi2aah0bwr5d-q597.jpg "/>
Go inside and click on the Tools menu option and click New Server.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1Npn8eQ-u_UAAEJXYpexXI779.jpg "title=" 007. JPG "alt=" wkiom1npn8eq-u_uaaejxypexxi779.jpg "/>
Name:vc
Server Type:vmware VCenter Appha
Install path:*
Then click OK
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1Npn6TCybJLAAD5srAtNvs922.jpg "title=" 008. JPG "alt=" wkiol1npn6tcybjlaad5sratnvs922.jpg "/>
Click the Configuration Properties option.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0A/wKiom1Npn9fSQB3HAAGhJgW-mJQ244.jpg "title=" 009. JPG "alt=" wkiom1npn9fsqb3haaghjgw-mjq244.jpg "/>
Url:https://vcenter IP/SDK
User NAME:VC Managing Users
PASSWORD:VC Managing user passwords
Process.query: Default
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1Npn7fwvJ_hAAE6LdauUkk691.jpg "title=" 010. JPG "alt=" wkiol1npn7fwvj_haae6ldauukk691.jpg "/>
Note: when using app Ha app service recovery, enable "virtual machines and Applications" in Vsphere ha.
Start installation
Deployment steps:
First step to install Hyperic Server
Step two Install the Hyperic Agent
Step three deploy the app HA appliance and configure the connection Hyperic Server
Fourth step to create an app recovery strategy
Fifth Step test app recovery strategy
Deploying Hyperic Server
Log in to the vsphere Web client and right-deploy the OVF template in the resource pool.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0A/wKiom1Npn-3jovuTAAKaFg5nDjo852.jpg "title=" 011. JPG "alt=" wkiom1npn-3jovutaakafg5ndjo852.jpg "/>
Select the Hyperic server OVA file and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1Npn8uAL2ZbAAFDO9fQ1Sw346.jpg "title=" 012. JPG "alt=" wkiol1npn8ual2zbaafdo9fq1sw346.jpg "/>
Click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1NpoAWDpj3eAAHhbxuEEs8070.jpg "title=" 013. JPG "alt=" wkiom1npoawdpj3eaahhbxuees8070.jpg "/>
Click Accept, Next.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1Npn-Tj6Rp2AANkLwT3sKY079.jpg "title=" 014. JPG "alt=" wkiol1npn-tj6rp2aanklwt3sky079.jpg "/>
Enter a name, select the virtual Machine folder, and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0A/wKiom1NpoBehdQOrAAH73czdTzM588.jpg "title=" 015. JPG "alt=" wkiom1npobehdqoraah73czdtzm588.jpg "/>
Click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1Npn_ayO0_WAAEI9VIroEU142.jpg "title=" 016. JPG "alt=" wkiol1npn_ayo0_waaei9viroeu142.jpg "/>
Select the virtual disk format thin format, select data storage and click Next.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1NpoCiiewffAAJgx3dJqjg672.jpg "title=" 017. JPG "alt=" wkiom1npociiewffaajgx3djqjg672.jpg "/>
Select Network, IP address assignment Select manual, click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0A/wKiom1NpoDDj8TpcAAHQwFwkCUk307.jpg "title=" 018. JPG "alt=" wkiom1npoddj8tpcaahqwfwkcuk307.jpg "/>
Enter the Hyperic database password and hyperic admin password, as well as Hyperic server IP and vpostgres DB IP, and click Next.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoA_yBxGrAAJnz9OUQf8057.jpg "title=" 019. JPG "alt=" wkiol1npoa_ybxgraajnz9ouqf8057.jpg "/>
Click Done.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoBeQi6n9AAHa_MCC0MQ879.jpg "Title=" 020. JPG "alt=" wkiol1npobeqi6n9aaha_mcc0mq879.jpg "/>
When the import is complete, right-hyperic the Vapp to turn on the power.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1NpoEyTkyLpAAEYZ84WxRc594.jpg "title=" 021. JPG "alt=" wkiom1npoeytkylpaaeyz84wxrc594.jpg "/>
Complete the initialization configuration.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoC3w2PY_AAGUljaBxXk886.jpg "title=" 022. JPG "alt=" wkiol1npoc3w2py_aaguljabxxk886.jpg "/>
Enter http://10.1.32.24:7080/in the browser
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoDbSxEGIAAD64nbxi3M567.jpg "title=" 023. JPG "alt=" wkiol1npodbsxegiaad64nbxi3m567.jpg "/>
Enter the previously configured hyperic administrative user and password.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0A/wKiom1NpoGnxThf4AACUMlO_1C4891.jpg "title=" 024. JPG "alt=" wkiom1npognxthf4aacumlo_1c4891.jpg "/>
Installing the Hyperic Agent
Install the Hyperic agent in a virtual machine that requires app service monitoring.
Double-click the hyperic agent installation file.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoE7gIf_bAABKmP9hLcg351.jpg "title=" 025. JPG "alt=" wkiol1npoe7gif_baabkmp9hlcg351.jpg "/>
Click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1NpoH_yGBZLAAFBzfqAUcQ449.jpg "title=" 026. JPG "alt=" wkiom1npoh_ygbzlaafbzfqaucq449.jpg "/>
Enter Hyperic server IP other default, click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoF3DV9F2AADu9OC3wSU014.jpg "title=" 027. JPG "alt=" wkiol1npof3dv9f2aadu9oc3wsu014.jpg "/>
Enter the administrative user and password.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0A/wKiom1NpoI_R8KRNAADU1lZJEMk078.jpg "title=" 028. JPG "alt=" wkiom1npoi_r8krnaadu1lzjemk078.jpg "/>
By default you can click Next.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoGvjBOMEAACu8cziv94732.jpg "title=" 029. JPG "alt=" wkiol1npogvjbomeaacu8cziv94732.jpg "/>
Click Done.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0A/wKiom1NpoJ7iJ4T8AAE-y1vLWrc795.jpg "title=" 030. JPG "alt=" wkiom1npoj7ij4t8aae-y1vlwrc795.jpg "/>
Open the Hyperic server management interface again and add resource management to the virtual machine with the Hyperic agent installed to see the services being monitored.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoH2iIt5pAATj-ly1SOI916.jpg "title=" 031. JPG "alt=" wkiol1npoh2iit5paatj-ly1soi916.jpg "/>
Deploying the App HA Appliance
Right-click the resource pool and deploy the OVF template.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoIqwNhvpAADu2nc-MUE539.jpg "title=" 032. JPG "alt=" wkiol1npoiqwnhvpaadu2nc-mue539.jpg "/>
Select the app HA OVA file and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0A/wKiom1NpoMDwj_jWAAFYo64L-jc815.jpg "title=" 033. JPG "alt=" wkiom1npomdwj_jwaafyo64l-jc815.jpg "/>
Tick the Accept additional configuration option and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoJ-AB41pAAJRQ0dnqRg129.jpg "title=" 034. JPG "alt=" wkiol1npoj-ab41paajrq0dnqrg129.jpg "/>
Click on Accept and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKiom1NpoNPh8Gf_AANcTwpg6BA148.jpg "title=" 035. JPG "alt=" wkiom1nponph8gf_aanctwpg6ba148.jpg "/>
Enter the virtual machine name, select the location of the virtual machine file, and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKiom1NpoNyz9NBBAAHfe3BEPh0292.jpg "title=" 036. JPG "alt=" wkiom1nponyz9nbbaahfe3beph0292.jpg "/>
Select the thin disk, select the storage location, and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoL7Q5_cwAAJjm1HL9Nc101.jpg "title=" 037. JPG "alt=" wkiol1npol7q5_cwaajjm1hl9nc101.jpg "/>
Select the network you are using and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKiom1NpoPHRjwqEAAG2-FMUTVI222.jpg "title=" 038. JPG "alt=" wkiom1npophrjwqeaag2-fmutvi222.jpg "/>
Enter the Admin user password and network parameters and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoM6gOkHzAAKYZ6GUCzQ069.jpg "title=" 039. JPG "alt=" wkiol1npom6gokhzaakyz6guczq069.jpg "/>
Click Next.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/0B/wKiom1NpoQCR3XAHAAHMisXIAes846.jpg "title=" 040. JPG "alt=" wkiom1npoqcr3xahaahmisxiaes846.jpg "/>
Click Done.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKiom1NpoQjia399AAH-scMCN68102.jpg "title=" 041. JPG "alt=" wkiom1npoqjia399aah-scmcn68102.jpg "/>
When the import is complete, open the virtual electromechanical source.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoObB_GJpAACQSx4-OyM336.jpg "title=" 042. JPG "alt=" wkiol1npoobb_gjpaacqsx4-oym336.jpg "/>
Wait for initialization to complete.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKiom1NpoRrRgGXBAADge4RquJM502.jpg "title=" 043. JPG "alt=" wkiom1nporrrggxbaadge4rqujm502.jpg "/>
Configuring the App ha connection Hyperic Server
Log in to the Vsphere Web client and click on the system Administration > Client plugin to view the app ha status.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoPjBcGLMAAJjYQH1-tI291.jpg "title=" 044. JPG "alt=" wkiol1npopjbcglmaajjyqh1-ti291.jpg "/>
Click Vsphere App HA, select Set input Hyperic Server IP, port, username, password, click Apply.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoQHTzZ9qAAGeVP4cudY537.jpg "title=" 045. JPG "alt=" wkiol1npoqhtzz9qaagevp4cudy537.jpg "/>
Click Vcenter Hyperic Certificate.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoQqCXYk9AADpUer4ugw121.jpg "title=" 046. JPG "alt=" wkiol1npoqqcxyk9aadpuer4ugw121.jpg "/>
Click Approve.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKiom1NpoT3hzdSPAAEKFSX3nOQ011.jpg "title=" 047. JPG "alt=" wkiom1npot3hzdspaaekfsx3noq011.jpg "/>
The connection was successful.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKiom1NpoUXAXNEdAADPgCoTKgQ903.jpg "title=" 048. JPG "alt=" wkiom1npouxaxnedaadpgcotkgq903.jpg "/>
Create an app recovery policy
In the vsphere App ha> policy option, click + Add Policy.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoSOQeHE5AADl1d-Tqvw079.jpg "title=" 049. JPG "alt=" wkiol1nposoqehe5aadl1d-tqvw079.jpg "/>
Enter the policy name, next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoTiwd-0NAADjwgTa4yA345.jpg "title=" 050. JPG "alt=" wkiol1npotiwd-0naadjwgta4ya345.jpg "/>
Select the type of service here, for example, IIS 7, next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKiom1NpoWvj20gXAAFEhNAy5Js884.jpg "title=" 051. JPG "alt=" wkiom1npowvj20gxaafehnay5js884.jpg "/>
Tick use current configuration, next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoUrSJQjmAAEPJLTfje4423.jpg "title=" 052. JPG "alt=" wkiol1npoursjqjmaaepjltfje4423.jpg "/>
Tick restart service, start time 2 minutes, tick if the restart attempt fails, reset the virtual machine and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKiom1NpoX2ytq0ZAAEQALzXwv0845.jpg "title=" 053. JPG "alt=" wkiom1npox2ytq0zaaeqalzxwv0845.jpg "/>
Tick the service is stopped and click Next.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoVuQ0GblAADXUZRgblg100.jpg "title=" 054. JPG "alt=" wkiol1npovuq0gblaadxuzrgblg100.jpg "/>
Click Done.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/0B/wKiom1NpoY3jHo4NAAEybs3VzeQ305.jpg "title=" 055. JPG "alt=" wkiom1npoy3jho4naaeybs3vzeq305.jpg "/>
Complete the policy creation.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoWzh3vRsAAFEFBFFKtI614.jpg "title=" 056. JPG "alt=" wkiol1npowzh3vrsaafefbffkti614.jpg "/>
Test app Recovery Strategy
In the cluster or Host option, select Application availability, and select Iis-server virtual machine.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKioL1NpoXXSOd58AAMq5QeF49Y885.jpg "title=" 057. JPG "alt=" wkiol1npoxxsod58aamq5qef49y885.jpg "/>
Right-click the assignment policy.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKiom1NpoarBrYsLAAHo9bkRxlA555.jpg "title=" 058. JPG "alt=" wkiom1npoarbryslaaho9bkrxla555.jpg "/>
Select the IIS policy you created and click OK.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKioL1NpoYnzPPG1AADyCUiGEPs362.jpg "title=" 059. JPG "alt=" wkiol1npoynzppg1aadycuigeps362.jpg "/>
In this step, if you do not add a VC server in Hyperic servers, an error will occur.
The policy has been applied to the virtual machine.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/0B/wKiom1Npob2R_nfIAADvaGmuxh0912.jpg "title=" 060. JPG "alt=" wkiom1npob2r_nfiaadvagmuxh0912.jpg "/>
Enter the Iis-server virtual machine and right-click to stop the HTTP service.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/0B/wKioL1NpoZzwFxZCAAIbOSk6j-8911.jpg "title=" 061. JPG "alt=" wkiol1npozzwfxzcaaibosk6j-8911.jpg "/>
After 2 minutes of waiting, the service is started automatically.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/0B/wKiom1NpodjhRK9hAAOT9SLqxe4819.jpg "title=" 062. JPG "alt=" wkiom1npodjhrk9haaot9slqxe4819.jpg "/>
This article is from the "It's The Days" blog, please be sure to keep this source http://virtualwill.blog.51cto.com/8463080/1407515