vrealize Production Test

Similar documents
vrealize Production Test Upgrade Assessment Guide

Migrating vrealize Automation 6.2 to 7.2

vrealize Orchestrator Load Balancing

Migrating vrealize Automation 6.2 to 7.1

Cloud Pod Architecture with VMware Horizon 6.1

vrealize Orchestrator Load Balancing

PROVIDING SECURE ACCESS TO VMWARE HORIZON 7 AND VMWARE IDENTITY MANAGER WITH THE VMWARE UNIFIED ACCESS GATEWAY REVISED 2 MAY 2018

Installing and Configuring vcloud Connector

VMware Validated Design Backup and Restore Guide

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

Configuring Single Sign-on from the VMware Identity Manager Service to Marketo

vrealize Automation Management Pack 2.1 Release Notes

Integrating VMware Horizon Workspace and VMware Horizon View TECHNICAL WHITE PAPER

VMware Skyline Collector User Guide. VMware Skyline 1.4

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline Collector 2.0

INSTALLATION AND SETUP VMware Workspace ONE

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

Installing and Configuring vrealize Automation for the Rainpole Scenario. 12 April 2018 vrealize Automation 7.4

Introducing VMware Validated Designs for Software-Defined Data Center

vcenter Server Installation and Setup Modified on 11 MAY 2018 VMware vsphere 6.7 vcenter Server 6.7

vrealize Suite Lifecycle Manager 1.0 Installation and Management vrealize Suite 2017

Installing and Configuring vcloud Connector

Introducing VMware Validated Designs for Software-Defined Data Center

VMWARE VSPHERE FEATURE COMPARISON

What s New in VMware vsphere Availability

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

EXPLORING MONITORING AND ANALYTICS VMware Horizon

VMware vfabric AppInsight Installation Guide

Using vrealize Operations Tenant App as a Service Provider

Configuring Single Sign-on from the VMware Identity Manager Service to Bonusly

vrealize Operations Manager Customization and Administration Guide vrealize Operations Manager 6.4

Configuring Single Sign-on from the VMware Identity Manager Service to Trumba

vrealize Automation Management Pack 2.0 Guide

vcenter Server Installation and Setup Update 1 Modified on 30 OCT 2018 VMware vsphere 6.7 vcenter Server 6.7

Introducing VMware Validated Designs for Software-Defined Data Center

Installing vrealize Network Insight

Configuring Single Sign-on from the VMware Identity Manager Service to Exterro E-Discovery

vcloud Usage Meter 3.6 User's Guide vcloud Usage Meter 3.6

Advanced Service Design. vrealize Automation 6.2

Using vrealize Code Stream. vrealize Code Stream 1.0

VMware HealthAnalyzer Collector Installation and User Guide

Managing vrealize Automation. vrealize Automation 7.2

vshield Administration Guide

VMware vsphere Data Protection Evaluation Guide REVISED APRIL 2015

A: SETTING UP VMware Horizon

VMware vcenter Configuration Manager and VMware vcenter Application Discovery Manager Integration Guide

VMware vcloud Director Configuration Maximums vcloud Director 9.1 and 9.5 October 2018

vrealize Suite Lifecycle Manager 1.1 Installation, Upgrade, and Management vrealize Suite 2017

Configuring Single Sign-on from the VMware Identity Manager Service to Vizru

Using VMware vrealize Orchestrator with VMware vcloud Availability for vcloud Director Version 1.0 April 2017

SDDC Certificate Tool User Guide

CLOUD PROVIDER POD RELEASE NOTES

Using the vrealize Orchestrator Chef Plug-In 1.0

Managing vrealize Automation. vrealize Automation 7.0.1

vrealize Operations Management Pack for NSX for vsphere 3.5 Release Notes

REVISED 6 NOVEMBER 2018 COMPONENT DESIGN: UNIFIED ACCESS GATEWAY ARCHITECTURE

Managing vrealize Automation. 15 March 2018 vrealize Automation 7.3

Platform Services Controller Administration. Update 1 Modified 03 NOV 2017 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

vrealize Suite Lifecycle Manager 1.2 Installation, Upgrade, and Management vrealize Suite 2017

VMware vrealize Configuration Manager SQL Migration Helper Tool User's Guide vrealize Configuration Manager 5.8

OpenManage Management Pack for vrealize Operations Manager Version 1.1. Installation Guide

Monitoring Hybrid Cloud Applications in VMware vcloud Air

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

8 TIPS FOR A SUCCESSFUL UPGRADE TO vsphere 6.5. Stay in the Know with These Expert Suggestions

