1. Create an Update
You create an update to change the default port number that the Web server listens on. You apply
this update.
Go to the VMware vCloud® Application Director™ Web interface. > In the upper-right portion of the page, select Deployment View > Updates View. The Updates View page appears. > Click the + New icon next to Update Profiles. The New Update Profile dialog box appears. > Leave Update type as Configuration. > In the Update Profile Name text box, type HTTP Port Change. > In the Description text box, type changing the HTTP Port to 2600. > Click OK. The HTTP Port Change update page appears. > Click the Actions tab near the middle of the left side of the page. > Select Update > Script and click the script that is shown for Update.
This bash script controls the update process. > Scroll through the bash script to become familiar with it. > Click OK. The script closes. > Click Properties next to the Actions tab. > Under Property Name, locate http_port. > Type 2600 as the new value for http_port. > Click Next. The Execution Plan page appears. > Become familiar with the execution plan. > Click Next. The Review page appears. > Verify that next to http_port the previous value is 80 and that under New Value it is 2600.
Click Update. The Deployment view appears. > Wait for the update to finish. Update Success appears.
2. Verify Update Changes
You refresh the page of the original deployment to verify the success of the update.
Open the Web browser where the application Web page was displayed earlier. > Click Refresh.
A Google Chrome connection failure message is displayed. > In the Web browser’s address bar, add port 2600 to the address shown by appending :2600 to the address. Example: http://172.20.15.65:2600 > Press Enter to confirm the change. The VMware vFabric® Web Server home page is displayed. The update was successful.
3: Roll Back an Application
You initiate the rollback process from the Application Director interface.
Go to the Application Director interface. > Click Operations. > Click Rollback.
The Rollback Http Port Change page appears. > Under Properties, locate http_port. > Verify that port 2600 appears under Deployment Value. > Verify that port 80 appears under Value. > Click Next.
The Execution Plan page appears. Become familiar with the execution plan. > Click Next.The Review page appears. > Verify that all the information is correct. > Click Rollback. > Wait for the rollback to finish. Rollback Success appears.
4. Verify the Rollback
You go to the Web page of the deployed application and remove the port number from the address.
You refresh the page to verify that the original settings were rolled back.
Go to the Web page that displays the vFabric Web Server. > Refresh the Web page. The Unable to Connect page should appear. > In the Web browser’s address bar, delete the port number, leaving only the address. > Press Enter to confirm the change. The Web page appears. The rollback succeeded.
5. Tear Down an Application
You use the Application Director interface to tear down an application.
Go to the Application Director interface. > Click Operations. > Click Teardown. The Teardown Deployment dialog box appears. > Select Quick Teardown.Use Assisted Teardown whenever you have deployed more complex or multitier applications. > Click Teardown. The teardown process begins. Teardown Scheduled appears. Click Refresh that the upper-right corner until the teardown is complete. Teardown Success appears. VM will be deleted from vCenter Inventory
6. Delete a Deployment
You use the UI to delete a deployment.
Click Operations. > Click Delete. The Delete Deployment dialog box is displayed. > Read the contents of the dialog box and click Delete Deployment.
7. Delete an Application
You delete the deployment profiles associated with the version of the application. You delete the
version of the application. And you delete the application.
From the main menu, click Applications. > Click vFabric Web Server. The vFabric Web Server application overview appears. > Under Application Versions, click the 1.0.0 title bar. The vFabric Web Server application version overview appears. > Click the X icon on the banner of the Testing Deployment Profile under Deployment Profiles. The Delete Deployment Profile dialog box appears. > Click OK. > Click the x Delete icon in the upper-right corner. The Delete Application Version dialog box is displayed. > Click OK. The vFabric Web Server overview appears. The application version is deleted and the blueprint view is deleted. > Click the x Delete icon in the upper-right corner. The Delete Application dialog box appears. > Click OK. A message verifies that the application was deleted. > In the main menu, click Applications. > Verify that the application no longer appears among the other applications.
8. Publish a Deployment to the vCloud Automation Center Catalog
You publish a deployment profile of an application so that it can be requested in the VMware
vCloud® Automation Center™ catalog.From the Application Director Web interface, you select the
application to publish and publish it. You then log in to vCloud Automation Center and configure
the Catalog item for use.
Click the jPetStoreapplication. > Click the banner of version 1.0.0 of jPetStore under Application Versions. > Click the green up-arrow icon on the banner of the jPetStoreDeployment deployment profile, under Deployment Profiles. The Publish dialog box appears. > Append Publish_vCAC to the end of the jPetStoreDeployment name. > In the Description text box, type jPetStore Deployment for vCloud Automation Center catalog use. > Click OK. > Open a new Web browser tab. > Go to the vCloud Automation Center default tenant UR. > Log in as user tenant-admin@vclass.local. > Click the Administration tab. > Select Catalog Management > Services. > Click the green plus sign icon next to Services. The new Service page appears. Name the service Application.
In the Description text box, type Application Service for use with Application Director. > Leave Icon as is. > From the Status drop-down menu, select Active. > Click Add. > Click Catalog Items. > Point to the Action icon next to jPetStoreDeployment Publish_vCAC and select Configure from the context menu.The Configure Catalog Item page is displayed. > If Status is not Active, select Active from the drop-down menu. You might have to scroll down to find Status. It is under the preview for icons. > Select Application from the Service drop-down menu. > Click Update. > Click Entitlements. > Click the green plus sign icon next to Entitlements. The New Entitlements page appears. > Name the new entitlement AppD Entitlement. > From the Status drop-down menu, select Active. > From the Business Group drop-down menu, select Default. > In the Users & Groups text box, type tenant-admin@vclass.local and press Enter. > Click Next. The Items & Approvals tab appears. > Click the green plus sign icon next to Entitled Services. The Add Services to Entitlement dialog box appears. > Select Application. > Click OK. > Click the green plus sign icon next to Entitled Catalog Items. The Add Catalog Items to Entitlement dialog box appears. > Select jPetStore Deployment Publish_vCAC. > Click OK. > Click the green plus sign icon next to Entitled Actions.
The Add Actions to Entitlement page appears. > From the Type drop-down menu, select Application Deployment. > Select Application Deployment Details. > Click OK. > Click Add. > Click the Catalog tab. > Verify that the jPetStore item appears in the catalog. > Close your browser tab.
9. Delete the Remaining Deployed Applications
You tear down the remaining deployed applications.
Go to the Application Director browser tab that was left open earlier. > Click Deployments. > Click the Gear icon on the banner of the jPetStore application. > From the Operations drop-down menu, select Teardown. The Teardown Deployment dialog box appears. > Click Teardown. > Wait for Successful Teardown, indicated by a gray down arrow icon on the banner after the application has finished tearing down. > Close your browser.
You create an update to change the default port number that the Web server listens on. You apply
this update.
Go to the VMware vCloud® Application Director™ Web interface. > In the upper-right portion of the page, select Deployment View > Updates View. The Updates View page appears. > Click the + New icon next to Update Profiles. The New Update Profile dialog box appears. > Leave Update type as Configuration. > In the Update Profile Name text box, type HTTP Port Change. > In the Description text box, type changing the HTTP Port to 2600. > Click OK. The HTTP Port Change update page appears. > Click the Actions tab near the middle of the left side of the page. > Select Update > Script and click the script that is shown for Update.
This bash script controls the update process. > Scroll through the bash script to become familiar with it. > Click OK. The script closes. > Click Properties next to the Actions tab. > Under Property Name, locate http_port. > Type 2600 as the new value for http_port. > Click Next. The Execution Plan page appears. > Become familiar with the execution plan. > Click Next. The Review page appears. > Verify that next to http_port the previous value is 80 and that under New Value it is 2600.
Click Update. The Deployment view appears. > Wait for the update to finish. Update Success appears.
2. Verify Update Changes
You refresh the page of the original deployment to verify the success of the update.
Open the Web browser where the application Web page was displayed earlier. > Click Refresh.
A Google Chrome connection failure message is displayed. > In the Web browser’s address bar, add port 2600 to the address shown by appending :2600 to the address. Example: http://172.20.15.65:2600 > Press Enter to confirm the change. The VMware vFabric® Web Server home page is displayed. The update was successful.
3: Roll Back an Application
You initiate the rollback process from the Application Director interface.
Go to the Application Director interface. > Click Operations. > Click Rollback.
The Rollback Http Port Change page appears. > Under Properties, locate http_port. > Verify that port 2600 appears under Deployment Value. > Verify that port 80 appears under Value. > Click Next.
The Execution Plan page appears. Become familiar with the execution plan. > Click Next.The Review page appears. > Verify that all the information is correct. > Click Rollback. > Wait for the rollback to finish. Rollback Success appears.
4. Verify the Rollback
You go to the Web page of the deployed application and remove the port number from the address.
You refresh the page to verify that the original settings were rolled back.
Go to the Web page that displays the vFabric Web Server. > Refresh the Web page. The Unable to Connect page should appear. > In the Web browser’s address bar, delete the port number, leaving only the address. > Press Enter to confirm the change. The Web page appears. The rollback succeeded.
5. Tear Down an Application
You use the Application Director interface to tear down an application.
Go to the Application Director interface. > Click Operations. > Click Teardown. The Teardown Deployment dialog box appears. > Select Quick Teardown.Use Assisted Teardown whenever you have deployed more complex or multitier applications. > Click Teardown. The teardown process begins. Teardown Scheduled appears. Click Refresh that the upper-right corner until the teardown is complete. Teardown Success appears. VM will be deleted from vCenter Inventory
6. Delete a Deployment
You use the UI to delete a deployment.
Click Operations. > Click Delete. The Delete Deployment dialog box is displayed. > Read the contents of the dialog box and click Delete Deployment.
7. Delete an Application
You delete the deployment profiles associated with the version of the application. You delete the
version of the application. And you delete the application.
From the main menu, click Applications. > Click vFabric Web Server. The vFabric Web Server application overview appears. > Under Application Versions, click the 1.0.0 title bar. The vFabric Web Server application version overview appears. > Click the X icon on the banner of the Testing Deployment Profile under Deployment Profiles. The Delete Deployment Profile dialog box appears. > Click OK. > Click the x Delete icon in the upper-right corner. The Delete Application Version dialog box is displayed. > Click OK. The vFabric Web Server overview appears. The application version is deleted and the blueprint view is deleted. > Click the x Delete icon in the upper-right corner. The Delete Application dialog box appears. > Click OK. A message verifies that the application was deleted. > In the main menu, click Applications. > Verify that the application no longer appears among the other applications.
8. Publish a Deployment to the vCloud Automation Center Catalog
You publish a deployment profile of an application so that it can be requested in the VMware
vCloud® Automation Center™ catalog.From the Application Director Web interface, you select the
application to publish and publish it. You then log in to vCloud Automation Center and configure
the Catalog item for use.
Click the jPetStoreapplication. > Click the banner of version 1.0.0 of jPetStore under Application Versions. > Click the green up-arrow icon on the banner of the jPetStoreDeployment deployment profile, under Deployment Profiles. The Publish dialog box appears. > Append Publish_vCAC to the end of the jPetStoreDeployment name. > In the Description text box, type jPetStore Deployment for vCloud Automation Center catalog use. > Click OK. > Open a new Web browser tab. > Go to the vCloud Automation Center default tenant UR. > Log in as user tenant-admin@vclass.local. > Click the Administration tab. > Select Catalog Management > Services. > Click the green plus sign icon next to Services. The new Service page appears. Name the service Application.
In the Description text box, type Application Service for use with Application Director. > Leave Icon as is. > From the Status drop-down menu, select Active. > Click Add. > Click Catalog Items. > Point to the Action icon next to jPetStoreDeployment Publish_vCAC and select Configure from the context menu.The Configure Catalog Item page is displayed. > If Status is not Active, select Active from the drop-down menu. You might have to scroll down to find Status. It is under the preview for icons. > Select Application from the Service drop-down menu. > Click Update. > Click Entitlements. > Click the green plus sign icon next to Entitlements. The New Entitlements page appears. > Name the new entitlement AppD Entitlement. > From the Status drop-down menu, select Active. > From the Business Group drop-down menu, select Default. > In the Users & Groups text box, type tenant-admin@vclass.local and press Enter. > Click Next. The Items & Approvals tab appears. > Click the green plus sign icon next to Entitled Services. The Add Services to Entitlement dialog box appears. > Select Application. > Click OK. > Click the green plus sign icon next to Entitled Catalog Items. The Add Catalog Items to Entitlement dialog box appears. > Select jPetStore Deployment Publish_vCAC. > Click OK. > Click the green plus sign icon next to Entitled Actions.
The Add Actions to Entitlement page appears. > From the Type drop-down menu, select Application Deployment. > Select Application Deployment Details. > Click OK. > Click Add. > Click the Catalog tab. > Verify that the jPetStore item appears in the catalog. > Close your browser tab.
9. Delete the Remaining Deployed Applications
You tear down the remaining deployed applications.
Go to the Application Director browser tab that was left open earlier. > Click Deployments. > Click the Gear icon on the banner of the jPetStore application. > From the Operations drop-down menu, select Teardown. The Teardown Deployment dialog box appears. > Click Teardown. > Wait for Successful Teardown, indicated by a gray down arrow icon on the banner after the application has finished tearing down. > Close your browser.
No comments:
Post a Comment