logo
logo

Uncategorised

All the posts published

Delete Recovery Partition in Windows 7/8/10 Start/Run/Diskpart – Run as Administrator Type “list disk” to display all the disks. Type “select disk n”, in which “n” contains the Recovery partition. Type “list partition” to list all the partitions on the selected disk. Note the number of the Recovery partition. Type “select partition n” where n should be the partition number of the recovery partition. Type “delete partition” to delete the …

Read More →

Huh? Aha! You have to stop the VM from within the Portal or via Powershell, if you shutdown from the OS you will be billed.

VCSA 6/6.5 Replace Machine SSL with 3rd party CA SSL certificate SSH (1st Window) “shell” “mkdir /root/ssl” “/usr/lib/vmware-vmca/bin/certificate-manager” Option 1 ** Note name should be the same as hostname (FQDN) SSH (2nd Window) shell “cd /root/ssl” “mv vmca_issued_key.key machine_ssl.key” “vi vmca_issued_csr.csr” Copy CSR to your 3rd party CA and request SSL === Banana & Tea Break whilst you wait issue, mileage may vary === Download SSL cert bundle Copy …

Read More →

Does exactly what it says on the post… You can use the following tools that come with the Veeam B&R installation to restore VMs, only works with the full VBK backup files. But certainly a trouser saver if you need to restore your Veeam (or any other) server without the main Veeam server. Under the following path on the B&R server: C:\Program Files\Veeam\Backup and Replication\Backup\ You will find the following: …

Read More →

When converting from Hyper-V to VMware with Zerto you may get a BSOD on boot. This is due to: The virtual machine is not configured to start the proper drivers at initial boot time. The 7B error code indicates an inability to locate the disks Due to Microsoft default SAN policy, the volumes for the virtual machine in the VPG might become offline upon recovery. To fix, run the following …

Read More →

