VMware Archives ~ fitzmoskal https://fitzmoskal.me/category/technologies/working-knowledge/vmware/ You are _here_ Thu, 29 Feb 2024 16:58:46 +0000 en-GB hourly 1 https://wordpress.org/?v=6.9.4 https://fitzmoskal.me/wp-content/uploads/2024/02/cropped-result_880649-32x32.jpeg VMware Archives ~ fitzmoskal https://fitzmoskal.me/category/technologies/working-knowledge/vmware/ 32 32 11678478 German Car Systems Maker – Storage Integration https://fitzmoskal.me/german-car-systems-maker-storage-integration/ Mon, 26 Feb 2024 16:31:21 +0000 https://fitzmoskal.me/?p=1468 I worked with this German company to enhance their Discovery and CMDB with various storage metadata and data from unsupported

The post German Car Systems Maker – Storage Integration appeared first on fitzmoskal.

]]>

I worked with this German company to enhance their Discovery and CMDB with various storage metadata and data from unsupported storage systems. I wrote extensive TPL code which integrated with APIs for NetApp, Dell Isilon, IBM Spetrum, and Nasuni.

For Nasuni I had to develop the whole model using data extracted from the APIs to model the Management Console, Volumes and Shares.

The outcome of this project was to allow the client to accurately track storage usage and billing.

During this time I also assisted the client in troubleshooting Azure discovery and retrieving additional matadata from VMware.

The post German Car Systems Maker – Storage Integration appeared first on fitzmoskal.

]]>
1468
Management Consulting – Global Programme Software Rollout https://fitzmoskal.me/management-consulting-global-programme-software-rollout/ Thu, 22 Feb 2024 13:42:28 +0000 https://fitzmoskal.me/?p=1420 I was hired as a Delivery Manager and Enterprise Architect for the global rollout of Discovery and CMDB for an

The post Management Consulting – Global Programme Software Rollout appeared first on fitzmoskal.

]]>

I was hired as a Delivery Manager and Enterprise Architect for the global rollout of Discovery and CMDB for an international Managment Consulting company. This was a 2 year programme directed at North America and European regions worth €2m.

In the first year I identified and implemented €90k worth of cost savings to the programme by automating level 1 support so that the resources were no longer required. I led a team of 8 offshore engineers in India and Poland and was responsible for their training and managing their progress on the the deployment to individual accounts.

I reported to the Programme Manager and was responsible for not only the software architecture but the security design needed to obtain global CISO sign off and allow the programme to proceed when it hit a major hurdle and was blocked by security compliance. One of the many hurdles was implementing RBAC into the solution which had not been designed for full RBAC control.

I worked with one of my lead engineers to find and document all the group permissions available in the tool, then employed a hack to prevent certain pages from loading without the right permissions. This satisfied the requirements of Global CISO. During the process we even discovered a vulnerability that allowed access without permissions, which was reported back to the vendor. The vendor was so impressed that they asked if they could see our documentation.

The post Management Consulting – Global Programme Software Rollout appeared first on fitzmoskal.

]]>
1420
Major Retailer – Datacenter Cloud Migration https://fitzmoskal.me/major-retailer-datacenter-cloud-migration/ Wed, 21 Feb 2024 15:05:48 +0000 https://fitzmoskal.me/?p=1391 A major UK retailer was looking to perform a datacenter assessment to understand the infrastructure currently deployed within the DC

The post Major Retailer – Datacenter Cloud Migration appeared first on fitzmoskal.

]]>

A major UK retailer was looking to perform a datacenter assessment to understand the infrastructure currently deployed within the DC and the relationships between the infrastructure. This was in preparation for a cloud migration.

The chose ITAM solution for discovering their infrastructure was BMC Discovery. The requirements included deployment, data gathering, knowledge transfer, and application architecture modelling. This was delivered over a 6-week period.

The end result was that the retailer were able to identify their application dependencies in order to plan the move and identify assets such as servers which were in decommissioned status but still live. As a value add I also provided them detailed reporting into single-point-of-failure devices (servers configured with only one switch) and valuable software lifecycle data.

The post Major Retailer – Datacenter Cloud Migration appeared first on fitzmoskal.

]]>
1391
British Transport Company – Business Application Modelling & SSL Certificate Discovery https://fitzmoskal.me/british-transport-company-business-application-modelling-ssl-certificate-discovery/ Tue, 20 Feb 2024 19:53:34 +0000 https://fitzmoskal.me/?p=1380 I was contracted to a this British Transport Company to provide consultancy services in the area of modelling approximately 60

