Category: VMware


vRealize Business for Cloud analyzes and displays the cost information for your Microsoft Azure account. Also, you could compare cost of public cloud accounts in vRealize Business for Cloud.

Procedure:

  1. Log in to vRealize Business for Cloud (https://vRBC_host_name/itfm-cloud) as an administrator.
  2. Click the Administration tab.
  3. Expand Manage Public Cloud Accounts.
  4. Select Microsoft Azure.
  5. Expand the Azure account type that you want to add.
  • Enterprise Agreement (EA)
  • Non-Enterprise Agreement

clip_image002[4]

    6. Click the add option icon to add an account and enter the required details.

      Provide the following details.

      • Name/Description of the account.
      • API Access Key (Log in to the Azure Enterprise portal, and navigate to Reports > Download Usage > API Access Key to generate or retrieve the API key).
      • Azure Enrollment Number (This is your Azure Enterprise enrollment number which can be found on the home screen of the Azure Enterprise Portal under “Enrollment Detail”).

      clip_image003[4]

        7. Click Save and click OK in the Success dialog.

          clip_image004[4]

            8. Click the Business Management tab to check the status of the sync process.

              clip_image006[4]

              9. Expand Expenses, select Public Cloud (Azure).

                10. Click Overview.

                  You see all the details of the Azure accounts. The information includes widgets for total expense, services, accounts, largest changes in accounts, and VMs at a glance.

                  image

                  References:

                  Manage Microsoft Azure Accounts in vRealize Business for Cloud

                  Azure EA portal – Microsoft Azure
                  Advertisements

                  vRealize Operations Upgrade Assessment Tool can help you to scan your deployment for any discontinued/disabled contents such as Metrics, Properties, Dashboards, Alerts, etc. and to provide you with recommended replacements in the form of a pre-upgrade assessment report.

                  Before Upgrade:

                  If you have created custom dashboards, views, or reports, it is possible that you use a metric that has been deprecated and/or replaced. Please run the assessment tool following these steps:

                  1. Download the upgrade assessment tool. Download Tool.

                  2. Login to Admin web Interface https://vROPS/admin/login.action

                  clip_image001

                  3. Select Software Update > Install A Software Update

                  clip_image003

                  4. Browse to the location of the APUAT.Pak File

                  clip_image005

                  5. Upload the Pak file and follow the wizard to complete the installation.

                  clip_image006

                  6. Once the installation completed, Click on Support > Support Bundles.

                  clip_image008

                  7. Download & Extract the Node Info Bundle folder.

                  clip_image010

                  8. Open and review the results of the assessment tool.

                  C:\Users\UserName\Downloads\slice_\apuat-data\report\index.html.

                  clip_image012

                  Once you have reviewed & updated the affected components, you can start upgrading your environment to vRealize Operations 6.7.

                  References:

                  · vRealize Operations Upgrade Assessment Tool

                  · Assess Your Upgrade Readiness – vRealize Operations 6.7

                  · vRealize Operations 6.7 Discontinued/Disabled Content and Replacement Recommendations

                  vROPS contains a standard email plug-in that could be used to send standard alert notifications. Creating a new email template is not possible using the default web interface. VMware support offering a KB (2125759) to create a new email template by connecting to the master node and running series of commands, which is not a friendly way. Instead, using the vRealize Ops API makes it too easy to create and apply the new email template.

                  The Following Procedure explains the usage of the Postman (API development environment) to create a new email template.

                  Procedure:

                  1. Download & Install Postman.

                  2. (Optional) Disable SSL Certificate verification.

                  Postman> File > Settings

                  clip_image002

                  3. Connect to vRealize Ops API.

                  Setting the URL to connect to vRealize Ops API https://vROPS-Server/suite-api/api/notifications/email/templates

                  Under Authorization Select “Basic Auth” and Type the User Name & Password.

                  clip_image004

                  4. Create a new email template.

                  Use the raw editor to set the format and values of the template

                  POST suite-api/api/notifications/email/templates” using XML Format as follows:

                  Select Body > raw > Content Type: XML (text/xml)

                  clip_image006

                  Sample Request in XML (For new Alerts):

                  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                  <ops:email-template html="true" xmlns:ops="http://webservice.vmware.com/vRealizeOpsMgr/1.0/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <ops:name>MyTemplate1</ops:name>
                      <ops:template>$$Subject=[vROPS] {{AlertStatus}} Type:{{AlertType}}, Sub-Type:{{AlertSubType}}, State:{{AlertCriticality}}, Object Type:{{AffectedResourceKind}}, Name:{{AffectedResourceName}} New alert was generated at: {{AlertGenerateTime}} Info: {{AffectedResourceName}} {{AffectedResourceKind}}&lt;br&gt; Alert Definition Name: {{AlertDefinitionName}} Alert Definition Description: {{AlertDefinitionDesc}} Object Name : {{AffectedResourceName}} Object Type : {{AffectedResourceKind}} Alert Impact: {{AlertImpact}} Alert State : {{AlertCriticality}} Alert Type : {{AlertType}} Alert Sub-Type : {{AlertSubType}} Object Health State: {{ResourceHealthState}} Object Risk State: {{ResourceRiskState}} Object Efficiency State: {{ResourceEfficiencyState}} Symptoms:&lt;br&gt;{{Anomalies}} Recommendations: {{AlertRecommendation}} Notification Rule Name: {{FilterRuleName}} Notification Rule Description: {{FilterRuleDesc}} Alert ID : {{AlertId}} VCOps Server - {{vcopsServerName}} &lt;a href={{AlertSummaryLink}}&gt;Alert details&lt;/a&gt;&lt;br&gt;</ops:template>
                  </ops:email-template>

                  5. Query for the ID of the email template.

                  Send “GET suite-api/api/notifications/email/templates” to get the ID of the email template.

                  clip_image008

                  6. Query the current Alert Types and Subtypes.

                  Send “GET suite-api/api/alerts/types” and recorded the required “alertType” and “alertSubType”.

                  clip_image010

                  7. Define the condition of the email template.

                  Send “POST suite-api/api/notifications/email/templates/{id}/conditions”.

                  Replace the {id} with the actual value of the email template

                   clip_image012

                  Sample Request in XML:

                  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                  <ops:email-template-condition alertSubType="15" alertType="7" xmlns:ops="http://webservice.vmware.com/vRealizeOpsMgr/1.0/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <ops:alertStatus>NEW</ops:alertStatus>
                      <ops:emailAddress>user@domain.com</ops:emailAddress>
                  </ops:email-template-condition>

                  The new template will be applied on any new notification email based on the selected criteria.

                  References:

                  · vRealize Operations Manager API Programming Guide

                  · Configure E-Mail Alerts in vRealize Operations Manager

                  · Straight-Up Flying with the vRealize Operations REST API

                  · Postman – Sending API Requests

                  vRealize Suite Lifecycle Manager allows you to add and manage content direct from Marketplace, including vRealize Automation blueprints and OVAs, vRealize Operations Manager management packs, and vRealize Log Insight content packs, that you can download and deploy in your vRealize Suite environments.

                  Prerequisites:

                  • Make sure that the vRealize Suite Lifecycle Manager is connected to the Internet.
                  • My VMware credential is required.

                  Procedure

                  1. Login to vRealize Suite Lifecycle Manager appliance, then click Marketplace.

                  clip_image002

                  2. Click the All tab.

                  1. Click the Refresh Content from Marketplace button.

                  vRealize Suite Lifecycle Manager displays all content available for vRealize Suite in Market Place.

                  clip_image003

                  4. You may filter the list of available content by search terms or product, publisher, or technology by clicking Filter and select the appropriate filters.

                  clip_image005

                  5. Select the content pack, you may click View Details to read more about the downloadable content, including compatibility information, user ratings, and a list of related content.

                  clip_image007

                  6. Click Download to start downloading the content to vRealize Suite Lifecycle Manager.

                  7. Once the download completed, Click on Downloaded Tab then click Install.

                  clip_image009

                  8. Select the Datacenter & Environment and Click Install.

                  clip_image011

                  9. You may check the installation status by clicking on Requests Page.

                  clip_image013

                  clip_image015

                  That’s all folks!

                  Reference: Adding and Managing Content from Marketplace

                  The configure-network utility is used for performing various network configurations on the VMware virtual appliances including VCSA and vRealize Suite.

                  Just login to the virtual appliance using ‘root’ account and run the command: /opt/vmware/share/vami/vami_config_net

                  image

                  0) Show current Configuration

                  1) Exit

                  2) Default Gateway: Allows configuration of the default gateway for the network

                  3) Hostname: Hostname of the virtual appliance.

                  4) DNS: Two DNS servers can be configured as needed.

                  5) Proxy Server: Proxy Server & Port Number (http:// is prefixed by network utility).

                  6) IP Address for eth0: This can be either static (specifying the IP address and Subnet Mask) or dynamic (via DHCP).

                  Ref: Using the configure-network command-line utility in VMware vCenter Support Assistant (2042462)

                  vRealize Suite Lifecycle Manager allow you to download vRealize OVAs through “My VMware” registered account. The following steps could be followed to configure the Proxy server in case there is no direct internet connection.

                  Procedure:

                  1. Login to vRSLM using the ‘root’ account.

                  2. Run the following command to configure the Network/Proxy settings manually

                  /opt/vmware/share/vami/vami_config_net

                  clip_image001

                  3. Configure the Proxy Server Settings by entering the menu number (5)

                  Press (Y) and add the IP address/FQDN & Port Number of the Proxy server.

                  clip_image002

                  vRealize Suite Lifecycle Manager provides a single installation and management platform for all vRealize Suite products.

                  Once vRSLM Deployed, you will need to configure the following basic settings before downloading and installing/adding the rest of the vRealize products.

                  Procedure:

                  Login to vRealize Suite Lifecycle Manager appliance by using the URL https://IPaddress/vrlcm using the default admin account “admin@localhost” and Password “vmware”.

                  Note: If you are logging in Manager for the first time, reset the root password

                  image

                  Settings:

                  1. Common Configuration: Allow you to modify settings such as passwords, SSH settings, and configuration drift interval “the interval of time vRealize Suite Lifecycle Manager uses to collect data for configuration drift reports”.

                  image

                  Also, You may Restart or Schedule a restart of the Server

                  image

                  1. OVA Configuration: Allow you to select OVA Source location (NFS Share/Local /data/source) or download the OVA direct from VMware using “My VMware” registered account.

                  image

                  2. My VMware: Allow you download product OVAs through My VMware.

                  image

                  Once registered, you can start the download of the OVA Products.

                  image

                  3. Logs: select the level of information to collect and the number of log files to keep.

                  image

                  Also, you can trigger the download of the logs.

                  image

                  4. Update: Allow you to install updates to the vRealize Suite Lifecycle Manager appliance.

                  image

                  5. Generate Certificate: Allow you to generate a new SAN Certificate.

                  image

                  6. Proxy: If you are using a proxy server in your network, you must configure the proxy server in vRealize Suite Lifecycle Manager.

                  image

                  7. Identity Manager: VMware Identity Manager could be added as a source of identification to vRealize Suite Lifecycle Manage “Version 2.9.2 is the only version supported”.

                  image

                  References:

                  · vRealize Suite Lifecycle Manager 1.1 Installation, Upgrade, and Management

                  · VMware vRealize Suite Lifecycle Manager 1.1 Release Notes

                  · vRealize Suite Lifecycle Manager 1.x Programming Guide

                  VMware Workstation 14 Pro allows you to quickly scan for virtual machines on local folders as well as network shared storage and USB drives.

                  Procedure:

                  1. Select File > Scan for Virtual Machines.

                  clip_image001

                  2. In the Select a location to scan text box, enter or browse for a location, then click Next.

                  clip_image002

                  3. Select the virtual machines and the library node, then Click Finish.

                  clip_image003

                  Notes:

                  1. To use the same folder hierarchy in the library, click Match the file system folder hierarchy in the library.

                  2. If the location of the virtual machines you are adding to the library is on a remote server or a removable storage device, select the options in the Copy to local disk options dialog box that meet your needs.

                  Reference:

                  VMware Workstation Pro 14.0

                  vRealize Suite Lifecycle Manager is designed to streamline and simplify the deployment and on-going management of the vRealize product portfolio, throughout the product life cycle. vRealize Suite Lifecycle Manager relieves IT teams of day-to-day admin tasks by accelerating product installation and deployment, simplifying on-going management and configuration, and enabling best practice-based implementation.

                  image

                  Key Benefits:

                  • Rapid Installation:

                  Simple and flexible deployment model with product and solution based installation supported. Automated environment replication and validation process.

                  • Easy Ongoing Management:

                  Automated configuration management and drift management with health monitoring capabilities.

                  • One-Click Upgrade:

                  Simplified upgrade and patching process with environment snapshot function.

                  • Best Practice Implementation:

                  Easy alignment with VMware recommended reference architecture and validated design (VVD) through pre-defined settings.

                  Software Requirements

                  • vCenter Server 6.0/6.5
                  • ESXi version 6.0/6.5

                  Hardware Requirements

                  • 2 vCPUs
                  • 16 GB memory
                  • 127 GB storage

                  Supported vRealize Suite Products

                  1. vRealize Automation 7.2 or 7.3
                  2. vRealize Orchestrator 7.2 or 7.3 (embedded with vRealize Automation)
                  3. vRealize Business for Cloud 7.2.1, 7.3, or 7.3.1
                  4. vRealize Operations Manager 6.5 or 6.6.1
                  5. vRealize Log Insight 4.3 or 4.5

                  Deployment:

                  1. Login to vSphere Web Client (Flash), Select the Deploy OVF Template.

                  2. Browse to the path of the vRealize Suite Lifecycle Manager appliance OVA file.

                  clip_image002

                  3. Enter an appliance name and select a deployment location.

                  clip_image004

                  4. Select the host and cluster.

                  clip_image006

                  5. Review the template details.

                  clip_image008

                  6. Read and accept the end-user license agreement.

                  clip_image010

                  7. Select the storage and vDisk format (Thick Format recommended for Production environment)

                  clip_image012

                  8. From the drop-down menu, select a Destination Network and IP Protocol (IPv4)

                  clip_image014

                  9. Define the Host Name, Certificate configurations and IP settings.

                  clip_image016

                  10. Verify the settings and click finish to complete the deployment.

                  clip_image018

                  Note: the following command could be used to modify the network configuration after the deployment.

                  /opt/vmware/share/vami/vami_config_net

                  Login to vRealize Suite Lifecycle Manager

                  1. Login to vRealize Suite Lifecycle Manager appliance by using the URL https://IPaddress/vrlcm using the default admin account “admin@localhost” and Password “vmware”.

                  clip_image020

                  References:

                  · vRealize Suite Lifecycle Manager Solution Brief

                  · Blog: https://blogs.vmware.com/management/2017/09/vrealize-suite-lifecycle-management.html

                  · Release Notes: https://docs.vmware.com/en/vRealize-Suite/2017/rn/vrealize-lifecycle-manager-1-release-notes.html

                  · Documentation: https://docs.vmware.com/en/vRealize-Suite/2017/com.vmware.vrsuite.lcm.doc/GUID-5E1CB756-CE86-430D-89C0-DE3831C33738.html

                  · Download: https://my.vmware.com/group/vmware/details?downloadGroup=VRSLCM-10&productId=675&rPId=18268

                  · Use Case Deployment Using vRealize Suite Lifecycle Manager: https://pubs.vmware.com/vmware-validated-design-41/index.jsp#com.vmware.vvd.usecases-lcm-deploy.doc/GUID-4F7F9BCA-86B6-4E01-80C6-B4C83E6F35AA.html

                  VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell and provides more than 600 cmdlets for managing and automating VMware products and features.

                  Online Installation using the PowerShell Gallery:

                  1- Determine Current PowerShell Version:

                  PS C:\> $PSVersionTable.PSVersion

                  2- Finds VMware PowerCLI modules from the PS online gallery

                  PS C:\> Find-Module -Name “VMware.Powercli” -AllVersions | Format-List Name,Version

                  3- Install VMware PowerCLI module that meets specified criteria from PS online gallery

                  PS C:\> Install-Module -Name VMware.PowerCLI -RequiredVersion 6.5.2.6268016 -Scope CurrentUser

                  4- Verify the Installation of the VMwarePowerCLI module that has been installed

                  PS C:\ > Get-Module -ListAvailable | where {$_.Name -like “VMware.Powercli”} | Format-List Name,Version 

                  5- Create desktop shortcut for VMwarePowerCLI module  using the target

                  C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noe -c “Import-Module VMware.PowerCLI”

                  6- Update VMware PowerCLI to the latest version

                  PS C:\> Update-Module -Name VMware.PowerCLI

                  Offline Installation:

                  1- Download the VMware PowerCLI module using a computer that has internet access

                  PS C:\> Save-Module -Name VMware.PowerCLI -Path C:\PowerCLI

                  2- Copy and replace the individual VMware PowerCLI module folders to one of the following locations on the target computer

                  • Current user usage: %userprofile%\Documents\WindowsPowerShell\Modules
                  • All users usage: %SystemRoot%\System32\WindowsPowerShell\v1.0\Modules

                  References: