Kategoriarkiv: VMware

How to add Active Directory using vRealize Suite Lifecycle Manager

You can do this from both vIDM (Workspace One Access) appliance or from the vRealize Suite Lifecycle Manager (vRSLCM) appliance. Changes done in one will sync to the other. In this walkthrough I will configure AD integration using vRSLCM.

Walkthrough

First you need to login as admin@local and go to Identity and Tenant Management then to Directories and Add Directory. Choose Active directory over LDAP

Insert your details as shown in picture below. when you have added all the details click the Test Connection button. If all is green you are good if not you need to start troubleshooting. Start with verifying that all the details indeed are correct.

On the next screen verify that it has found the correct domain and click Save And Next

On the Attribute page you can choose to go with det defaults shown in this picture or you can make changes if needed. Click Save and Next.

In the Group Selection section you must add a DNs for the groups you want to synchronize into vIDM. If you for some reason only want to add users you can do that in the next section. When you are satisfied with your selection click Save and Next.

Select any users you want to sync that is not in any of your synced groups and click Save and Next

In this next section a dry run will be performed and you will get a summary of the users and groups that will be synced and a warning if any of the users don’t contain the required attributes and therefor cannot be synchronized. If you are not satisfied you can always click Back button and do changes. When you are happy click Sync and Complete.

Summary

You can now use AD users and groups within Identity Manager.
It can be smart to go through the directory settings inside the vIDM appliance after setup to change Sync Frequency and other settings. By default the sync is once pr week.

True SSO

If you want to go further and enable true SSO for your users take a look at How to enable True SSO for vRealize Suite logins.

How to enable true SSO for vRealize suite logins

If you have vRealize Suite license it is a good chance that you have deployed a vRealize Suite Lifecycle Manager and the included Identity Manager appliance. If not you probably should! You will have a nice portal for all your vRealize URLs with SSO, but you do not have true SSO all the way from your windows client to your vRealize applications. Users still have to login to the portal each time they want to use it. Here is a quick write up on how to enable kerberos authentication to achieve true SSO.

Attention
If you have vIDM 3.3.3 and 3.3.4 this feature is not working with the embedded connector. please upgrade to 3.3.5 where it is working again.

In this blog I will walk you through how to setup true SSO, but first to some prerequisites.

vIDM portal

Prerequisites

How to setup true-SSO in VMware Identity Manager

If all prerequisite are met we can start the setup. But before we can configure the adapter we need to join the appliance to the domain. Login to your Identity Manager with admin user and go to Identity & Access Management and then Setup

Under Available Actions click Join Domain and Insert username and password to join the domain. You can leave Organizational unit (OU) of domain to join blank or
If you want the machine placed directly in the correct OU, just add the details for your environment. Example: OU=Computers,OU=LAB,DC=lab,DC=vedaa,DC=net

When that is done we can continue and enable KerberosIdpAdapter
Make sure you still are at Identity & Access Management and Setup as before.
Under Worker click on your appliance FQDN and then Auth Adapters

Now click on KerberosIdpAdapter check the box Enable Windows Authentication and click Save. Close the current browser tab.

Go back to Identity & Access Management but this time stay on Manage and click on Policies. Select the default_access_policy_set and click edit

Click next og 2 Configuration and then click on All Ranges (Device Type Web Browser)

Edit the policy by first clicking ADD FALLBACK METHOD. Then change the order of the logins as shown below. First Kerberos then Password and last Password (Local Directory) then click Save, and then Next and Save.

True SSO should now be working form the VMware side of things. If it is not working take a look at thees additional steps.

Additional settings

Here is some additional steps you might need to perform if it is not working. First make sure that vIDM URL is part of local intranet zone. If it is not add it by following thees steps.

In Windows search for Internet Options
In Internet Options, click the Security tab.
On the Security page, select Local intranet.
Click Sites and add your vIDM URL to the list of websites.

It it is still not working verify that Integrated Windows Authentication is enabled.

In the Internet Options window, click the Advanced tab. In the Settings list, under Security, select Enable Integrated Windows Authentication.

Reference

https://docs.vmware.com/en/VMware-Workspace-ONE-Access/3.3/rn/VMware-Identity-Manager-335-Release-Notes.html

Patching with vRealize Suite Lifecycle Manager

vRealize Suite Lifecycle Manager

VMware just released a security patch for vROps with severity critical. Here is a quick walkthrough on how you can do the patching from vRealize Suite Lifecycle manager.

Patching vROps with vRealize Suite Lifecycle Manager