The post British Transport Company – Business Application Modelling & SSL Certificate Discovery appeared first on fitzmoskal.

]]>

I was contracted to a this British Transport Company to provide consultancy services in the area of modelling approximately 60 business applications. Some of them had been modelled before but had fallen behind on maintenance and the model had drifted. Others needed to be modelled from scratch.

The method chosen by the client was to do the modelling through questionnaires to SMEs who would provide the initial seed data. This then allowed me to model the architecture for each application.

Whilst working onsite, I was asked if it was possible scan and report details of SSL certificates, as the company was having issues with certificates expiring. I quoted them work on developing a solution from scratch that would work with BMC Discovery. This was designed and implemented within 3 days, which allowed the client to save £20,000 on an anual subscription to a 3rd part piece of software.

The post British Transport Company – Business Application Modelling & SSL Certificate Discovery appeared first on fitzmoskal.

]]>
1380
Converting Duel Boot Windows 7 Partition to a VM https://fitzmoskal.me/converting-duel-boot-windows-7-partition-to-a-vm/ Sat, 12 Mar 2011 14:34:39 +0000 http://wafitz.net/?p=645 I recently got a new replacement work laptop with Windows 7 installed. Despite the great desire to shrink it and

The post Converting Duel Boot Windows 7 Partition to a VM appeared first on fitzmoskal.

]]>
I recently got a new replacement work laptop with Windows 7 installed. Despite the great desire to shrink it and put a more mature and stable OS on to use, I decided to give Win 7 a shot – that and I needed to use the laptop right away so I didn’t have an immediate choice.

Well after a month of use, Windows 7 was already showing the signs that it was going the way of its predecessors in growing exponentially, slow boots and sloooow shutdowns… I heard Ubuntu calling.

You see, Linux takes a while to get used to when you come from a Windows background, things aren’t done the same way, but after time you realise this new way of doing things makes much more sense and takes much less time. So when you go back to Windows after a few years in Linux, you feel like you’re taking a step back in time – to slower, less advanced OS, where a problem can’t be fixed unless you are prepared to fork out a lot of money for a proprietary app that you’re only ever going to need to use to solve that one problem.

It was time to stop the rot and cage Windows 7, I still needed it for Outlook and Exchange (well until Crossover can support 2010) but I don’t need 90% of that operating system. I had done plenty of duel boots before but I wanted to try my hand at turning my Win 7 partition into a VM, and despite the ubiquity of home-brew tutorials out there on the web, I had to turn to several for different problems I experienced along the way. I’m documenting the steps here completely, and will provide attribute the relevant tutorials that helped.

Step 0: Backup

It needs to be said, it needs to be done. I always hate using Windows Backup and sometimes opt to use a Linux live CD to do the backup instead, guaranteeing I can view the process. I usually just make sure that documents are saved, I’m not worried about settings as these can be reset. This time I used Windows backup to an external HDD which seemed to work adequately enough.

Step 1: Shrink Windows 7 Partition

Although it’s not recommended, I always found GParted to be a trouble-free tool and never had a problem with it, so I booted into an Ubuntu Live CD and fired it up. I was then presented with a disk that had no less than 4 partitions. One was a boot partition, one was recovery, the other I couldn’t tell, and the final one was Windows 7. Here is where I made my first mistake, I got cocky and deleted the Windows boot partition thinking I could restore the boot record later with a recovery disk – it seems Microsoft have made that process much less efficient along with making partitions a lot more complicated than necessary.

Anyway, don’t delete the boot partition, but if you do, then here’s what to do:

The first problem I had was that Windows 7 wouldn’t boot I had the following error:

“autochk program not found, skipping autocheck”

Some Googling brought me to a Microsoft Answers post.

  • Use your recovery CD or download one if you got a crappy OEM pre-installed system – Neosmart have some links and instructions for torrent files.
  • Boot into recovery and then when you get to the System Recovery Options screen, you can choose the automatic System Repair option but I’ve never found it any use so go straight to Command Prompt.
  • Run the following command to check your disk for errors and fix them (where x: is the drive containing your Win 7 install):

CHKDSK x: /F /R

  • Once that runs restart the computer.

In my case chkdsk didn’t work and I still got the error, so the next thing I attempted was to attempt to use bootrec to fix the mbr.

  • Boot back into System Restore, go to the command prompt and run:

bootrec /fixmbr

then
bootrec /fixboot

then
bootrec /rebuildbcd

In my case after the last command I got the following error:

“total identified windows installations 0”

Exporting the bcd didn’t work either:

bcdedit /export C:\BCD_Backup
c:
cd boot
attrib bcd -s -h -r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd

So I attempted the following fix to this following the instructions from Neosmart again, Recovering the Bootloader:

x:\boot\bootsect.exe /nt60 all /force
del C:\boot\bcd
bcdedit /createstore c:\boot\bcd.temp
bcdedit.exe /store c:\boot\bcd.temp /create {bootmgr} /d "Windows Boot Manager"
bcdedit.exe /import c:\boot\bcd.temp
bcdedit.exe /set {bootmgr} device partition=C:
bcdedit.exe /timeout 10
del c:\boot\bcd.temp

But I didn’t get that far because I didn’t have a bootsect file, so I had to do a bit more digging and found a better solution halfway down this thread. These are just the steps, but more detail about why we do this is in the original post.

First of all I seemed to have some kind of corruption in my filesystem telling me that the c:\boot\bcd file didn’t exist, except it was there, when I attempted to copy memtest.ext to BCD it said that a file already existed. This is where the Live CD came to the rescue:

  • Boot into Linux live cd.
  • Mount your Windows 7 partition.
  • Navigate to /Boot
  • Delete the ‘BCD’ file.
  • After a startup repair your original BCD file is renamed to BCD.Backup.0001.
  • Copy memtest.exe memtest.exe.org.
  • Copy BCD.Backup.0001 memtest.exe.
  • Rename memtest.exe to BCD.
  • Rename memtest.exe.org memtest.exe.
  • Now reboot Windows.

In my case, this solution finally worked and I got Windows working again. Now for virtualisation…

Step 2: Virtualising Windows 7 Partition as a VM

I followed instructions given by Rajat Arya on his blog, apart from the 5th step which didn’t work without some slight modification as I had installed VirtualBox v4.0.4 from http://www.virtualbox.org/, not the Open Source Edition.

These are just the steps, Rajat goes into more detail in the post which is worth reading:

You need to take ownership of the disk first under your username. The original way stated is to chmod the /dev/sda file but this is less secure.
sudo usermod -a -G disk wafitz
Then log out and back in to make the changes take effect. Next install the mbr package:
sudo apt-get install mbr
The -e flag below is to set the partitions you wish to make available to Windows boot, so in this case I set 1 (Windows partition) and 2 (recovery).
install-mbr -e12 --force ~/vm.mbr
Then create the vmdk file. I found that the -relative flag didn’t work, neither did the -mbr flag, but it was fine with these left out:
VBoxManage internalcommands createrawvmdk -filename /home/wafitz/wind7part.vmdk -rawdisk /dev/sda -partitions 1,2 -relative
Now create your VM in VirtualBox and boot into Windows 7. If you get a boot error, you’ll need to do Windows recovery again. Set the VM to mount your CD drive then press F12 at startup and boot into recovery… and follow through on Step 1 of this post again.

Now I installed VirtualBox tools and with Seamless mode, I’m able to Outlook as a full-on desktop app within Ubuntu.

The post Converting Duel Boot Windows 7 Partition to a VM appeared first on fitzmoskal.

]]>
645
VMware Image Quick Fix https://fitzmoskal.me/vmware-image-quick-fix/ Mon, 06 Sep 2010 06:30:04 +0000 http://wafitz.net/?p=557 Recently I had a virtual machine set to use 2gb ram which I was trying to run in VMware Player

The post VMware Image Quick Fix appeared first on fitzmoskal.

]]>
Recently I had a virtual machine set to use 2gb ram which I was trying to run in VMware Player on my work laptop which also has 2gb phyiscal memory.

I don’t have the full workstation license for my laptop so I couldn’t edit the image and modify the ram but I did find a quick and dirty hack by going into the vmx file, which is a simple text file, and altering the settings there.

All I needed to do was power down my virtual maching and then open up the .vmx in gedit or similar text editor and then locate the following line:

memsize = "2064"

I changed the value to “512”, problem solved.

You can do this for a number of different settings which I haven’t tested, but be careful. Make a backup copy of your virtual machine, it is possible to screw something up this way.

The post VMware Image Quick Fix appeared first on fitzmoskal.

]]>
557