vRealize Orchestrator Appliance – Guest File Operations Part 1 – (Copying a file to guest VM)

One of the things you will often find you need to do with vRO is to get a file to a guest VM, or just run a file from inside the VM. Now for Windows you can use Powershell remote features in many cases, but what if your server isn’t on the network yet? Until version 5.1 we had to rely on VIX as a way to do this, but now VMware has added a number of new workflows under “Guest Operations” which are much more reliable.

vCO Guest Operations

vRO Guest Operations

“Copy file from vCO to guest” is the one I’m going to be using in this example.

First of all copy the workflow into a sandbox area. This way you can move a bunch of the inputs to attributes and not have to key them in each time (e.g. The local administrator username, password, and test VM).

In my example, I’m going to create a text file called test.txt in a new folder under /opt called “vcofiles”.

My target machine is a Windows 2008 R2 server, where I will copy the file and place it in the C:\temp\ folder with the name “testcopy.txt”

If you run the workflow then these are my input parameters:

GuestFileOperations-Run

The problem is that if you run this you will get an error similar to this:

“No permissions on the file for the attempted operation (Workflow: Copying files from vCO appliance to guest/Scriptable task…”

GuestFileFailure

GuestFileFailure

In order to fix this you first need to give the correct rights to the folder and file on your vCO Appliance.

1. Login as root onto the appliance
2. Give Read/Write/Execution rights to the new folder

FolderRights

3. Give Read/Write rights to the Text file you made

Filerights

Unfortunately we aren’t quite done yet. You also need to tell orchestrator which locations it can read/write/execute from. This involves editing the “js-io-rights.conf” file located in “/opt/vmo/app-server/server/vmo/conf”

Java-FolderRights-2

Add the line “+rwx /opt/vcofiles/” as shown above.

If anyone isn’t too sure on the linux commands to do this:

  • Type “cd /opt/vmo/app-server/server/vmo/conf” and press enter.
  • Type “vi js-io.rights.conf” and press enter.
  • Use the arrow keys to move the cursor where you want and press the insert key
  • Press Enter and type in the line “+rwx /opt/vcofiles”
  • Press ESC
  • Type “:wq” and press enter.

4. Now, there’s one more thing. You need to restart the vCO service for this to take effect.

Login to the vCO configuration manager, go to startup, and click restart service.

ServiceRestarted

5. Now run your workflow and see if your text file copied across.

Success

You can see a quick video demo of this on youtube. (apologies for the mouse pointer issue..)

Thanks for reading. Let me know if you have any questions.

 

How to match and correlate Windows SCSI Disk IDs with VMware VMDKs

*Note: This is a repost due to moving my posts from SystemsGame.com to 2ninjas1blog.com”

This post comes from a colleague of mine who couldn’t find a great resource on how to correlate the Windows Disk in Disk Management, with the Virtual Disk presented by VMware.

When all the disks are different sizes it is easy, but sometimes they are the same…how can you be sure you are expanding the right disk?

These instructions/steps should allow you to correlate Windows Disks to VMDK Disks.

  1. RDP  to the Windows server in question and run this powershell script
Get-WmiObject Win32_DiskDrive | select-object DeviceID,{$_.size/1024/1024/1024},scsiport,scsibus,scsitargetid,scsilogicalunit | out-file -FilePath c:\OutputPhysicalDrive.txt

This script should allow you to match the OS disks to the VMDK Disks. The output will be referenced in later steps.

Example output

DeviceID : \\.\PHYSICALDRIVE3
$_.size/1024/1024/1024 : 9.99680757522583
scsiport : 3
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE6
$_.size/1024/1024/1024 : 49.9993586540222
scsiport : 5
scsibus : 0
scsitargetid : 1
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE4
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 4
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE0
$_.size/1024/1024/1024 : 59.996166229248
scsiport : 2
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE1
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 2
scsibus : 0
scsitargetid : 1
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE2
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 2
scsibus : 0
scsitargetid : 2
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE5
$_.size/1024/1024/1024 : 49.9993586540222
scsiport : 5
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

The second step is to get a list of your VMDK disk information by editing the virtual machine in question. 

The information you will be retrieving is the
Disk Name: “Hard disk 1”
Size: “60 GB”
Bus ID: 0
Disk ID: 0

SCSI (X:Y) Hard Disk under Virtual Device Node. The X:Y values are:

X = Bus ID
Y = Disk ID

Enter the Disk information for all VMDK disks into a table like the one below:

Reference OutputPhysicalDrive.txt and match up any OS disks to VMDK disk that have a unique size.

For the non unique drives you will need to match the Windows disk scsitargetid with the VMDK Disk ID.

The first 2 in the example below are both 50GB Drives.

DeviceID : \\.\PHYSICALDRIVE6
$_.size/1024/1024/1024 : 49.9993586540222
scsiport : 5
scsibus : 0
scsitargetid : 1
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE5
$_.size/1024/1024/1024 : 49.9993586540222
scsiport : 5
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

The next 3 are all 20GB drives.

DeviceID : \\.\PHYSICALDRIVE2
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 2
scsibus : 0
scsitargetid : 2

DeviceID : \\.\PHYSICALDRIVE1
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 2
scsibus : 0
scsitargetid : 1
scsilogicalunit : 0

DeviceID : \\.\PHYSICALDRIVE4
$_.size/1024/1024/1024 : 19.9936151504517
scsiport : 4
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0

Hope this helps anyone else having the issue. I’ll loop around and update the PowerShell script I ended up using for this soon as well.

Thank you vRad for this great guide!

vRealize Orchestrator Workflow: Change VM Port Group for VM on Standard vSwitch

*Note: This is a repost due to moving my posts from SystemsGame.com to 2ninjas1blog.com”

I was surprised recently to find that no builtin workflow existed for changing the backing information for a VM if you aren’t using a VDS. Now, before I go any further, I’m a big fan of moving to a vSphere Distributed Switch mode, but there are certainly cases where you might encounter a standard vSwitch environment which you need to automate port group changes upon.

The Approach:

Essentially when it comes to changing NIC settings on a VM, you have to change the “Backing” information for the NIC associated with the VM. In my case this was for VMs which were just built as part of an overall automation process, and had only one NIC.

Step 1: Create Action Item.

I created an action item which has 2 inputs.

“vm” of type VC:VirtualMachine – This is basically so you can select the VM in vCO that you want to modify

“vSwitchPGName” of type String – This is so you can pass in the string value of the portgroup name for the vSwitch.

Code:

The code I then used is below. I’ve commented it but please let me know if you have any questions.

var spec = new VcVirtualMachineConfigSpec(); // Initialize a Virtual Machine Config Spec first
var myDeviceChange = new Array(); // Create an array to hold all of your changes
var devices = vm.config.hardware.device;

//Find devices that are VMXNET3 or E1000
for (var i in devices)
	{
		if 	(
				(devices[i] instanceof VcVirtualVmxnet3) ||
				(devices[i] instanceof VcVirtualE1000) 
			)
		{
			System.log("The device we are going to modify is: " + devices[i]);
			var nicChangeSpec = new VcVirtualDeviceConfigSpec(); //This is the specification for the Network adapter we are going to change
			nicChangeSpec.operation = VcVirtualDeviceConfigSpecOperation.edit; //Use edit as we are going to be modifying a NIC
			nicChangeSpec.device = new VcVirtualE1000;
			nicChangeSpec.device.key = devices[i].key; 
			System.log("NicChangeSpec key is : " + nicChangeSpec.device.key);

			nicChangeSpec.device.addressType = devices[i].addressType;
			nicChangeSpec.device.macAddress = devices[i].macAddress;

			System.log("Adding backing info" ) ;
			//Add backing information

			nicChangeSpec.device.backing = new VcVirtualEthernetCardNetworkBackingInfo();
			System.log("Backing info for nicChangeSpec is : " + nicChangeSpec.backing);
			nicChangeSpec.device.backing.deviceName = vSwitchPGName; //Change the backing to the portgroup input
			System.log("Backing info for deviceName on nicChangeSpec is : " + nicChangeSpec.device.backing.deviceName);

			//Push change spec to device change variable
			myDeviceChange.push(nicChangeSpec);

		}
	}

spec.deviceChange = myDeviceChange;
System.log("DeviceChange Spec is: " + spec.deviceChange);
return vm.reconfigVM_Task(spec);

Step 2:

I created a simple workflow which calls this action item and then has a vim3WaitTaskEnd so we can be sure the task is completed before moving on to any other workflows. This is useful if you are going to be incorporating this action into a larger process.

Update Port Group for vSwitch

Running the workflow gives you this simple presentation.

vSwitchPG 2

And that’s basically all there is to it. Select your VM, type in your PortGroup name, and voila!

For a vDS, VMware included a workflow out of the box in vCO so there is no need to create any of the above.

Enjoy!

vRealize IaaS Essentials: Building your Windows Server 2012 Template on vSphere – Part 3 (OS Tuning)

Now that we have a base OS build completed, we need to start configuring the OS to the settings we want.

Step 1: Get VMware Tools Installed

Without VMware tools on the OS, many things are sluggish and just annoying. Most importantly it fixes the annoying mouse cursor tracking issues (this is even more noticable when you’re in a VDI session into a VMware Console).

  • Login to your vSphere Web Client and Locate your VM
  • Select the VM > Actions > Guest OS > Install VMware Tools...

rwc-template-tools1

  • You will get a prompt to mount the Tools ISO. Select Mount.

rwc-template-tools2

  • Now inside the OS, Open My Computer/This Computer and Tab over to the CD ROM Drive. I found it almost impossible with the mouse using the VRM Console until Tools was installed so I had no choice but to use the keyboard to get it done. A combination of Tab and Space did the trick.

rwc-template-ostools1

  • Once you are there, run Setup and you should be presented with the VMware Tools installation screen.

rwc-template-ostools2

  • Choose Next
  • Select Typical for your installation type

rwc-template-ostools3

 

  • Once installation is complete, reboot the OS

Step 2: Fine tune your OS

First of all a big thanks to some of my twitter friends who gave some good suggestions on tweaks here. There is always going to be a debate as to what gets done in the template vs GPO/Configuration Management. I’d say the settings I set below are just the core ones necessary to facilitate deployment of an OS with ease. AD and configuration management should definitely come in after the fact and take care setting other OS settings to their necessary values.

  1. Patch the OS to the latest (It’s worth automating this in the future)
  2. Set Date/Time
  3. Set the OS Hostname to VM Template Name – this helps to know if sysprep worked etc.
  4. Disable the Windows Firewall
  5. Disable UAC
    1. http://social.technet.microsoft.com/wiki/contents/articles/13953.windows-server-2012-deactivating-uac.aspx
  6. Create a Local User account for use by vRealize (e.g. svc_vrealize). You can make sure this account gets disabled automatically as part of your builds or via Puppet, GPO to comply with security requirements. It helps however to be able to easily get into a system using vRO Guest File Operations via a local service account early on.

Also here is a useful link provided by Sean Massey who does a lot of tuning on the Desktop side: https://labs.vmware.com/flings/vmware-os-optimization-tool

Finally, remember to disconnect your CD ISO.

After turning your VM back into a template, we now have a template ready to deploy! Now we can get onto the fun stuff.

Upcoming #vBrownBag Webinar Series: AWS Certified Solutions Architect – Associate Exam

download

It’s finally time to bang out some AWS certifications!

AWS as been on my radar for a long time now, and really this is one of many certifications that are just overdue and need to get done.

Thanks to an invite from Jonathan Frappier to get me motivated and put a date on it, I will be presenting the first in the #vBrownbag series on the certification for AWS Certified Solutions Architect: Associate Exam. Signup by going to the vBrownBag site. Following Part 1, many of my other colleagues at Ahead (Tim Carr & Bryan Krausen) will also be presenting subsequent parts of Domain 1 (Designing highly available, cost-efficient, fault-tolerant, scalable systems).

In part 1, I will be covering the following objectives:

– Identify and recognize cloud architecture considerations, such as fundamental components and effective designs
— How to design cloud services
— Planning and design.

Part 1 is certainly high level and focused on an overview of fundamental components and design. Once I get through the specific requirements, I’m happy to stick around and share real world experiences as well for anyone interested from my time leading the Cloud and Automation practice at Ahead with our clients. I’m sure other Ahead people will be on there if you want to hear their real world experiences as well. Otherwise lets do some cert training!

computertraining

Look forward to seeing many of you on the vBrownbag!

Putting your Cloud on Autopilot and #CloudLife

 

The Conference

On June 23rd,  I was delighted to speak for the 3rd year at the Looking Ahead 2016 summit. I’ve talked about how much I love my job before and I can say that our summit reinforces that for me every single year. I leave feeling energized as we take risk after risk every year and try to show customers where we are heading and how we can improve their lives.

My Session: Putting Your Cloud on Autopilot

First of all, I would absolutely love feedback on the session, so please send me an e-mail or tweet me. I really appreciate it.

Approaching this years session, it was clear to me so many of the customers I deal with on a day to day basis have moved beyond what I often call the “plumbing phase” of Cloud. I decided to reinforce the message around Cloud by starting off with what it means to me and the Ahead team in general. I am fairly sure every session I do on Cloud for the rest of my life will start off with 60 seconds of what we exactly mean by it; given how misused the term is in the industry.

Deployment Models

Once we got over the basics of doing Infrastructure as a Service, it was time to move onto newer items. In the past I’ve talked a lot about Self Healing Datacenter and how to actually make that a reality, but this time I wanted to focus on the different ways Automation can help across On-Premises and the Public Cloud.

Essentially going from the IaaS Approach via Puppet…

Screen Shot 2016-07-26 at 3.18.32 PM

To a partial refactor using AWS RDS…

Screen Shot 2016-07-26 at 3.17.58 PM

To a complete PaaS deployment…

Screen Shot 2016-07-26 at 3.21.34 PM

All using the same application. I completed a demo showing this, as well as the various ways AWS failover works. The main point here is to stress the choice and flexibility you give up by embracing the various deployment models. I remember saying a few years ago “No 2 clouds are the same”, and that seems to have taken off. I think it’s still valid, at least for now.

Self Healing

AWS_Simple_Icons_Compute_AWSLambda.svg

Then it was time to get back onto the Autopilot theme again, this time using a Google Car to illustrate the mechanisms we use in the real world to create safety. Relating it back to Cloud, I explained an example of event management using AWS Lambda and ServiceNow. I took an AWS Lambda function and used it to connected to ServiceNow so as nodes spun up or spun down ServiceNow Change records would be created automatically. I’ve got a post brewing on the benefits of Orchestration and Event Driven Automation which I hope to finish up some time. I think this is a key topic, often overlooked these days and something I’ve been discussing heavily with our team at Ahead.

Finally – The Cloud Experience

Screen Shot 2016-07-26 at 3.41.29 PM

If there’s one thing I get fed up with at VMUGs and other user groups, it’s people standing up and saying you need to program and that’s the skill. While important, I feel like many just state the obvious in career development without truly explaining what it means to have a functioning Cloud and how you get to that, across On-Premises and in the Datacenter.

Nick Rodriguez and I came up with a new term which we call #CloudLife (Also a future blog post). How do you create the awesome experience that truly changes behaviours in an orgnaization? I talk also with my colleague, Dave Janusz, on this topic alone at length. How do you make someone do something in your IT environment without having to tell them? I love asking this question as it creates all sorts of interesting ideas for design best practices. I’m going to write more on this topic soon also but I hope people start to realize the most successful clouds are the ones that create a user experience that works. I read a book during my University days when I studied a module on Human Computer Interaction. I still state to this day, that the book I read combined with the module taught me some of the most important lessons in IT.

If you haven’t got it, check it out below. It’s a fun read and not entirely related to IT, but I loved it:

Remember, programming is important, but it’s not the only major skill.

With that, I’m going to end this post. I hope to finally sit down soon and write 3 posts I’ve been thinking and talking about for a while…

  • What is #CloudLife?
  • Skills of Successful Cloud Deployments
  • Visual Orchestration vs Non-Visual Orchestration

These topics deserve more debate than they get today. I feel like the DevOps initiatives when done as a Silo (yup you heard me, people do DevOps in a silo that they call DevOps), have masked some of the changes IT has to make. Also IT hasn’t always been able to articulate and truly create the services Developers always needPublic Cloud is here, but there’s more to wrap around it. Do Developers use visual studio and connect directly to Azure? Do they use Docker + IaaS for more flexibility? How do you present the right services and lego bricks of automation?

Time to dream more about….#CloudLife

937605-bigthumbnail

A ninja walks into a #TurboFest

Screen Shot 2016-07-26 at 2.49.56 PM

*Very late posting this, but better late than never!*

On Jun 15th I was fortunate enough to attend my first VMTurbo TurboFest. VMTurbo is a company I’ve personally been watching for a while, and have always been excited to see the direction they are taking, not just in the Datacenter, but Cloud operations in general.

On top of that, Amy, along with her director at UCMC Jason Cherry, were attending in order to present their results with VMTurbo as well as the new wave of Automation Amy is leading over there.

About the day

What stood out for me most, was just how informal and social the event was. I thought this was a nice touch compared to other events. It was also extremely customer focused, something I think many other events lose.

The kickoff was great as we learned from CEO Benjamin Nye the direction VMTurbo continues to focus in.

IMG_4670

VMTurbo truly GET that Cloud is real and they are working quickly to adapt to the increased momentum of Public Cloud adoption. VMTurbo treats everything as a commodity and works to create a level of abstraction and allow automated intelligence to determine workload placement.

Given how many vendors have done a poor job at trying to offer automated decisions based on Public Cloud models, I’m excited to see another company with a proven track record in this space on-premises, fully embracing this gap in the market.

The UCMC Presentation

IMG_4678

One of the main reasons I attended was to support my fellow ninja blogger as well as the UCMC team who I’ve had the pleasure of working with.

What strikes me most in all my talks with Amy and Jason is the results they’ve been able to achieve. $600,000 in cost avoidance due to properly utilizing their VMware environments. They saw instant benefits by adding VMTurbo to their infrastructure management tools and were able to get higher density on their clusters as a direct results of the VMTurbo software.

Amy went on to talk about the work around the UCMC Cloud they have been building, primarily on-premises now, with future expansion to Public.

IMG_4680

UCMC will be using a mixture of ServiceNow, vRealize Orchestrator and Puppet to easily automate their deployments and take UCMC IT into the 21st century as they put it. This is similar to the solution we both worked on during our time at a previous employer, and the methodology is clean and simple to use.

IMG_4681

In addition, Amy has been developing a number of vRO Workflows around the VMTurbo plugin specifically for workload placement and chargeback. This placement workflow is called before the VM clone workflow is initiated in order to determine the optimal host location of it. Handy way to integrate the placement decision directly into the workflow instead of having to go to VMTurbo first, get the answer, and then manually key it in as an input. Awesome stuff.

Stay tuned as Amy plans to release all the workflows on our blog when finished.

After the community sessions, the panel sat back down and had a very lively Q&A session with lots of users in the community asking great questions.

IMG_4683

Before I left, the VMTurbo marketing team played one of the most impressive videos I’ve honestly ever seen. I’m trying to get a youtube link of it to post here as it is pure awesome. Think VMs meet insane action movie with awesome effects.

ClBH0_9WAAE9lOf

With that said, I can’t wait to do more with VMTurbo again myself, and look forward to catching up with the team again at VMworld.

 

Today I woke up to a Brexit…

united kingdom exit from europe relative image

I woke up this morning, off an insane high of yesterday’s Ahead Tech Summit. I got to present to hundreds of people and more importantly alongside fantastic colleagues who I love working with every day. While the conference was going on, I also knew the vote was going on, and asked people not to tell me.

When I finally checked the news at around 5pm Chicago time, (11pm UK time), it said we were going to remain. Even though I felt in the days leading up to the referendum we should leave, I felt a sense of relief, and togetherness at the stay vote. It said something like 57% remain, 43% leave at the time.

I went out to party and felt like life would just go on as normal. Then waking up in the morning, I received some texts “wow, just wow”, only to find the result had changed and in fact it is a 52% leave, 48% remain. Suddenly shocked, I started to collect my thoughts and think about the vote again. We had actually decided as a country to leave. With that, we are entering new territory…changing directions after years of integrating more and more with the EU.

The Internet

Sadly, I looked at Twitter. I found people being hateful, Trump somehow thinking this compared to his campaign, and pure idiocracy. I won’t paste those tweets here because I think everyone is entitled to feel their own emotions and hopefully some of these viewpoints cool down soon.

I read my cousin’s post on Facebook which I did enjoy and I hope we see more of:

“51.9% of the (voting) population wanted to leave the EU. 48.1% of the (voting) population wanted to stay. Regardless of your political beliefs, ladies and gentlemen, it’s called democracy. Millions of people died so we can enjoy such freedom. This isn’t football, rugby, darts or stamp collecting. This is your country, don’t turn your back on it because the result didn’t go your way. Take a knee, drink water.”

The argument

What I see as I browse twitter is single viewpoints from people. “The UK is anti immigration”, and somehow that’s what people thought the whole thing was about? The UK is the biggest melting pot in the world. I think if you go to London and spend a day walking around, you will see how welcoming we have been to other countries. I don’t expect the British attitude of caring for others to change. Their may be a nationalist undertone as in many countries today but that does not mean that’s the viewpoint of many of the people who voted leave.

For me there are fundamental problems with the EU. I would rather have stayed and worked them out, but it’s clear that path is unlikely.

The only reason I would vote leave is for one major point:

To restore powers back to the UK parliament

EU law has supremacy over UK law. We as a people did not elect the European Commision or the EU president for that matter. Yes we have MEPs but this does not go far enough. UK VETOs to laws get overruled by EU laws. We cannot govern ourselves as a people and when you lose the ability to remove people from government as a people you have a problem. If we want closer Europe, then let’s have an EU that supports that. Maybe every EU Citizen has a vote for the EU president and people in the European commission? I feel as if the EU is built on protectionism and by nature has become undemocratic.

But why would I want to stay?

I wish we could find a different solution. There is something to be said for EU integration. I’ve always loved the idea of the EU from when I was in high school. Single trade, freedom of movement. It all sounds great. I can handle the extra money we give the EU given the UK GDP and unemployment rates being lower than most of Europe, we should help our EU neighbors.

Quite frankly though, I have loved going to Europe many times. I’ve enjoyed the Euro. I’ve enjoyed the idea of being able to one day work there if I wanted to with absolutely no issue. I can see the benefits.

Taking an even further step back. I miss Europe, and not just the UK. I’ve lived in America for some time now, I love it here as well, I love my friends here, and today I feel very far away from what is going on overseas. I have many European friends, saddened by the events of today, because it feels like a breakup. Except the kind where we are still living together and half of you doesn’t want to break up at all. You’ve spent years together working to be closer.

The other reasons for leaving..

1.Immigration

There are many other arguments being put forward and I’ll give my viewpoint on immigration.

I am all for immigration, but I do believe there is a sustainable amount

Immigration is beneficial. I believe in helping out others, but I also believe like a company, if you bring in too many people at once, you lose the very reason they are coming there in the first place. We are a successful country, and people want to come to the UK. In the age we are in today the UK has low unemployment compared to other countries and if we can offer people work we should.

If you take the size down for a moment and just look at a company. I can even use my company as an example. We have a culture, one we all love. We look out for each other and work well together. If too many people suddenly joined, our culture could change. We have to hire fast today, but we do a good job of integrating people. However there is a limit to that. I’d say we’ve even flirted with that limit before.

Now a country is far more complicated, especially one like the UK where we have what I still view as a fantastic health service. This in itself is an appeal for many who can’t get healthcare easily. If too many people immigrate into the UK we may not be able to sustain those services, amongst many other.

2. National Security

This one is questionable. I still believe working with our European partners we are stronger. Isolating ourselves to an island is a problem. Terrorism is a global problem and I don’t believe Brexit truly in the long term makes us safer here. Others may disagree.

3. Economy

Whether we are better off or not from an economic standpoint is hard to say. Yes we give £19 billion a year to the EU. We get a rebate of £5 billion and receive EU payments back for around $4 billion. so in effect we give £10 billion to the EU. As a % of our GDP I don’t think it’s that unreasonable given the European goals and I could probably live with this, if it meant a better Europe. If we just look at the EU economy as a whole, it’s really not been doing as well as other countries so the argument for tying ourselves to it is sometimes hard to argue for.

Either way, if we’re in it as a team, I don’t see this as the major reason for leaving.

In closing…

First of all, I certainly believe the UK isn’t moving into a nationalist type country. I’m not a fan of Nigel Farage and UKIP. He had some good arguments in the debate but the way he goes about politics is a problem in my opinion. Personal attacks are “Trump like” and I can’t vote for people that quite simply show no respect for others even if they disagree with them. Example: https://www.youtube.com/watch?v=ViPm0GUxw-M

There are other reasons in the leave camp as well. I wish we could have found a new solution rather than leave it. Isolationism is scary at best and I hope as the dust settles the UK can become an enthusiastic nation that competes on the international stage while continuing to embrace our neighbours. I believe we have a great culture. I love going to the Lake District, Scotland, London, and most of all I miss Cambridge. I miss the many British people I’ve met during my life there and know that we are a good, caring nation. I hope out of this a new emergence of ideas begin to form on ways to make the country great. That may be false thinking, but in the end I am glad that we will start to be able to govern ourselves more directly, rather than a central body in Brussels.

Saying that, I can’t help but feel extremely sad, that we lost something. I just hope we can overcome it and move forward, not backward. Let’s continue to holiday in Spain, take the Eurostar to Paris and overcome and strange feelings we might have as we begin to part ways.

I will miss the EU stars on the UK car license plates. We may not be in the EU, but I hope we can be a united Europe.

What I wish for…a reform of the EU and a way to come back together before it’s too late. On the plus side, as my cousin said. I’m thankful we live in a democracy where we can even have a referendum.

References:

I wanted to leave some items here. I spent days reading and watching youtube videos but I highly recommend people start reading and watching the debates before making judgements online.

Remain vs Leave Debate: https://www.youtube.com/watch?v=uYTJGBBjkGo – I honestly did not think the remain campaign did a good job here. Maybe if they had better people here this could have gone different.

Research from my Uncle on why he’s voting Brexit: Why vote Brexit – I suggest reading this. He’s done a ton of work and research in this area.

PM David Cameron interviewed on Remain: https://www.youtube.com/watch?v=HO6MZcOQH0g

Google around, read the EU web site. Learn how the EU works. I read and watched so many other pieces on this.

 

PowerCLI: Checking for and removing Virtual Machine Memory Limits

Here is a quick one liner I found to check for any VMs which had memory limits set on them:

Get-VM | Get-VMResourceConfiguration | where {$_.MemlimitMB -ne -1}

If you want to target a specific cluster, just add Get-Cluster “clustername” to the beginning:

Get-Cluster “Clustername” | Get-VM | Get-VMResourceConfiguration | where {$_.MemlimitMB -ne -1}

Now if you want to get rid of the memory limits, add the following:

Set-VMResourceConfiguration -MemlimitMB $null

Final script for all VMs to find and remove limits:

Get-VM | Get-VMResourceConfiguration | where {$_.MemlimitMB -ne -1} | Set-VMResourceConfiguration -MemlimitMB $null

Next step…setting this as a scheduled workflow in Orchestrator to run every night/week and send a report out of any limits discovered.

*Note: This is a repost due to move from Systemsgame.com to 2ninjas1blog.com*

PowerCLI: List of VMWare Hosts, Clusters, Datacenters


Fatal error: Uncaught Error: Call to undefined function create_function() in /home2/ninjasbl/public_html/wp-content/plugins/wp-spamshield/wp-spamshield.php:2033 Stack trace: #0 /home2/ninjasbl/public_html/wp-includes/class-wp-hook.php(303): rs_wpss_encode_emails('<p>Just a quick...') #1 /home2/ninjasbl/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('<p>Just a quick...', Array) #2 /home2/ninjasbl/public_html/wp-includes/post-template.php(253): apply_filters('the_content', 'Just a quick on...') #3 /home2/ninjasbl/public_html/wp-content/themes/suits/content.php(33): the_content('Continue readin...') #4 /home2/ninjasbl/public_html/wp-includes/template.php(772): require('/home2/ninjasbl...') #5 /home2/ninjasbl/public_html/wp-includes/template.php(716): load_template('/home2/ninjasbl...', false, Array) #6 /home2/ninjasbl/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #7 /home2/ninjasbl/public_html/wp-content/themes/suits/index.php(24): get_template_part('content', '') #8 /home2/ninjasbl/public_html/wp-includes/template-loader.php(106): include('/home2/ninjasbl...') #9 /home2/ninjasbl/public_html/wp-blog-header.php(19): require_once('/home2/ninjasbl...') #10 /home2/ninjasbl/public_html/index.php(17): require('/home2/ninjasbl...') #11 {main} thrown in /home2/ninjasbl/public_html/wp-content/plugins/wp-spamshield/wp-spamshield.php on line 2033