hyper-v

windows2008 R2 虚拟机 hyper-v

橙三吉。 提交于 2019-12-04 08:57:38
windows2008 R2 虚拟机 hyper-v 这里只讲一下hyper-v里一个特殊的部分: -----虚拟机的子母盘 虚拟机提供的宿主机服务器CPU能力=((CPU数量∗每 CPU内核数)-1)∗ 85% 虚拟机提供的宿主机服务器内存=宿主机服务器总内存(GB)-2 GB 虚拟机提供的宿主机服务器磁盘I/O能力=宿主机I/O每秒基准∗ .85 虚拟机提供的宿主机网络I/O能力=宿主机I/O每秒基准平均字节∗ .85 宿主机可支撑的虚拟机数量=宿主机服务器可提供资源/虚拟机分配资源 创建差异磁盘的虚拟机 先创建一个虚拟机“上海”,用sysprep去除该虚拟机的SID 创建一个差异磁盘“徐汇.vhd”,父硬盘加载“上海”虚拟机的磁盘 新建一个虚拟机“徐汇”,磁盘用“徐汇.vhd”。 启动,他会有安装界面 创建母盘 去除系统个性化配置,去除SID,去除SID的计算机可以做其他虚拟机的母盘 答案:能 hyper-v导出导入 文献: http://wangchunhai.blog.51cto.com/225186/563070 (数据恢复) 如果在同一个hyper里面再进行导入,那么需把这个导出的文件夹重命名。 这两个都要开启,才能打开 虚拟机 hyper-v (hp --g5), 如果还不行,可以试试补丁: http://support.microsoft.com/kb

windows使用docker运行mysql等工具(一)windows安装docker

↘锁芯ラ 提交于 2019-12-04 07:55:32
摘自: https://www.cnblogs.com/zhixie/p/11845748.html 由于我本地的mysql版本比较低,最近想着要升级一下mysql版本,鉴于docker容器的火热,就想着在本地装个docker环境,然后下载最新版的mysql镜像,完成mysql8.0的安装。电脑是windows 10版本。 一 启用Hyper-V 打开控制面板-->程序-->启用或关闭windows功能,勾选Hyper-V,然后点击确定即可。 点击确定后,提示重启系统。 二 安装Docker 下载地址: https://hub.docker.com/editions/community/docker-ce-desktop-windows ,先要注册账号才能下载,这样直接下载非常 慢 。 另一种获取方式是关注公众号 情系IT 回台回复 docker 获取安装exe文件。 三 启动docker 获取到exe文件后,直接点击下一步即可完成安装,安装后会提示重启电脑。桌面上会出现docker图标,点击启动。打开windows命令行模式,输入docker version或docker -v查看,若出现如下信息则安装成功。 四 国内镜像加速 阿里云镜像加速地址: https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

windows使用docker运行mysql等工具(一)windows安装docker

不打扰是莪最后的温柔 提交于 2019-12-04 07:07:39
由于我本地的mysql版本比较低,最近想着要升级一下mysql版本,鉴于docker容器的火热,就想着在本地装个docker环境,然后下载最新版的mysql镜像,完成mysql8.0的安装。电脑是windows 10版本。 一 启用Hyper-V 打开控制面板-->程序-->启用或关闭windows功能,勾选Hyper-V,然后点击确定即可。 点击确定后,提示重启系统。 二 安装Docker 下载地址: https://hub.docker.com/editions/community/docker-ce-desktop-windows ,先要注册账号才能下载,这样直接下载非常 慢 。 另一种获取方式是关注公众号 情系IT 回台回复 docker 获取安装exe文件。 三 启动docker 获取到exe文件后,直接点击下一步即可完成安装,安装后会提示重启电脑。桌面上会出现docker图标,点击启动。打开windows命令行模式,输入docker version或docker -v查看,若出现如下信息则安装成功。 四 国内镜像加速 阿里云镜像加速地址: https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors 获取专属加速器地址,如下图: 打开docker,右键Settings-->Daemon-->Registry

Windows Phone Emulator error, Hyper-V components not running, Windows 8.1 hosted in Windows Azure

