Migrate to Virtual Center 6.7 when the Virtual Center is Virtulized on providers Virtual Center. Migrated Virtual Center has no ip connectivity to local ESXi host. Add extra nic to VirtualCenter is the soloution!

You need ip connectivity from the temp VC to the ESXi host that the upgraded VC is hosted. We want to upgrade VC-CUST (192.168.1.1), in this case migrate to 6.7 from 6.5. This CirtualCenter resides in hosted VirtualCenter VC-Provider. VC-Provider has NO ip connectivity to customer. VC-CUST has no IP connectivity to ESXI host (172.16.1.2)... Continue Reading →

CONFIGURING PURE1 VM ANALYTICS With Proxy settings

Please follow this great guide from Cody! https://www.codyhosterman.com/2018/10/configuring-pure1-vm-analytics-detailed-guide/ When you come to the point when you shall install or update something stop! Now it is time for proxy stuff. Apt proxy settings sudo vi /etc/apt/apt.conf.d/proxy.conf Acquire { HTTP::proxy "http://proxy.invid.se:8080"; HTTPS::proxy "http://proxy.invid.se:8080"; } Linux For other Linux stuff you want to add this in root users... Continue Reading →

Brocade San Switch – Commands to know

Show switchshow - Indicators like no light or In_sync will be displayed portshow <port> - Provides report on errors on a port porterrshow - provides gist of port errors, look for delta of counters portstatsshow <port> - Provides details of port errors portstats64show - Extension of portstatsshow when 32 bit counters do not suffice, look... Continue Reading →

Getting strange error when installing vcli 6.7on ubuntu 18.10

Getting some error when try to run ./vmware-install.pl vcli Path::Class 0.33 or newer Socket6 0.28 or newer IO::Socket::INET6 2.72 or newer Net::INET6Glue 0.603 or newer How I did: sudo apt install -y perl-doc libmodule-build-perl libssl-dev libxml-libxml-perl libsoap-lite-perl libuuid-perl sudo apt-get install libcrypt-ssleay-perl libcrypt-openssl-rsa-perl sudo cpan Devel::StackTrace Class::Data::Inheritable Convert::ASN1 Crypt::OpenSSL::RSA Crypt::X509 Exception::Class UUID::Random Archive::Zip Path::Class Try::Tiny... Continue Reading →

CEH Practical #CEH @ECCOUNCIL

I have read many things about that CEH is not that good, but I think otherwise. I think everyone in IT schould attend a cource like this. You learn alot, some basic some advanced stuff. You need to start from somewhere, and this is a good starting point. You need to learn how to walk... Continue Reading →

Upload file to datastore, certificate error.

To fix this Browse to VirtualCenter Down at the right bottom on page press Download trusted root CA Unpack the zip file Open Certmgr.msc Go to Trusted Root Certification Authorities Rightclick on Certificates and All Taska/ Import Import the certificates that you unzipped before Restart Browser Done!  

Upgrade 5.0.0 to 5.5 from CLI.

When you have upgraded to 6.5 and did not notice that you had a 5.0.0. server in the Virtual Center. You can upgrade the 5.0.0 host from CLI with some simple commands. Download the offline Bundle for 5.5 zip file Download the zip file to ESXi host with your tool. (Vsphere client, Winscp or scp)... Continue Reading →

Some nice For Dummies Books.

Will add more as I stumble upon them. Network Virtualization for Dummies https://secure.vmware.com/47785_REG?touch=1&src=so_5bbb4d89277ef&cid=70134000001CYBq&src=so_5a314d05e49f5&cid=70134000001SkJn Micro‐segmentation For Dummies https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/vmware-micro-segmentation-for-dummies-book.pdf NVMe over Fibre Channel For Dummies Brocade Special Edition http://media.wiley.com/assets/7359/40/9781119399711.pdf Firewalls for Dummies https://doc.lagout.org/Others/Firewalls%20For%20Dummies%2C%202nd%20Edition.pdf Next Generation Firewall for Dummies https://www.csuc.cat/sites/default/files/docs/ngfw_for_dummies_ebook.pdf Cybersecurity for Dummies https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/education/cybersecurity-for-dummies.pdf Network Security in Virtualized Data Centers for Dummies http://gauss.ececs.uc.edu/Courses/c5155/pdf/netsec_virtdatacntr.pdf Virtualization for Dummies https://ssl.www8.hp.com/de/de/pdf/virtuallisation_tcm_144_1147500.pdf  ... Continue Reading →

