This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!

Henry John David

Greenhorn
+ Follow
since Dec 30, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Henry John David

I am new to Pivotal Cloud Foundry and I need to play with PCF. I understand Pivotal Web Service (PWS) reached EOL and no more new registration accepted for it. I came to know we can install PCF DEV in our local machine to play with PCF. PCF DEV requires Hyper-V - Virtualization enabled in the BIOS. I am currently using Windows 10 Home Edition which is not supporting virtualization to enable Hyper-V.

Hence, I have installed Oracle VM VirtualBox 6.1 and downloaded Windows 10 Enterprise Virtual box image and brought up Windows 10 Enterprise as GUEST OS. I am able to enable the Hyper-V in the Windows 10 Enterprise edition. Then, I have started to install the pre-requisite for PCF DEV installation from below URL. https://tanzu.vmware.com/tutorials/getting-started/local/install-pivotal-dev

1. CF CLI installation
2. CF DEV package for windows downloaded When I am tryin to start the PCF DEV "cf dev start -f pcfdev-v1.3.1-windows.tgz", after 10-15 minutes I am getting the error as Hyper-V has not started.
I have tried with all the below option to make sure Hyper V is started. Even in the Windows settings, turn on additional feature in the GUEST OS< I have enabled the Hyper V. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -Verbose bcdedit /set hypervisorlaunchtype Auto net stop vmms net start vmms

Need your expert advice, whether it is possible to bring up PCF DEV in the Virtual Box - Guest OS - Windows 10 enterprise? or anything I am doing wrongly here? Please advice.

PS C:\users\user\PCF> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose VERBOSE: Target Image Version 10.0.19042.685

Path : Online : True RestartNeeded : False



PS C:\users\user\PCF> Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -Verbose VERBOSE: Target Image Version 10.0.19042.685

Path : Online : True RestartNeeded : False



PS C:\users\user\PCF> net stop vmms The Hyper-V Virtual Machine Management service is stopping. The Hyper-V Virtual Machine Management service was stopped successfully.



PS C:\users\user\PCF> net start vmms The Hyper-V Virtual Machine Management service is starting. The Hyper-V Virtual Machine Management service was started successfully.



PS C:\users\user\PCF> cf version cf.exe version 6.53.0+8e2b70a4a.2020-10-01




PS C:\users\user\PCF> cf dev start -f pcfdev-v1.3.1-windows.tgz Downloading Resources... Progress: |====================>| 100.0% Setting State... WARNING: PCF Dev requires 8192 MB of RAM to run. This machine may not have enough free RAM. Creating the VM... Starting VPNKit... Starting the VM... FAILED cf dev start: starting the vm: start-vm: failed to execute: powershell.exe -> Command "Hyper-V\Start-VM -Name cfdev": exit status 1: Hyper-V\Start-VM : 'cfdev' failed to start. Failed to start the virtual machine 'cfdev' because one of the Hyper-V components is not running. 'cfdev' failed to start. (Virtual machine ID FB8B9DC4-16C6-4416-96BB-0C605EB1A168) The Virtual Machine Management Service failed to start the virtual machine 'cfdev' because one of the Hyper-V components is not running (Virtual machine ID FB8B9DC4-16C6-4416-96BB-0C605EB1A168). At line:1 char:1

Hyper-V\Start-VM -Name cfdev
+ CategoryInfo          : NotSpecified: ( [Start-VM], > VirtualizationException
+ FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.StartVM



2 weeks ago