Getting Started with ESXi Embedded

Workspace ONE UEM Certificate Authentication for Cisco IPSec VPN. VMware Workspace ONE UEM 1810

Installing vrealize Network Insight. VMware vrealize Network Insight 3.3

VMware vcloud Director for Service Providers

vrealize Automation Load Balancing

VMware vcenter Server Appliance Management Programming Guide. Modified on 28 MAY 2018 vcenter Server 6.7 VMware ESXi 6.7

APPLYING AND TROUBLESHOOTING PREDEFINED SETTINGS VMware Horizon

EMC ViPR Controller. Create a VM and Provision and RDM with ViPR Controller and VMware vrealize Automation. Version 2.

Using the VMware vrealize Orchestrator Client

VMware vrealize Operations Federation Management Pack 1.0. vrealize Operations Manager

PRINTED 13 APRIL 2018 NETWORK PORTS IN VMWARE HORIZON 7

Platform Services Controller Administration. Modified on 27 JUN 2018 VMware vsphere 6.7 VMware ESXi 6.7 vcenter Server 6.7

ARCHITECTURAL OVERVIEW REVISED 6 NOVEMBER 2018

Administering vrealize Log Insight. September 20, 2018 vrealize Log Insight 4.7

REDUCE TCO AND IMPROVE BUSINESS AND OPERATIONAL EFFICIENCY

VMware vrealize Operations Management Pack for vcloud Director 5.0 Guide

IMPLEMENTING SINGLE SIGN-ON (SSO) TO KERBEROS CONSTRAINED DELEGATION AND HEADER-BASED APPS. VMware Identity Manager.

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

CLOUD PROVIDER POD. for VMware. Release Notes. VMware Cloud Provider Pod January 2019 Check for additions and updates to these release notes

CONFIDENTLY INTEGRATE VMWARE CLOUD ON AWS WITH INTELLIGENT OPERATIONS

VMware Validated Design Monitoring and Alerting Guide

vrealize Automation Load Balancing

VMware Identity Manager Cloud Deployment. Modified on 01 OCT 2017 VMware Identity Manager

VMware Identity Manager Cloud Deployment. DEC 2017 VMware AirWatch 9.2 VMware Identity Manager

Branch Office Desktop

vrealize Business for Cloud Troubleshooting Guide

IaaS Integration for Multi- Machine Services. vrealize Automation 6.2

Horizon DaaS Platform 6.1 Release Notes. This document describes changes to the Horizon DaaS Platform for Version 6.1.

Installation and Configuration

VMware AirWatch Certificate Authentication for Cisco IPSec VPN

MANAGING ANDROID DEVICES: VMWARE WORKSPACE ONE OPERATIONAL TUTORIAL VMware Workspace ONE

Setting Up Resources in VMware Identity Manager

VMware Validated Design Site Protection and Recovery Guide

Using the Horizon vrealize Orchestrator Plug-In

CLOUD PROVIDER POD RELEASE NOTES

TECHNICAL WHITE PAPER AUGUST 2017 REVIEWER S GUIDE FOR VIEW IN VMWARE HORIZON 7: INSTALLATION AND CONFIGURATION. VMware Horizon 7 version 7.

Transcription:

Production Test Guide for vrealize Automation vrealize Operations P R O D U C T I O N T E S T G U I D E A P R I L 2 0 1 5 V E R S I O N 1. 0

Table of Contents Component Overview... 3 Configuring and Using vrealize Production Test... 4 Download the vrealize Production Test JAR File... 4 Create the Configuration File... 4 Sample vrealize Production Test Configuration Tool Parameters... 5 vrealize Automation Configuration Parameters... 5 vrealize Operations Configuration Parameters... 6 Running vrealize Production Test... 7 Run Using Default Settings... 7 Run Using Custom Settings... 7 Sample Output... 8 Test Class Mapping... 8 Reporting... 10 TestNG Reports... 10 Allure Reports... 10 Enable Remediation Steps in Reporting... 10 Extensibility... 11 Troubleshooting... 11 Contacting VMware Support... 11 P R O D U C T I O N T E S T G U I D E / 2

Component Overview The vrealize Production Test is an add-on tool to the vrealize Suite that you can use to monitor the production health of your vrealize Suite deployment from the initial deployment to the operational phase. By using vrealize Production Test, you can run a suite of tests from the command line using the API of the vrealize Suite components to assess and report on the health of those components. This information is for the following vrealize Suite components and versions. COMPONENT vrealize Automation vrealize Operations VERSION 6.2.X 6.0.X P R O D U C T I O N T E S T G U I D E / 3