Create wildcard from lets encrypt from another machine. And convert to p12

You need to verify by dns, that's what I read anyway. I was doing this from ubuntu 18.04 Install certbot: sudo add-apt-repository ppa:certbot/certbot sudo apt install python-certbot-apache Oneliners Certbot certonly --manual --preferred-challenges=dns --email roger.bergling@invid.se --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.portal.jkp.invid.se Add DNS txt vaule, you get this from above command Convert cert to p12: openssl pkcs12... Continue Reading →

Unable to migrate Virtual Center to 6.5 from 5.5. Certificate errors.

Easy one Uninstall VCenter Server from Windows Copy/Backup and  Remove C:\ProgramData\VMware\VMware VirtualCenter\SSL Reinstall same Virtual Center that was installed before.   Or you can follow this great blogg from Zlatko Mitev http://vbuffer.com/vcenter-selfsigned-certificates/ Some notifcation from me: OpenSSL 0.9.8 is requried http://gnuwin32.sourceforge.net/packages/openssl.htm Deploying and using the SSL Certificate Automation Tool 5.5 http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2057340 #When you are running openssl... Continue Reading →

Windows 2008 R2 cleanmgr.exe how to fix without reboot.

If not have desktop expirence installed and want to clean up C: on Windows 2008R2. Then copy below files the you are able to run clenmgr whitout reboot. Yo need to overwrite, because the old files will be there. C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe to C:\windows\system32\ C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui to C:\windows\system32\en-us\ The you can run cleanmgr.exe

Schedule backup on DataCore nodes. Email,copy the backup job

Create Backup.ps1 file on every datacorenode. Under C:\backup Create backup.bat file on every datacorenode. Under C:\backup Schedule a task in Datacore to run below powershell script and the backup.bat on every node. The Powershell needs only on one node. The script solves that for you.   Backup.bat net use \\1.1.1.1\h$ /user:user password copy C:\Backup\* \\2.2.2.2\h$\Datacore\... Continue Reading →

Upgrade Datacore manually

How to manually upgrade Datacore. Download the Datcore Software Do you have DCSAdmin Password? If you don't, get it. If you have lost that password another blogpost is about to be done to explain howto change that. Connect to both nodes 1. Check System Health 2. Check version. Server Group DataCore Servers Version: 10.0.PSP5 Update... Continue Reading →

Locate firmware and disk model Ubuntu

apt-get install smartmontools smartctl --xall /dev/nvme0n1p2 smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.6-041806-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, http://www.smartmontools.org === START OF INFORMATION SECTION === Model Number: PC401 NVMe SK hynix 512GB Serial Number: ES82N134010102J61 Firmware Version: 80003E00 PCI Vendor/Subsystem ID: 0x1c5c IEEE OUI Identifier: 0xace42e Controller ID: 1 Number of Namespaces: 1... Continue Reading →

Linux find file and directories and delete

Use the first to delete directories also second only files Skip -exec and all after just to search so you dont delete the wrong stuff. find . -name NAME_TO_FIND -exec rm -rf {} \; OR find . -type f -name NAME_TO_FIND -exec rm -f {} \;

Firmware upgrade Dell XPS 13 Ubuntu

sudo su fwupdmgr refresh fwupdmgr get-updates fwupdmgr update -v   or download the firmware update from dell .exe file and put into /boot/efi reboot press F12 ans choose firmare upgrade root@ubuntu:/boot/efi# ls EFI XPS_9370_1.5.1.exe  

MobilityGuard Tips och Tricks

Create http headers Base 64 encode mgpwd X-TEST                     PARM{base64encode(PARM[mgpwd])} MD5 Sum on password X-TEST                      PARM{base64encode(PARM[mgpwd])} Saml Saml attribute to send in personal id if you login with e-id or webtoken definision by ldap1 attirubute under Database settings... Continue Reading →

Vsphere 6.7 Whats New small words

Full list: https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-esxi-vcenter-server-67-release-notes.html The vSphere 6.7 release is the final release of vCenter Server for Windows In-Guest unmap with snapshots VMware is deprecating webplatform.js, which will be replaced with an improved way to push updates into partner plugin solutions without any lifecycle dependencies on vSphere Client SDK updates. If you have an existing plugin solution to the... Continue Reading →

Powercli Vsphere