*爱你&永不变心* 提交于 2019-12-04 06:20:30
Environment: Windows 8.1 Enterprise 64-bit hosted in Windows Azure Visual Studio Ultimate 2013 (Update 2) I get the following error when trying to run a very simple phone app. I know MS says a VM-within-a-VM environment isn't supported, but I know it can work. Has anyone had success with this? Any help is greatly appreciated. Windows Phone Emulator The Windows Phone Emulator wasn't able to ensure the virtual machine was running: Something happened while starting a virtual machine: 'Emulator WVGA 512 MB.' failed to start. (Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888) The Virtual

Windows Phone 8 Emulator is not running. It was running before uninstall the Oracle Virtual Machine

梦想的初衷 提交于 2019-12-04 06:16:07
问题 I am working in windows phone 8 app. My windows phone 8 emulator was working properly but it stopped working when i installed the Oracle Virtual Machine for learn something by it but when i tested my windows phone app than app was successfully build but Windows phone 8 emulator was not loading. Than what i did, i opened Hyper-V Manager and started emulator and kept the checkpoints during running emulator. My checkpoint Steps i am writing . 1) Windows icon visible and took 2 minutes to

How to verify that Android SDK emulator is running in Hyper-V

我怕爱的太早我们不能终老 提交于 2019-12-04 04:24:35
问题 I am developing an app for android using Xamarin. I am using Visual Studio 2017 and the Android SDK emulator that came with the Xamarin package from the visual studio installer. The emulator is very slow. I followed the instructions in this article to enable acceleration with Hyper-V: https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration The article does not say anything about having to set up a VM or configure the emulator itself to

Installing docker on azure virtual machine windows 10

本小妞迷上赌 提交于 2019-12-04 02:02:15
I am getting an error upon installing docker on azure virtual machine. m/c configuration: azure vm, windows 10 enterprise, Intel 2.4 GHz, 7 GB RAM, 64-bit operating system, x64-based processor. I went through a few blogs and they asked me to enable nested virtualization on azure vm as follows. Set-VMProcessor -VMName MobyLinuxVM -ExposeVirtualizationExtensions $true But this also didn't help and the virtual m/c MobyLinuxVM failed to start. I have installed Hyper-V and Container components from windows features. But the error shows "because one of the Hyper-V components is not running" whereas

Control Hyper-V VMs with Python

感情迁移 提交于 2019-12-03 20:31:26
问题 im trying to write a control VMs on a HyperV Server using Python. I start with connecting to the server the HyperV server runs on: connection = wmi.connect_server(server="servername", namespace=r"root\virtualization", user=r"username", password=r"password") wmiServerConnection = wmi.WMI(wmi=connection) This gives me a wmi object for this connection. For stopping and starting a VM I can simply use: #get the wmi object representing the VM vmSystem = wmiServerConnection.Msvm_ComputerSystem

vmware 兼容问题

偶尔善良 提交于 2019-12-03 14:42:44
1、出现此问题的原因是Device Guard或Credential Guard与Workstation不兼容。 2、Windows系统的Hyper-V不兼容导致。 解决方法: 步骤一:禁用Device Guard或Credential Guard: 禁用用于启用Credential Guard的组策略设置。 在主机操作系统上,右键单击“开始” > “运行”,键入gpedit.msc,然后单击“ 确定”。本地组策略编辑器打开。 转至本地计算机策略 > 计算机配置 > 管理模板>系统 >Device Guard(或者是: 设备防护) > 启用基于虚拟化的安全性。 选择已禁用。 转到“ 控制面板” >“ 卸载程序” >“ 打开或关闭Windows功能”以关闭Hyper-V。 选择不重启。 步骤二:通过命令关闭Hyper-V(控制面板关闭Hyper-V起不到决定性作用,要彻底关闭Hyper-V) 以管理员身份运行Windows Powershell (管理员)(Windows键+X) 运行下面命令并重启电脑: bcdedit / set hypervisorlaunchtype off 来源: https://www.cnblogs.com/yunweiweb/p/11800571.html