First you must login to vRSLCM with admin@local account. Then go to Binary Mapping. Click on Patch Binaries and Check Patches Online to update vRSLCM with the latest patches.

When that is done you should have all the latest patches available in the Binary Mapping – > Patch Binaries view. To download the patch you need to click the download icon under Action.

Sadly it is not possible to sort by ReleaseDate or filter by year / month so you need to find it by looking through the pages or filtering by 8.3 in version.

When the patch is downloaded you can head over to the Environments section and find your vROps installations. Choose your deployment and navigate to Install Patch.

Attention: Make sure you have taken your cluster offline and created a snapshot before you proceed.

Select the patch and hit next

Review and click Install
The patch installation will take the cluster offline during the process

vRSLCM will now install the patch for you.

My installation took almost 1 hour but may vary between different setups. Also remember to remove the snapshot when you have verified that everything is working as is should.

Wrap-up

When using the vRSLCM appliance to do patching and upgrades it makes your job easier and its less prone to errors or mistake. It is not perfect but its better than the alternative. I have also added my takeaways from the process and where it could improve.

My tips for improvement

  • Missing the ability give full admin access to domain authenticated users.
  • Sort by ReleaseDate option in Binary Mapping -> Patch Binaries view.
  • Add built inn workflow to take vROps cluster offline, create snapshot and bring online within the upgrade and patch process.
  • Missing ability to auto download of patches.
  • Missing built in function to alert of new versions and patches through email. (this should be combined with the SMTP settings in the other products to have a single point of config for SMTP across vRealize.

References

VMware vRealize Operations security patches (83260)
VMSA-2021-0004

VMware vRealize og vCloud Suite kampanje

Fra 01.09.2020 startet VMware en kampanje med 50% rabatt på nykjøp og oppgradering til vRealize og vCloud Suite. Kampanjen varer til 22.01.2021 og er en gyllen mulighet til å få produktene i pakken til en rabattert pris.

Hva er i vRealize Suite standard pakken

vRealize Suite Standard inneholder fire tjenester. vRealize Suite Lifecycle Manager med VMware Identity Manager, vRealize Operations Manager og vRealize Log Insight.

Produktene i vRealize Suite Standard
Produktene i vRealize Suite Standard

vRealize Suite og vCloud Suite pakkene er helt lik med unntak av at vCloud Suite inneholder vSphere Enterprise plus.

vRealize Suite Standard VS vCloud Suite Standard
vRealize and vCloud Suite Pakkene
vRealize SuitevCloud Suite
vRealize Suite Lifecycle ManagervRealize Suite Lifecycle Manager
vRealize Operations ManagervRealize Operations Manager
vRealize Log InsightvRealize Log Insight
VMware Identity ManagerVMware Identity Manager
vSphere Enterprise Plus


Hva kan vRealize Suite brukes til

vRealize Suite inneholder verktøyene du trenger for å full oversikt og kontroll i datasenteret ditt, on-prem eller i sky. For mer info se VMware sine produktsider. Eller sjekk ut noen av VMware innleggene mine

VMware Identity Manager portal satt opp med SSO til alle tjenestene i vRealize Suite I tillegg til NSX og vRealize Network Insight
VMware Identity Manager portal satt opp med SSO til alle tjenestene i vRealize Suite I tillegg til NSX og vRealize Network Insight

Hvem kan utnytte rabatten?

De fleste kan utnytte denne rabatten da den gjelder på ny kjøp av vRealize Suite og oppgradering for dem med eksisterende vRealize Operations Standard lisenser (pr CPU)
Man kan også benytte rabatten ved oppgradering av vSphere lisenser til vCloud Suite, se listen under for detaljer.

ProduktnummerProdukt Beskrivelse
VR19-STD-PROVMware vRealize Suite 2019 Standard (Per PLU) Promo
CL19-STD-PROVMware vCloud Suite 2019 Standard Promo
CL19-STD7-STD-UG-PROUpgrade: VMware vSphere 7 Standard to vCloud Suite 2019 Standard Promo
CL19-ENT7-STD-UG-PROUpgrade: VMware vSphere 7 Enterprise to vCloud Suite 2019 Standard Promo
CL19-EPL7-STD-UG-PROUpgrade: VMware vSphere 7 Enterprise Plus to vCloud Suite 2019 Standard Promo
VR19-OSTC-STD-UG-PROUpgrade: VMware vRealize Operations 8 Standard (Per CPU) to VMware vRealize Suite 2019 Standard (Per PLU) Promo
vRealize og vCloud Suite oppgraderingsvalg

Referanser

https://www.vmware.com/se/promotions/2020-vrealize-suite.html
https://blogs.vmware.com/management/2020/08/vrealize-vcloud-suite-promo.html
https://www.vmware.com/products/vrealize-suite.html

Eaton UPS Dashboard for vRealize Operations Manager

vRops UPS Icon

When I saw that VMware had updated the SNMP management pack for vROps a little while ago i wanted to test and see what it could be used for. But first I want to thank Steven Bright at https://www.stevenbright.com for making the job a bit easier with his blog Monitoring devices using SNMP in vRealize Operations 8.1 In my post I will go into details on installing the XUPS-MIB file and the creation of the Eaton UPS dashboard.

Before you begin

I would always recommend to check if there is a management pack available for the devices you want to monitor. When it comes Eaton UPS devices a quick search on the VMware Marketplace reveals that there is a management pack, unfortunately it is old and outdated. This is of course a bummer but we can still monitor the devices using SNMP and creating our own views and dashboards. A tip for this dashboard is that you can download the old management pack and extract the UPS icon for use with our Eaton UPS dashboard.

Preparation

So how can I monitor my device using the SNMP management pack. First make sure you have the SNMP details for the devices you want to monitor. And verify if the MIB file is present inside vROps. In my case it was not, so I had to figure out what MIB file to use and where to download the Eaton MIB files. I also made sure the devices was updated with the latest firmware found at Eatons download page.

How to upload MIB files to vROps

To upload the Eaton MIB files to my vROps nodes I tried to follow the VMware documentation on how to upload MIB files. It gives us the info but not all the details. So here’s a detailed description on how I did it.

Step 1

I used WinSCP and Putty when uploading the MIB file and running the script on all vROps nodes. Navigate to the location of the mib files and upload your mib files.

usr/lib/vmware-vcops/user/plugins/inbound/snmp_adapter3/conf

Step 2

When the mib file is uploaded go to usr/lib/vmware-vcops/user/plugins/inbound/snmp_adapter3/conf and I run the updateMibs.sh script file.

sh updateMibs.sh

When that is done you can check the mib-import.log file to search for your newly imported mib file. If you can’t find it some thing went wrong. Once you have verified that the mib is in the log file you are good to go.

Important: Many of the mib files are called MIB something, make sure that your mib file have the .mib extension or it won’t import. It happened to me once, the filename ended on MIB so I dint see that the .mib extension was missing. This type of issue is easy to miss but also easy to catch if you verify using the mib-import.log after running the updateMibs.sh file.

Step 3

Edit the describe.xml file and update the version number shown in RED.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2007-2020 VMware, Inc. All rights reserved -->
<AdapterKind key="SNMPAdapter" nameKey="1" version="9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Make sure step 1-3 is done on all your vrops nodes.

Step 4

Login to your vROps appliance and run redescribe.

Verify: You can verify that you have done everyting correctly. The number for the SNMP Adapter in the Describe Version column should match the number in the describe.xml file you just updated. When you run the redescribed it should increase to the new number.

You are now done with the import and should be able to add a new adapter and find your newly imported MIB in the adapter mib file list.

Collecting data and creating the dashboard

I won’t go into details on how to add the adapters and create custom groups as that is thoughly described in Stevens blog. But when you have created a custom group for the devices, custom alerts and a new policy for collecting the mib data you need to figure out what data to collect and how to present it. I used Circitor.fr to find some more details about the XUPS-MIB file.

In my case certain UPS models seemed to work fine but no data was received inside vROps. This issue was resolved when I changed the settings to use SNMPv3.

What OIDs to use

I guess it depends on what you want to monitor, present and do trends on. I focused on the following in my dashboard.

XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsBattery|xupsBatCapacity - OID: .1.3.6.1.4.1.534.1.2.4
XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsBattery|xupsBatteryAbmStatus - OID: .1.3.6.1.4.1.534.1.2.5
XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsInput|xupsInputTable|xupsInputEntry:1|xupsInputVoltage - OID: .1.3.6.1.4.1.534.1.3.4.1.2
XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsEnvironment|xupsEnvAmbientTemp - OID: .1.3.6.1.4.1.534.1.6.1
XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsBattery|xupsBatTimeRemaining - OID: .1.3.6.1.4.1.534.1.2.1

For the time remaining the collected data was in seconds so I created the following super metric to convert it to minutes for easier viewing.

floor({
This Resource: XUPS-MIB|iso|org|dod|internet|private|enterprises|powerware|xups|xupsBattery|xupsBatTimeRemaining - OID: .1.3.6.1.4.1.534.1.2.1
}/60)

The dashboard

The dashboard I have created consist of a few different components
Object list: This list contains all the UPS units
History: This shows the trend of time remaining and state of the units.
Description: It contains a description on the different states.
Relationship: I have created a relationship from the UPS to the host it provides power to so it is easy to see what is impacted in case of a failure.
Alerts: I tried using syslog from UPS to Log Insight and then into vROps but unfortunately most EATON units I had did not support remote syslog.

This is how the dashboard turned out.

Eaton UPS Dashboard

Bygg organisasjonsstrukturen inn i vRealize Operations Manager

Hvor mange ganger har du ikke ønsket å kunne ta opp en oversikt der man kan se hvordan «alt» henger sammen? I vRealize Operations har man mulighet til å gjøre nettopp dette. Her får du en liten innføring i hvordan dette kan se ut.

Visualiser sammenhengen mellom komponenter, tjenester og organisasjonen

vRealize Operations Manager kommer med mange innebygde grupper, funksjoner og dashboards. En av disse funksjonene er «Custom Groups» ved å ta i bruk denne kan man gjenskape virksomhetens organisasjonsstruktur og koble denne mot resten av innholdet i vROps. Som overvåking av tjenester, hoster, virtuelle maskiner og mange andre komponenter! Ref bildet.

Oversikt på høyt nivå, med Selskap, avdeling og tjenester

Ta i bruk vRealize Operations i hele virksomheten

For de kundene som har vRealize Operations er det dessverre ofte kun intern IT drift som benytter vROps, og resten av virksomheten er uviten om mulighetene som ligger i løsningen. Dette er synd da vROps kan så mye mer.

Oversikten jeg har laget her er bare en av mange måter man kan benytte vROps for å gi resten av virksomheten bedre innsikt i relasjonene, fra deres tjeneste og nedover i infrastrukturen.

Virksomhets oversikt visualisert i vRealize Operations

Det man oppnår ved å gjøre dette er en klikkbar og dynamisk oversikt som viser hvordan alt henger sammen med mulighet for å gå inn på hver komponent og se på videre detaljer. Man kan også levere dette i form av dashboards, vise det på storskjerm eller sende det ut som weblinker osv.

Når man via løsningen går inn og ser på et objekt vil man kunne se hvilke grupper denne er medlem av og enkelt finne ut hvem som «eier» maskinen og hvilke tjeneste den tilhører. Om man i tillegg har tatt i bruk «Service Discovery» som vist på bildet vil man ha enda mer informasjon tilgjengelig i ett GUI.

vROps i «Custom Group» for visualisering av eierskap samt «Service Discovery»

Dette var en liten oversikt over hvordan man enkelt kan koble organisasjonsstrukturen sammen med innholdet i vRealize Operations Manager.

vCloud Availability i vSphere 7.0

vCloud Availability

Å flytte en VM til, fra og mellom skyer samt disaster recovery har aldri vert enklere. I vSphere 7.0 legger VMware til rette for dette ved å legge info om vCloud Availability i vCenter. I dette innlegget skal jeg prøve å forklare litt om produkter og hvordan det settes opp.

Hva kan vCloud Availability brukes til?

«Skyene» må være VMware Cloud Verified

vCloud Availability kan benyttes i forbindelse med en DRaaS løsning og eller for å migrere tjenester til fra og mellom skyer. Løsningen består av en vCloud Director installasjon satt opp og driftet av en VMware Partner og en vCloud Availability appliance installert i ditt datasenter.

Man kan velge kun å benytte DRaaS, men samtidig ha datasenter kapasiteter tilgjengelig ved en hendelse. Eller man kan migrere maskiner enkelt over og ha dem kjørende fast i skyen.

vmw-vca-tri-icon
vCloud Availability

Noen muligheter med vCloud Availability

  • Skalere opp med resurser i skyen, og raskt migrere tjenester dit.
  • Enkelt flytte eksisterende tjenestene mellom datasentre ved behov.
  • Integrert i lokalt vCenter
  • Migrere eller beskytte VMer mellom datasentre.
    • Fra on-prem til sky
    • Fra sky til on-prem
    • Fra sky til sky

Hvordan komme i gang

Steg 1 (Gjelder for vCenter 7.0)

Gå til vCloud Availability i ditt vCenter der får du opp «getting started» siden.

Steg en er å opprette en avtale med en partner som leverer denne tjenesten. Gå til cloud.vmware.com/providers for å søke opp partnere. Når dette er på plass kan du starte konfigurasjonen av løsningen.

Cloud Availability I vSphere 7.0

Steg 2

Last ned og installer vCloud Availability i ditt datasenter.

En ting som kan være viktig å sjekke opp her er hvilken versjon leverandøren kjører. Tjenesten er bakover kompatibel, men funksjonalitet eller annet kan være påvirket. Bruk VMware Product Interoperability Matrices for å sjekke støtten.

Når den virtuelle maskinen er installert, sjekk at konfigurasjonen er riktig og kjør deretter «run initial setup wizard»

vCloud Availability Appliance konfigurasjon

Under denne prosessen vil du bli bedt om URL, brukernavn og passord, dette skal du ha mottatt fra leverandøren din.

Steg 3

Registrer vCenteret mot vCloud Availability appliance du nettopp har installert.

Koble vCenter mot appliance.

Du har nå satt opp vCloud Availability tjenesten og kan ta den i bruk.

Referanser

Dokumentasjon
Produktside
Krav til porter
Konfigurasjons begrensninger
VMware Product Interoperability Matrices

Backup your vRealize Operations dashboards with vRealize Suite Lifecycle Manager

vRealize Suite Lifecycle manager contains a feature called Content Management, this can among others be used to backup the content of your vRealize Operations Management Appliance. Like dashboards, views, alerts, super metrics, reports and other customizable content.

How to setup

Dette bildet mangler alt-tekst; dets filnavn er contentmanagement4.jpg
Add endpoint in vRealize Suite Lifecycle Manager

First you need to go to content management in your Lifecycle Manager Dashboard and add a «New Endpoint» Choose vRealize Operations from the «Choose endpoint type» menu.

As you can see it is also possible to add other endpoints as well.

You would then need to add the following details (Name, FQDN, admin and root passwords for your vROps Appliance. Click next and configure policy settings.

Add vRealize Operations Manager as new endpoint.
Policy options

In the policy setting you can configure some details about your endpoint. For capturing dashboard we only need «Allow content to be captured from this endpoint»

Capture

When that is done go to the content menu and click add content, choose your newly added vRealize Operations endpoint. Capture is selected as action by default. click proceed.

List of content that can be captured

On the capture details page, click the dropdown «select capture endpoint» and select your newly added vROps endpoint. Select what content you want to capture and click done. You must also add a comment before you can hit and hit next and submit.

Now you can watch the progress under content pipelines and under content you will see a list of all the content captured.

If you click on the content, you’ll get to see more details and the option to deploy the content to your endpoints.

Deploy

Once you have captured your content you can from the content menu deploy it back to the same vROps instance or to another one if you have multiple environments.

Summary

Backup of your customized content is nice if something should happen to it or your vROps environment. This is just one small part of what the content management feature in vRSLCM can be used for.

Issues

During my testing of this feature I got some issues when I tried to capture dashboards owned by other users than the admin user. I’m not sure why this is but I was not able to get it to work.

20.04.2020 I have now tested this with a new clean installation on 8.1 and the issue is the same. It leads me to believe it is a «feature»

Error message was: "Dashboard <dashboardname> not found for user admin"

Documentation

VMware Docs, Content Management

vExpert Cloud Management

vExpert Cloud Management 2020

Det er ikke lenge siden jeg ble tildelt vExpert tittelen for 2020, og nylig ble deltakerne i under-programmene annonsert. For meg er alt dette ganske nytt, men veldig spennende. I Cloud Management programmet for i år er det 2 stk fra Norge av totalt 96 stk fordel på 31 land. En ekstra gratulasjon til Rudi Martinsen som også fikk denne tittelen.

Hva er vExpert Cloud Management

vExpert Cloud Management er koblet mot VMware’s Cloud Management Business Unit som blant annet har ansvaret for følgende produktet vRealize Operations, vRealize Log Insight, vRealize Network Insight, vRealize Automation, og VMware Skyline.

Dette er mange spennende og potente produkter som jeg tro mange ikke vet om eller utnytter til sitt fulle potensialet.

Cloud Management vExperts får direkte tilgang til VMware’s Cloud Management Business Unit, Product Management, Product Marketing, og Engineering teams står det i beskrivelsen av programmet.

Håper og tror dette kan hjelpe meg, mine kollegaer, arbeidsgiver, kunder og andre i digitaliseringen av Norge og bedre utnytte VMware plattformen som så mange allerede benytter i dag.

Referanser

https://blogs.vmware.com/management/2020/04/2020-vexpert-cloud-management-announcement.html