Get VM list from a datstore Get-datastore | Where {$_.name -like '*DATASTORE01*'} | Get-VM Find snapshots Get-Snapshot -vm * -name “VEEAM BACKUP*” | Format-Table -property VM,Name Clear snapshots Get-Snapshot -vm * -name “VEEAM BACKUP*” | remove-snapshot   List VM and What Datastore get-vmhost |get-datastore|%{$ds=$_; $ds.Extensiondata.Vm|%{$_|select @{n='vm name';e={(Get-View -property name -Id $_.toString()).name}},@{n='ds name';e={$ds.name}} }}   List... Continue Reading →

The host returns esxupdate error code:12. cannot read or write to the database. check the update manager log files and esxupdate log files for more details.

When remmidate you get this error. I installed the patches that I can stage.   Stuck on Next step: esxcli network firewall unload esxcli software vib install -v http://vum.se:9084/vum/repository/hostupdate/vmw/vib20/tools-light/VMware_locker_tools-light_6.5.0-1.33.7273056.vib [DatabaseIOError] Failed to create temporary DB dir: [Errno 28] No space left on device: '/locker/packages/var/db/locker/profiles.new' filename = /locker/packages/var/db/locker Please refer to the log file for more... Continue Reading →

Software Depo for HPE and Dell

Dell: https://vmwaredepot.dell.com/index.xml) HP: http://vibsdepot.hpe.com/getting_started.html#DepotContent   http://vibsdepot.hpe.com/index.xml - latest HPE Value-Add components (for VUM)   http://vibsdepot.hpe.com/hpe/<release date>/index.xml or http://vibsdepot.hpe.com/hpq/<release date>/index.xml - latest HPE Value-Add components for a specific release   http://vibsdepot.hpe.com/index-drv.xml - latest HPE and 3rd party device drivers used in the HPE Custom Image (for VUM)   http://vibsdepot.hpe.com/hpe/<release date>/index-drv.xml or http://vibsdepot.hpe.com/hpq/<release date>/index-drv.xml - latest HPE... Continue Reading →

The upgrade contains the following set of conflicting VIBs. When upgrading to 6.5

Scan the host with UpdateManager and look at the result: The upgrade contains the following set of conflicting VIBs QLogic_bootbank_scsi-qla2xxx_934.5.29.0-1OEM.500.0.0.472560 Emulex_bootbank_scsi-lpfc820_8.2.4.151.65-1OEM.500.0.0.472560 Emulex_bootbank_scsi-lpfc820_8.2.4.151.65-1OEM.500.0.0.472560 QLogic_bootbank_scsi-qla2xxx_934.5.29.0-1OEM.500.0.0.472560 Solution:   esxcli software vib list | grep qla2 scsi-qla2xxx 934.5.29.0-1OEM.500.0.0.472560 QLogic VMwareCertified 2014-11-11 ~ # esxcli software vib remove -n scsi-qla2xxx Wait it take some time Removal Result Message: The update... Continue Reading →

Create certificate for MobilityGuard against LDAP (AD or LDS)