Configuring and Using vrealize Production Test This document assumes that VMware vrealize TM Automation and VMware vrealize TM Operations TM are already deployed or that you are in the process of deploying them. Download the vrealize Production Test JAR File vrealize Production Test is a Java 7 JAR file that you should download to and run on a machine that is outside of the vrealize Suite environment. Download the JAR file from the product downloads page. Create the Configuration File Before you run any of the tests in vrealize Production Test, you must create a configuration file that defines the parameters of your deployment. 1. Open the vrealize Production Test Configuration Tool. java -jar vrealize-productiontest-1.0.0.jar config The vrealize Production Test Configuration Tool appears. 2. Enter the appropriate values. Valid values for the Product Name field are VRA or VROps. P R O D U C T I O N T E S T G U I D E / 4

Sample vrealize Production Test Configuration Tool Parameters You can use this information as a reference for entering the configuration parameters in the vrealize Production Test Configuration Tool. vrealize Automation Configuration Parameters The following table describes the configuration parameters for vrealize Automation. PARAMETER NAME PURPOSE SAMPLE VALUE Product Name vra URL Identifies the configuration file type and must be VRA. URL of the vrealize Automation deployment. VRA https://vra.eng.vmware.com vra Tenant Tenant to connect to. vsphere.local vra UI Username/Password vra VA DNS name vra VA Username/Password SSO SSL Port vra vsphere Endpoint/Password (Click add to allow multiple entries.) Excluded Certificate Hosts (Click add to allow multiple entries.) Name of a tenant administrator, Fabric Administrator, and IaaS Administrator to login as. The hostname in FQDN of one of the virtual appliances hosting vrealize Automation. Username and password pair used to log in to the console of the virtual appliance. Port that vrealize Automation connects to SSO on, the default is 7444 for the identity appliance. Using the PSC requires this to be set to 443. The endpoint name in vrealize Automation and the password used to connect to the endpoint. vrealize Production Test will use the username stored in vrealize Automation to connect. The FQDNs of hosts to exclude from the certificate check. tenantadmin@vsphere.local vra-va-1.eng.vmware.com root 7444 It-vc DEMs, Agents P R O D U C T I O N T E S T G U I D E / 5

vrealize Operations Configuration Parameters The following table shows describes the configuration parameters for vrealize Operations. PARAMETER NAME PURPOSE SAMPLE VALUE Product Name Identifies the configuration file type and must be VROps. VROPS URL vrealize Operations instance URL. https://vcops.eng.vmware.com Administrator and Password Administrator username and password admin High availability enabled vcenter Adapter name (Multiple instances supported) vcenter Server address vcenter Server username/password Node Name (Multiple supported) Node Address Node Role Determines if this is a clustered deployment. Adapter instance display name. IP or FQDN of the vcenter server instance. Username and password pair for the vcenter server instance. vrealize Operations node name. FQDN or IP of the node. Role of the node in the vrealize Operations deployment. true/false vcenter.eng.vmware.com Valid values are: Master Master Replica Data Remote Collector P R O D U C T I O N T E S T G U I D E / 6

Running vrealize Production Test You can run vrealize Production by using default settings or by using custom test lists. Run Using Default Settings C:\Users\vrptuser>java -jar vrealize-productiontest-1.0.0.jar -run -ooblist VRA Where valid ooblist parameters are VRA or VROPS. Run Using Custom Settings C:\Users\vrptuser>java -jar vrealize-productiontest-1.0.0.jar -run -testlist testng.xml The content of the test list are in standard TestNG format and follow the normal TestNG reporting mechanism. The following is a sample TestNG suite file: <suite name="vra"> <test name="all"> <classes> <class name="com.vmware.vrealize.readiness.vra.test.endpoints.vraendpointtests"/> </classes> </test> </suite> For more information about TestNG suites, see http://testng.org/doc/documentation-main.html#testng-xml. P R O D U C T I O N T E S T G U I D E / 7