Due to volume snapshots, a customer lost one of their iSCSI datastores. Because the Zombie VMs have active processes, even with that volume being back online it shows as inaccessible. A storage rescan is unable to unmount/mount that datastore and a reboot option was unavailable. To recover the volume without a reboot: esxcli storage filesystem list Find the naa ID of the effected volume (you can also get this from …

Read More →

Converting a VMDK to an RDM Ok a little strange, but sometime’s needs must. So we had a requirement to convert an existing VM from VMDK to a physical RDM. Nice and straight forward however: Create new LUN for the VM, in this case an 80GB LUN for the OS (the remaining disks where already RDMs). Find the NAA indentifier for the new LUN “naa. Find the existing VMDK path …

Read More →

Bulk import PST files to Exchange 2010   So, you have a bunch of PST files to import into Exchange 2010? Grant the Import/Export role: New-ManagementRoleAssignment -Role “Mailbox Import Export” -user “username” Get exchange to import every PST under “\\ex01\*.pst” Dir \\ex01\pst\*.pst | %{ New-MailboxImportRequest -Name RecoveredPST -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder SubFolderInPrimary} Watch the progress: get-mailboximportrequest | get-mailboximportrequeststatistics | ft targetalias,percent*,bytestransferred Clear completed imports: get-mailboximportrequest -status completed …

Read More →

Enable SNMP in vSphere ESX 6 Manually via SSH: esxcli system snmp set -r esxcli system snmp set -c m0nkeys33 esxcli system snmp set -p 161 esxcli system snmp set -L “The Bunker, Newbury” esxcli system snmp set -C support@cloudmonkey.co.uk esxcli system snmp set -e yes PowerCLI to all hosts: Via this PowerShell script courtesy of 9to5it.com  Host Profiles Edit an existing profile under SNMP and apply to host/cluster. * Host(s) …

Read More →

How to encrypt your sites with Let’s Encrypt on Turnkey Linux LAMP 14.1 Mileage may vary..   Add the repo: vi /etc/apt/sources.list “deb http://ftp.debian.org/debian jessie-backports main” Get the Certbot: cd && wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto Get an SSL with the domain “cloudmonkey.co.uk” and the site domain “www.cloudmonkey.co.uk”: cd && ./certbot-auto certonly -d cloudmonkey.co.uk -d www.cloudmonkey.co.uk Set Cron to check for a new SSL twice per day: crontab -e 0 …

Read More →

How to reset the local SSO admin account on vCenter 6 Windows From an elevated command prompt, run: “%VMWARE_CIS_HOME%\vmdird\vdcadmintool.exe” Choose option 3. Type “administrator@vsphere.local” (or your custom suffix) And copy the new generated password, then login via the webclient to change. If you get the following error “VmDirForceResetPassword failed (5)” then login as the local windows administrator account and retry. This is a known issue. VCSA SSH to the appliance …

Read More →

Resetting Administrator Password in Windows 2008/2012 Nothing quite like not having the local administrators password on a migration! Here’s a quick reset method: Boot from the Micrsoft Windows Server 2008/2012 DVD From the Windows Setup menu, click “Next”. Select “Repair your computer” Under Choose and option, click on “Troubleshoot”. Under Advanced options, click “Command Prompt”. At the command prompt, run the following commands: d: cd windows\system32 ren Utilman.exe Utilman.exe.old copy …

Read More →

Installing VMRC “Failed to install hcmon driver” on Win 10 When trying to install the VMRC plugin on Windows 10, you may get the error above. Just run the installer from the command prompt as Admin. “C:\Users\infinitemonkeys\Downloads\VMware-VMRC-8.0.1-3747990.msi”

Nesting Hyper-V 2012 R2 under ESXi For a client project, we built out a nested Hyper-V server for replication purposes under VMware, works a treat but you need to make a few tweaks before the Hper-V role will install. Deploy a new 2012 R2 VM, GuessOS as 2012/2012R2 depending on your version, upgrade to VM HW version 10. Remove the VM from the VC inventory, download the .vmx and edit …

Read More →

Create Data Domain DD Boost storage unit: Open the Data Domain system manager and navigate to Data Management/DD Boost/Storage Units and click Add. In the wizard, a user is selected for the DD Boost Storage Unit. In this example, the DD Boost Storage Unit is called repo-sample and the user is service.ho.veeam (existing user on DD has credentials stored).   To create a Data Domain Boost-enabled backup repository, navigate to …

Read More →

Hyper-V VSS Backup Errors If you run into these, on backups with Hyper-V. Some initial quick checks to resolve the issue: On the virtual machine: Run the following Power Shell command “vssadmin list writers” and see if any have errors or have timed out, then “net stop” and “net start” each writer with an issue. Note, some have cryptic service names such as “System Writer” see this handy table. Then …

Read More →

Fancy changing your WP logon page? Just add the following code to your functions.php, make sure you adjust the heigh/width & size to your match your image and change the background to your colour of choice (#000) & (#333) in this case. Always best to make a back up first! function qot_login() { echo ‘<style type=”text/css”> .login h1 a { background-image:url( “http://path/to/png” ) !important; height: 180px !important; width: 135px !important; background-size: 180px …

Read More →

IIS7 SSL error “A specified logon session…” Whilst installing Veeam B&R Enterprise v9 recently, we had an odd error on install whilst trying to use one of our 3rd party certs ( happily already in use on the Gateway ) with just an error of “Invalid Certificate” so to get the install going, we went with a self signed cert and tackle that SSL issue in IIS. Once installed, hopped …

Read More →

Coming soon! Sorry.. We can assist remotely free of charge whilst we write this one up, just get in touch today.

Tips for Installing Veeam Backup v9 One of our clients has their own Veeam backup appliance due to PCI constraints, it had been merrily running v7 for about two years with no issues. But a recent update to the vCenter appliance (vCSA 5.5 u3) cause the backups to fail. Initially it just looked like logon issues, but after some digging an upgrade to v9 was deemed the best approach. We …

Read More →

Install ManageIQ for vCenter 5.5 environments Download and deploy OVF, use the console to configure static IP * Took a few minutes before VM was ready post login prompt for the “appliance_console” menu to work, even on SSD backed storage. Defult user is “root/admin” passwd: “smartvm” http://staticip/ SSL If you want to replace the SSL, just replace “server.cer” and “server.cer.key” in: /var/www/miq/vmdb/certs (Make sure you bundle the server.cer with root …

Read More →

VMRC Console Plug-in Hello! We have moved over to a new Portal platform, based on ManageIQ lots of great features. But for this post we will detail the steps needed in order to view the console of your Virtual Machines ( not required for any other VM management ). You will need to download the latest VMRC plugin from VMware and install ( reboot really is not required ) and this only …

Read More →

Combing SSL Cert bundles for Apache We can never remember this one, so juts a quick post. To combine your certs in the right order for Apache it’s: *yourdomainname*.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt We used Comodo in this case, but same applies for the rest! Just remember to update the correct virtual host: Fedora/CentOS/RHEL: /etc/httpd/conf/httpd.conf Debian and Debian based: /etc/apache2/apache2.conf

Hello and welcome to our very first blog! We have been threatening to do this for years.. But somehow never quite found the time. So to start proceedings we thought we would write a blog post that had nothing to do with Cloud Hosting, Infrastructure or even IT. But it does at least explain our chosen nom de plume. The Infinite Monkey Theorem Now there have been many articles, film …

Read More →
Uncategorised | Cloud Monkey