Begär klientcertifikat Det följande har vi gjort från en windowsmaskin, det går kanske att använda linux och firefox men det har vi inte testat.  Men en windows-dator, surfa med internet explorer till: [http:///]http:///certsrv och logga in med det konto som MG ska använda. Välj följande:  Request Certificate -> Advanced certificate request -> Create and submit a... Continue Reading →

Vsphere 6.5 Migration error. Replace a Process Level Token privilege to the user

Replace a Process Level Token privilege to the user Error when you do the prechecks https://technet.microsoft.com/en-us/library/dn221975.aspx Login with your Administrator account on the Windows machine. Go to Control Panel and open the Administrative Tools. Open Local Security Policy and expand Local Policies.  Under User Rights Assignment, open the Replace a Process Level Token. Add service account name that is being used by the... Continue Reading →

Disable dnsmasq in ubuntu

Disable the systemd-resolved service and stop it: sudo systemctl disable systemd-resolved.service sudo service systemd-resolved stop Put the following line in the [main] section of your /etc/NetworkManager/NetworkManager.conf: dns=default Delete the symlink /etc/resolv.conf rm /etc/resolv.conf Restart network-manager sudo service network-manager restart

Patch or upgrade 5.5 get VIB VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.3.95.4345813 requires xhci-xhci >= 1.0-3vmw.550.3.95, but the requirement cannot be satisfied within the ImageProfile

To resolve this issue, remove the xhci VIB file before upgrading the host. Connect to the affected ESXi host using an SSH session. For more information,  see Using ESXi Shell in ESXi 5.x and 6.0 (SOL-2003). Delete the xhci VIB file by running this command: esxcli software vib remove --vibname xhci-xhci

msg.snapshot.error-QUIESCING-ERROR” in vCenter Server

You get this when you clone a powered on vm. From: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069952   To resolve this issue, start the Windows Virtual Disk service: Log in to the Windows operating system as an Administrator. Click Start, type services.msc, and press Enter. Right-click the Virtual Disk service and click Start. If this does not resolve the issue, disable VMware snapshot provider in... Continue Reading →

Powercli 6.5 error with  add-pssnapin VMware.VimAutomation.Cor

They have chnage the way to app snapin! Get-Module -Name VMware.VimAutomation.Core -ListAvailable | Import-Module #add-pssnapin VMware.VimAutomation.Core     Error: add-pssnapin VMware.VimAutomation.Cor add-pssnapin : No snap-ins have been registered for Windows PowerShell version 3. At line:1 char:1 + add-pssnapin VMware.VimAutomation.Cor + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (VMware.VimAutomation.Cor:String) [Add-PSSnapin], PSArgumentException + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

UpdateManager strange errors after migrate. interface com.vmware.vim.binding.integrity.baselinemanager is not visible from class loader

  From: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2147284 Cautions: The following is a destructive task. Ensure you have working backups and/or snapshots of the vCenter Server Appliance 6.5 before proceeding.   Connect to vCenter Server Appliance 6.5 via SSH Run the shell command to switch to the BASH Shell:shell Stop the VMware Update Manager Service:service-control --stop vmware-updatemgr Run the following command... Continue Reading →

Error in Vsphere web Flash client. Cannot navigate to the desired location. Error details: An error occurred while activating extension vsphere.core.inventory.domainView. Invalid domain view id: vsphere.core.inventory.domainView

From: http://www.virtuallyghetto.com/2010/07/how-to-unregister-vcenter.html   1. Point your web browser to your vCenter server: https://VC-Server/mob and login. 2. Click on content: 3. Locate and click on ExtensionManager: 4. Click on the plugin you are interested in removing: 5. Record the plugin key id which will be used to remove the plugin: 6. Now, go back to previous page and at the... Continue Reading →

Virtual Center Appliance pre check failed Error: Source vCenter Server schema validation found an issue.

from the migration log: 2017-08-18 15:31:41.969Z| migration-assistant-5973321| E: ParsePreUpgradeOutput: Error: Failed to discover a system name that is compatible with both your VMware vCenter Server certificate and your VMware Single Sign-On certificate that can be used to migrate to a VMware vCenter Server Appliance with an embedded Platform Services Controller. 2017-08-18 15:31:41.969Z| migration-assistant-5973321| I: ParsePreUpgradeOutput:... Continue Reading →

Update failed Virtual Appliance when using proxy.

The proxy settings is only for http (in gui). You need to set this for https also. This is done from the cli. Enable ssh on the appliance ssh login with root com.vmware.appliance.version1.networking.proxy.set --protocol https --server 192.168.1.1 --port 8080

Virtualcenter precheck migration from 5.5 to 6.5. Source vCenter Server schema validation found an issue.

Felmeddelande med Precheck vid migrering: Error: Source vCenter Server schema validation found an issue. 1 [42000](50000) [Microsoft][SQL Server Native Client 10.0][SQL Server]ERROR ! Missing constraints: VPX_ENTITY_LAST_EVENT.FK_VPX_LAST_EVENT_EVENT;   Testa först med detta sql script: alter table VPX_ENTITY_LAST_EVENT add constraint FK_VPX_LAST_EVENT_EVENT foreign key(LAST_EVENT_ID) references VPX_EVENT (EVENT_ID) on delete cascade Funkar inte detta måste följande göras: Please  follow... Continue Reading →

Using esxtop to identify storage performance issues

Using esxtop to identify storage performance issues Details This article provides information about esxtop and latency statistics that can be used when troubleshooting performance issues with SAN-connected storage (Fibre Channel or iSCSI). Solution The interactive esxtop utility can be used to provide I/O metrics over various devices attached to a VMware ESX host. Configuring monitoring using esxtop To monitor... Continue Reading →

Blog at WordPress.com.

Up ↑