Sample Output [TestNG] Running: C:\testng.xml INFO 2015-04-22 10:20:17.398 (mlapplicationcontext.preparerefresh : 510) Refreshing org.springframework.context.support.classpathxmlapplicationcontext@1e86471: startup date [Wed Apr 22 10:20:17 EDT 2015]; root of context hierarchy INFO 2015-04-22 10:20:17.483 (BeanDefinitionReader.BeanDefinitions: 316) Loading XML bean definitions from class path resource [spring/vrealizereadiness-infra-context.xml] INFO 2015-04-22 10:20:19.333 (VRAApiClient.getAPIClient : 131) Initializing VRA API client.. INFO 2015-04-22 10:20:30.989 (Jaxb2Marshaller.extFromPackages: 509) Creating JAXBContext by scanning packages [com.vmware.vcac.**.rest.stubs,com.vmware.vcac.platform.rest.data,com.vmware.vc ac.platform.content] INFO 2015-04-22 10:20:50.608 (Util.<init> : 288) Reading resources from zip file path=[file:/var/lib/jenkins/jobs/cava-... =============================================== vra tests for vrealize Readiness Total tests run: 20, Failures: 0, Skips: 0 =============================================== Test Class Mapping Each class contains several tests that are based on areas of impact, which can range from 3-10 tests. TEST CLASS AREA IMPACTED VREALIZE AUTOMATION VRACertficateTests SSL Certificates on all vrealize Automation nodes. vraendpointtests Endpoint connectivity and initial data collection success. vranetworktests Connectivity between vrealize Automation nodes. vrareservationtests Sanity tests for reservations, verifying that the compute resources. P R O D U C T I O N T E S T G U I D E / 8

TEST CLASS AREA IMPACTED vrareservationpolicytests Reservation policy assignments to storages and reservations. VRAServiceStatusTests Verify all vrealize Automation services are registered on the virtual appliance. vravamitests Verify configuration of the VAs, including clocks, licenses, passwords. vrealize Operations LicensingTests Verify that the product is licensed correctly. AdapterInstancesTests Test collection status for vrealize Operations instances. SolutionsTest Check for pre-installed solutions by verifying adapter kinds. ClusterDeploymentInfoTests Verify cluster/node status from a post-deployment point-of-view. ClusterManagementTests Verify cluster/node status from a sys-admin point-of-view. InventoryTreeFiltersTests Verify vcenter adapter and custom inventory tree filters are loaded. VcInventoryObjectTests Verify inventory sync with vcenter. ResourceMetricsTests Verify a variety of metrics being collected. CertificateChainTests Tests around SSL certificates between nodes in a cluster. P R O D U C T I O N T E S T G U I D E / 9

Reporting All test reports are located in the test-output directory relative to where you ran the tests. TestNG Reports Basic TestNG reports are located in the test-output directory from where you ran the command. FILE DESCRIPTION test-output/index.html HTML report page. test-output/testng-results.xml Machine readable full output. test-output/testng-failed.xml Machine readable failure report. test-output/juintreports/* Failure reports in JUnit format. Allure Reports Allure XML reports are located in the target/allure-results directory from where you ran the command. You can use a command line tool or plug-in to generate HTML reports from the XML reports. These reports provide additional features over the default TestNG style reports and they are easier to read. For more information and links to the CLI and plug-in, see http://allure.qatools.ru/. Enable Remediation Steps in Reporting You can enable remediation steps to show up in Allure reports by using the JAR file for AspectJWeaver, The JAR file must be downloaded and accessible on the same machine that is running the vrpt JAR file. vrpt recommends that you use the 1.7.2 version of AspectJWeaver. 1. 2. Download the JAR file for AspectJWeaver. Add the following flag to your command line execution, before the -jar argument: -javaagent:[path TO ASPECTJWEAVER JAR, INCLUDING JAR NAME] Example: C:\Users\vrptuser>java -javaagent:aspectjweaver-1.7.2.jar -jar vrealizeproductiontest-1.0.0.jar -run -ooblist VRA Allure reports can be generated without this argument, but remediation steps do not appear. P R O D U C T I O N T E S T G U I D E / 10

Extensibility The JAR file is the foundation of extensibility. The framework is divided into functional areas based on product and core functionality. For more information, see the Javadoc that are delivered with this release Interesting packages are listed in the following table. PACKAGE USE com.vmware.vrealize.readiness.apiclient Clients for the vrealize APIs. com.vmware.vrealize.readiness.vrops vrealize Operations related tests. com.vmware.vrealize.readiness.vra vrealize Automation related tests. com.vmware.vrealize.readiness.vc Service methods for managing vcenter. com.vmware.vrealize.readiness.common Common libraries that are useful, for example SSH. com.vmware.vrealize.readiness.reporting Reporting classes. Troubleshooting All output from the vrealize Production Test is logged to the console. Test output is logged to the test-output directory and is available by viewing the index.html file in that directory. Contacting VMware Support If you cannot identify the problem, and you have a support agreement with VMware, open a support case in the support portal at http://www.vmware.com/support/ or send an email to Support@VMware.com. Be specific in describing the problem and attach relevant log data and error messages in your description. P R O D U C T I O N T E S T G U I D E / 11

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com Copyright 2015 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.