logo
logo

Cloud Hosting

All the posts published

RDS: Changing the Connection Broker DNS Alias As you cannot edit the name from the RDS Server GUI, PowerShell to the rescue: Set-RDClientAccessName -ConnectionBroker -ClientAccessName

To view the FC WWWNs on a 2012 R2 or above Windows Server via powershell: “get-initiatorport” InstanceName NodeAddress PortAddress ConnectionType ———— ———– ———– ————– PCI\VEN_10DF&DEV_FE00&SUBSYS_FE0010DF&REV_02\4&370d11c1&0&0038_0 20000000c965485c 10000000c965485c Fibre Channel PCI\VEN_10DF&DEV_FE00&SUBSYS_FE0010DF&REV_02\4&370d11c1&0&0138_0 20000000c965485b 10000000c965485b Fibre Channel PCI\VEN_10DF&DEV_FE00&SUBSYS_FE0010DF&REV_02\4&2ded1b5a&0&0040_0 20000000c976ba3a 10000000c976ba3a Fibre Channel PCI\VEN_10DF&DEV_FE00&SUBSYS_FE0010DF&REV_02\4&2ded1b5a&0&0140_0 20000000c976ba3b 10000000c976ba3b Fibre Channel And pipe to a file with “c:\WWNs.txt”

 Install Web Client: Install-RDWebClientPackage “Publish-RDWebClientPackage -Type Test -Latest” Publish-RDWebClientPackage -Type Production -Latest Uninstall Web Client: Uninstall-RDWebClient Uninstall-Module -Name RDWebClientManagement Note: If you replace the SSL or set this up from new. You will need to import the SSL as a CER file (does currently support PFX files): Import-RDWebClientBrokerCert You can then find the site under /rdweb/webclient/

The General Data Protection Regulation (GDPR) is an EU law covering data protection and privacy which will update and replace the existing Data Protection Act for the 21st Century. This regulation, which comes into force from 25th May 2018, will mark the biggest change to data protection law in decades and applies to any organisation across the world which collects, stores or processes personal information relating to EU citizens. GDPR …

Read More →

We recently came across this error whilst working on a client site for our sister company Datacentre Monkey After deploying a new VCSA and setting up VUM with VMware and HPE patch repositories, we went to work updating the hosts in small batches. All went swimmingly until reboot when we noticed ESXi would hang on “nfsclient loaded successfully” checking the loading logs “ALT+F12” brought up the following: “Lost connectivity to the device mpx.vmhba32:C0:T0:L0” …

Read More →

How to Change the Colour of Address Bar in Chrome Mobile Browser to match your website: Just add the following between your <head></head> tags (for WP this in your header.php) <meta name=”theme-color” content=”#1f4f73″> Don’t forget to clear your cache.

Simple IIS rewrite to redirect all non-SSL and non-www traffic in a single URL rule, just place in the web.config: <rewrite> <rules> <rule name=”Force WWW and SSL” enabled=”true” stopProcessing=”true”> <match url=”(.*)” /> <conditions logicalGrouping=”MatchAny”> <add input=”{HTTP_HOST}” pattern=”^[^www]” /> <add input=”{HTTPS}” pattern=”off” /> </conditions> <action type=”Redirect” url=”https://FQDN/{R:1}” appendQueryString=”true” redirectType=”Permanent” /> </rule> </rules> </rewrite> ** Note you need the module installed first, reload IIS after installation. https://www.iis.net/downloads/microsoft/url-rewrite

For NGINX/Apache hosts: RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !=on RewriteCond %{SERVER_PORT} ^80 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] RewriteRule ^index\.php$ – [L] Best done with a plugin on CMS/WP sites!

To add you VCC cloud repository, it just takes a few simple steps.   Open your Veeam B&R console, navigate to “Backup Infrastructure”     Under “Service providers” click “Add Service Provider”   Enter the following DNS name “vcc.cloudmonkey.co.uk” and leave the port as 6180.   Select “Allow this Veeam Backup & Replication to be managed by the service provider” in order for you to use the VCC Portal to …

Read More →

The latest Pure Flash System VMware best practices script is available here. And an in depth write up here. And here’s one we installed earlier…

For more details go here: virtuallyGhetto Or skip to the fix we used, download the latest (beta) flash client and uninstaller here. Run the uninstaller (bottom of page link), then run the installer, restart chrome and tada! * In summary, Google published a newer version of Flash with the latest Chrome update, which does not play nicely with many flash based websites.

 Veeam VCC steps to create and ship seed data: 1. Create a new, auxiliary, backup copy job. Add VMs whose restore points you want to copy to the auxiliary backup copy job. Target the auxiliary backup copy job to some backup repository on the source side that is not the source backup repository location in the GUI. You are unable to target ‘Backup Repository’ for both Backup and Backup Copy …

Read More →

/boot at 100%? Try the following to claw back some space: sudo apt-get clean sudo apt autoremove –purge sudo apt-get autoremove –purge sudo purge-old-kernels sudo apt autoremove sudo apt-get purge linux-image-4.4.0-67 sudo rm linux-headers-* And/Or: sudo uname -r sudo dpkg –list ‘linux-image*’ sudo apt-get remove linux-image-VERSION * Replace VERSION with the version of the kernel you want to remove. So not your current one.. : ) sudo apt-get autoremove sudo …

Read More →

Vesta control panel use main sites SSL cert Here is how to re-use your site SSL for both the site and the Vesta control panel. If you are using Letsencrypt then both the site and the CP will use the auto renewed SSL cert. * This assumes Nginx front end with an Apache backend and you have already enabled Letsencrypt on your main website. Backup the old CP SSl files: …

Read More →

Sometimes it’s the little things… Force browsers to use your shiny new favicon. <– add ?v=2 to favicon –> <link rel=“shortcut icon“ href=“/favicon.ico?v=2“>

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 →

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 →

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 →

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

Cloud Hosting | Cloud Monkey