Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Hyper-V servers can't ping VMs and vice versa

0
0

Hi,



I have 2 physical Hyper-V servers. On them are several VMs each. Both servers have 2 physical NICs (one for external internet; one for internal private access) with static IP addresses.



The two physical servers can ping each other over their internal IPs, but I cannot ping from physical server > VM or VM > VM (whether the VMs are on the same host or different hosts).


Each physical server will host a DC (2 domain controllers > 1 domain), so obviously these have to be reachable from all locations.



Host #1 has an external NIC shared with the management OS and an internal NIC on the private NIC.

Firewalls etc all disabled. Pings that fail result in destination host unreachable or timeouts.

IPCONFIG of the host #1:



Windows IP Configuration

   Host Name . . . . . . . . . . . . : HV3-DEV
   Primary Dns Suffix  . . . . . . . : INFRASTRUCTURE.SHAREPOINT.LOCAL
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : INFRASTRUCTURE.SHAREPOINT.LOCAL

Ethernet adapter vEthernet (Private Virtual Switch):

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #3
   Physical Address. . . . . . . . . : 00-15-5D-71-54-0B
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::30af:5a2d:85ac:b85b%45(Preferred) 
   Autoconfiguration IPv4 Address. . : 169.254.184.91(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 
   DHCPv6 IAID . . . . . . . . . . . : 754980189
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-8E-C8-52-00-25-90-59-70-19
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter vEthernet (Intel(R) 82576 Gigabit Dual Port Network Connection #2 - Virtual Switch):

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
   Physical Address. . . . . . . . . : 00-25-90-59-70-18
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 23.29.113.84(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.248
   Default Gateway . . . . . . . . . : 23.29.113.81
   DNS Servers . . . . . . . . . . . : 23.29.113.88
                                       192.211.59.59
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Intel(R) 82576 Gigabit Dual Port Network Connection
   Physical Address. . . . . . . . . : 00-25-90-59-70-19
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::756b:b502:53cb:40fc%12(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.168.0.6(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 
   DHCPv6 IAID . . . . . . . . . . . : 251667856
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-8E-C8-52-00-25-90-59-70-19
   DNS Servers . . . . . . . . . . . : 192.168.0.7
                                       192.168.0.13
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{1E37D92C-83E9-44C7-8DAF-9BA6B177045F}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{6242D0F8-8F49-463A-9DCA-D87FF8AC9FD1}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{CE077CBD-CB1F-45BB-9C0F-F2E15F24B804}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:171d:7154::171d:7154(Preferred) 
   Default Gateway . . . . . . . . . : 
   DNS Servers . . . . . . . . . . . : 23.29.113.88
                                       192.211.59.59
   NetBIOS over Tcpip. . . . . . . . : Disabled



Host #2



Windows IP Configuration

   Host Name . . . . . . . . . . . . : HV3-DEV-16
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter vEthernet (External Virtual Switch):

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
   Physical Address. . . . . . . . . : 00-25-90-25-D5-38
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::b404:cc71:5db:d550%19(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.211.59.58(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.248
   Default Gateway . . . . . . . . . : 192.211.59.57
   DHCPv6 IAID . . . . . . . . . . . : 318776720
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-96-6F-C9-00-25-90-25-D5-39
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
   Physical Address. . . . . . . . . : 00-25-90-25-D5-39
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::99aa:3aad:a090:80%13(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.168.0.13(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.211.59.57
   DHCPv6 IAID . . . . . . . . . . . : 268445072
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-96-6F-C9-00-25-90-25-D5-39
   DNS Servers . . . . . . . . . . . : 23.29.113.88
                                       192.211.59.59
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{21474172-0C51-4520-A832-1D706BC09DEE}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{30EE1DB6-2647-4731-B67E-5E315483788B}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:c0d3:3b3a::c0d3:3b3a(Preferred) 
   Default Gateway . . . . . . . . . : 
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Disabled


VM running on host #1:






Windows IP Configuration

   Host Name . . . . . . . . . . . . : HV3-INFRASTRUCTURE-DC001
   Primary Dns Suffix  . . . . . . . : INFRASTRUCTURE.SHAREPOINT.LOCAL
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : INFRASTRUCTURE.SHAREPOINT.LOCAL

Ethernet adapter Ethernet 11:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter #11
   Physical Address. . . . . . . . . : 00-15-5D-71-54-08
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::552a:f428:afc0:3d84%38(Preferred) 
   IPv4 Address. . . . . . . . . . . : 192.168.0.7(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 
   DHCPv6 IAID . . . . . . . . . . . : 637539677
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-7A-66-0D-00-15-5D-8A-BA-00
   DNS Servers . . . . . . . . . . . : 127.0.0.1
                                       192.168.0.12
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet 10:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter #10
   Physical Address. . . . . . . . . : 00-15-5D-71-54-06
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::19a0:5a03:9498:2fe8%25(Preferred) 
   IPv4 Address. . . . . . . . . . . : 23.29.113.88(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.240
   Default Gateway . . . . . . . . . : 23.29.113.81
   DHCPv6 IAID . . . . . . . . . . . : 620762461
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-7A-66-0D-00-15-5D-8A-BA-00
   DNS Servers . . . . . . . . . . . : ::1
                                       192.211.59.59
                                       127.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{14DEF9F6-3292-47EB-B336-C3B8F29385A2}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:171d:7158::171d:7158(Preferred) 
   Default Gateway . . . . . . . . . : 
   DNS Servers . . . . . . . . . . . : ::1
                                       192.211.59.59
                                       127.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{EE4F3970-3571-409C-9DCC-0D7F2AEAEDFA}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes


Windows Server 2012 - "A Virtual Disk Provider for the specified file was not found"

0
0

I'm using the native (C++) function CreateVirtualDisk to copy a source VHD to a new destination VHD and am getting the error message "A Virtual Disk Provider for the specified file was not found".

There aren't many results for that message - all on 2008R2 and most mention changes to the registry (which I've made but to know effect).

I do need/want to support both Hyper-V 2008R2 and 2012 with the same binary - so I'm limiting myself to VERSION_1 of the API.

        HRESULT st = 0 ;

        VIRTUAL_STORAGE_TYPE vst;

        vst.DeviceId = VIRTUAL_STORAGE_TYPE_DEVICE_VHD;
        vst.VendorId = GUID_NULL; // unknown vendor

        CREATE_VIRTUAL_DISK_PARAMETERS params;
        params.Version = CREATE_VIRTUAL_DISK_VERSION_1;
        params.Version1.UniqueId = GUID_NULL;
        params.Version1.MaximumSize = 0;
        params.Version1.BlockSizeInBytes = CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_BLOCK_SIZE;
        params.Version1.SectorSizeInBytes = CREATE_VIRTUAL_DISK_PARAMETERS_DEFAULT_SECTOR_SIZE;
        params.Version1.ParentPath = NULL;

        std::wstring srcWS( src.begin(), src.end() );
        params.Version1.SourcePath = srcWS.c_str();

        HANDLE h = 0;

        
        std::wstring destWS( dest.begin(), dest.end() );
        const wchar_t * destPathStr = destWS.c_str();

        std::wcerr << "src '" << params.Version1.SourcePath << "'" << std::endl;
        std::wcerr << "dest '" << destPathStr << "'" << std::endl;

        try {
            st = CreateVirtualDisk(
                    &vst,
                    destPathStr,
                    VIRTUAL_DISK_ACCESS_ALL,
                    NULL,
                    CREATE_VIRTUAL_DISK_FLAG_NONE,
                    0L,&params,
                    NULL,&h);
        }
        catch ( ... ) {
            throw Poco::Exception( "3D82D20 : CreateVirtualDisk threw exception "); 
        }

How Many Host Per SMB 3 File Share

0
0

Hello Everyone,

My current enviroment consists of;

1) Windows Server 2012 server being used as SMB 3 share for ,

1) Windows Server 2012 Hyper V Host with 6 virtual machines

1) Windows Server 2012 Hyper V host with 10 virtual machines

The SMB 3 file server has two shares; vmShare1 and vmShare 2.

vmShare1 is used for storage for Hyper V Host1

vmShare2 is used for storage for Hyper V Host2

Is there any reason why I could not combine the two different shares into just one share and have both of the Hyper V host connect to the one share?

Just have all my virtual machines on 1 smb3 share, and both hosts use the  same one share?

The host are two stand alone machines, non-clustered


DJ


This will help me consolidate my backups

W28R2-Cluster: after creating a second LUN on strorage no more virtual machine migration possible

0
0

After creating a second LUN for the CSV on our Storage (2 Contr., 4 NICs) its no longer possible to migrate VMs from one node to the other. All VMs have to run on one single node now.

Cluster-Log:

000006e4.00001328::2013/01/28-08:21:33.509 INFO [RCM] Bringing dependent resource 'Virtueller Computer "test3"' offline before provider resource 'Konfiguration des virtuellen Computers "test3"'.
000006e4.00001328::2013/01/28-08:21:33.509 INFO [RCM] TransitionToState(Virtueller Computer "test3") Online-->OfflineCallIssued.
000006e4.00001328::2013/01/28-08:21:33.509 INFO [RCM] 'Konfiguration des virtuellen Computers "test3"' cannot go offline yet; 'Virtueller Computer "test3"' is in state OfflineCallIssued.
000009e0.00001794::2013/01/28-08:21:33.509 INFO [RES] Virtual Machine <Virtueller Computer "test3">: Current state 'MigrationSourceOffline', event 'Offline'
000006e4.00001328::2013/01/28-08:21:33.509 INFO [RCM] HandleMonitorReply: OFFLINERESOURCE for 'Virtueller Computer "test3"', gen(0) result 0.
000006e4.00001328::2013/01/28-08:21:33.509 INFO [RCM] TransitionToState(Virtueller Computer "test3") OfflineCallIssued-->OfflineSavingCheckpoints.
000006e4.00001a28::2013/01/28-08:21:33.509 INFO [RCM] TransitionToState(Virtueller Computer "test3") OfflineSavingCheckpoints-->Offline.
000006e4.00001a28::2013/01/28-08:21:33.509 INFO [RCM] TransitionToState(Konfiguration des virtuellen Computers "test3") WaitingToGoOffline-->OfflineCallIssued.
000009e0.00001794::2013/01/28-08:21:33.509 INFO [RES] Virtual Machine Configuration <Konfiguration des virtuellen Computers "test3">: Current state 'Online', event 'Offline'
000009e0.00001794::2013/01/28-08:21:33.509 INFO [RES] Virtual Machine Configuration <Konfiguration des virtuellen Computers "test3">: State change 'Online' -> 'OfflinePending'
000006e4.00001a28::2013/01/28-08:21:33.509 INFO [RCM] HandleMonitorReply: OFFLINERESOURCE for 'Konfiguration des virtuellen Computers "test3"', gen(0) result 997.
000006e4.00001a28::2013/01/28-08:21:33.509 INFO [RCM] TransitionToState(Konfiguration des virtuellen Computers "test3") OfflineCallIssued-->OfflinePending.
000009e0.00000b4c::2013/01/28-08:21:33.524 INFO [RES] Virtual Machine Configuration <Konfiguration des virtuellen Computers "test3">: Current state 'OfflinePending', event 'ConfigDeleted', result 0x00000000
000009e0.00000b4c::2013/01/28-08:21:33.524 INFO [RES] Virtual Machine Configuration <Konfiguration des virtuellen Computers "test3">: State change 'OfflinePending' -> 'Offline'
000009e0.00001604::2013/01/28-08:21:33.524 INFO [RHS] Resource Konfiguration des virtuellen Computers "test3" has come offline. RHS is about to report resource status to RCM.
000006e4.00001a28::2013/01/28-08:21:33.524 INFO [RCM] HandleMonitorReply: OFFLINERESOURCE for 'Konfiguration des virtuellen Computers "test3"', gen(0) result 0.
000006e4.00001a28::2013/01/28-08:21:33.524 INFO [RCM] TransitionToState(Konfiguration des virtuellen Computers "test3") OfflinePending-->OfflineSavingCheckpoints.
000006e4.00000294::2013/01/28-08:21:33.524 INFO [RCM] TransitionToState(Konfiguration des virtuellen Computers "test3") OfflineSavingCheckpoints-->Offline.
000006e4.00000294::2013/01/28-08:21:33.524 INFO [RCM] rcm::RcmGroup::UpdateStateIfChanged: (test3, Pending --> Offline)
000006e4.0000113c::2013/01/28-08:21:33.524 INFO [RCM] rcm::RcmGum::GroupMoveOperation(test3,2)
000009e0.00001794::2013/01/28-08:21:33.696 ERR [RHS] s_RhsRpcCreateResType: ERROR_NOT_READY(21)' because of 'Startup routine for ResType MSMQ returned 21.'
000006e4.00000294::2013/01/28-08:21:33.696 WARN [RCM] Failed to load restype 'MSMQ': error 21.
000009e0.00001794::2013/01/28-08:21:33.711 ERR [RHS] s_RhsRpcCreateResType: ERROR_NOT_READY(21)' because of 'Startup routine for ResType MSMQTriggers returned 21.'
000006e4.00000294::2013/01/28-08:21:33.711 WARN [RCM] Failed to load restype 'MSMQTriggers': error 21.

000006e4.000007a0::2013/01/28-08:22:02.946 ERR [DM] DmDeleteKey: ERROR_FILE_NOT_FOUND(2)' because of 'gum handler completed as failed'

Any helpful hint appreciated

Hyper-V performance with Microsoft EMET EAF Feature in VDI and ReCoBS

0
0

EMET is very useful for Remote-Controlled Browsers Systems (ReCoBS) and Virtual Desktop Infrastructure (VDI).

Applications protected with the EMET EAF feature run about 10 times slower (or at 10% speed) in Hyper-V Guests presumably because processor debug registers are used. The performance counter"Hypervisor Root Virtual Processor(*)\Debug Register Accesses/sec" increases to a few 10 thousands on my system when EMET EAF protected applications run.

Any ideas to improve the performance without loosing the EAF benefits?

The EMET documentation doesn't explicitly reference Hyper-V, but: “Some virtual machines do not support debug registers (and consequently EAF). However, the EAF option will still be available for configuration even if EMET is being run on a machine that doesn’t support debug registers. Setting this option on those machines will have no effect. Be aware of this limitation when configuring EAF.“

DRM and Copy Protection (SecuROM and/or SafeDisc afair) software is also affected.

References:
ASLR bypass mitigated by EAF: https://badishi.com/tweaking-metasploit-modules-to-bypass-emet-part-1/
EMET Forum: http://qa.social.technet.microsoft.com/Forums/en/emet/thread/e95141f6-b1d8-4869-9a29-cc8dd321d804
EMET 3.0: http://support.microsoft.com/kb/2458544
EMET 3.5 Tech Preview: http://www.microsoft.com/en-us/download/details.aspx?id=30424
ISC SANS: https://isc.sans.edu/diary/EMET+3.5%3A+The+Value+of+Looking+Through+an+Attacker%27s+Eyes/14797
Microsoft EMET recommendation example: http://blogs.technet.com/b/msrc/p/january-2013-oob-security-bulletin-q-a.aspx
ReCoBS: https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Internetsicherheit/recobslanginfo_pdf.pdf?__blob=publicationFile

Thanks

Networking with virtual machines in hyper

0
0

I have two servers each with two network cards..

There is VMs on both machines..

The physical machines can ping eachother but the VMS cant..

how could this problem be solved?

missing disk of storage pool, SRV12 Essentials under Win8 / Hyper-V

0
0
SRV 12 Essentials Storage Pool misses one of two disks. Both disks had been attached as physical disks to the virtual server under Hyper-V. That was fine, but after a restart (probably without power connection on one of the two disks) now the missing disk shows up as a physical disk on the host Win8, but not as a logical disk there. So, this logical disk can not be re-attached to SRV 12 Ess. As it is missing there, the storage pool is gone - without indicating a failure. The second physical disk of that pool shows up as a physical disk on Win 8 machine, as a logical disk, too (offline) and we could set it online on the guest operating system. With all data from the former pool. How the hell can we bring the other physical drive back to the pool? By the way: Win8 storage space can manage both drives, shows both as online.

hyper v failover clustering

0
0

error in hyper v, getting during enabling of replication of hyper-v machine

please help me put from this , if anyone knows.

"the program cannot open the required dialog box because no locations can be found Close this message and try again" 


JJ


Hyper-V 2012 VLANs

0
0

Hi:

I just purchased (4) HP DL385p Gen8 servers, loaded all four with Windows 2012 Datacenter and have the network setup as listed below.  I have the HyperV role setup on the 1st server and I am trying to get one VM working as desired.  I'd like when I change the VLAN ID on the Guest VM NIC from 100 to 110 (or other VLANs we have) that it changes IP addresses and passes traffic, I am having trouble getting this to work.  I have a 2008R2 6 node Hyper-V cluster working as specified, only difference is the ability to use "VLAN Promiscuious" - apparently HP doesn't have a compliant version of the HP Network Configuration Utility for Server 2012 and they recommended we use the Server 2012 Built in NIC teaming.

Networks:

NIC 1:  PRIVATE  (Heartbeat non-routable)

NIC 2:  PUBLIC (HOST MGMT)

NIC3:  EXTERNAL1

NIC4:  EXTERNAL2

TEAM: Both NIC 3 & 4 - (VM NETWORK)

I have Port Channel setup on the Cisco Switch and the modes for where both External 1 & 2 terminate to the Cisco Switch in Trunk Mode.

Help!

-Stangride

howto connecting one hyper-v pvlan configured host with outside physical switch?

0
0

It works well when I use normal vlan configurations , and the communication with external physical switch also well done.

But:

If I  configured several virtual machines in one hyper-v host using pvlan, inner the hyper-v host pvlan works well.

when I connecting the hyper-v host to one physical switch and using a trunk port , pvlaned vm's cannot  communicate outside world.

what should I do ? howto configure the physical switch? or hyper-v's virtual switch? I need pvlan!!!!

Hyper V 2012 Network configuration

0
0

We are planning to setup a HyperV2012 failover cluster with two nodes. Each server has got 4 NIC.s The first NIC is used for iSCSI traffic and the rest 3 NIC's would be teamed and used for  Managament,  VM traffic,Live migration, Cluster Heart beat  and HyperV replicatio .

Do you see any drawbacks with this the above design.


Malli Boppe MCITP Enterprise Messaging Exchange 2010


Hyper-V, poor disk performance in guest VHD on SAS Raid 10 host

0
0

Dell R510 PERC H700: 8 virtual disks in total. System drive\OS on RAID1, other 7 VD on 4 SAS 600GB as RAID10

Host has 48Gb ram and is running dual Xeon E5645 CPU's 

Read Policy: Adaptive Read Ahead

Write Policy: Write Back

Disk Cache Pol: Disabled

OS: W2K8 R2 ENT, Hyper-V + failover clustering

Each VM hosted in separate volume on RAID 10, SIOS DataKeeper Cluster Edition replicating the 7 volumes to two identical R510's

VM's: One Exchange 2010, one SQL2005, Citrix Server, File and Print (Os mixes of W2K8 and W2K3 64 Bit) plus a couple of other application servers.

Problem:

I am seeing very high average disk queue lengths in all the 7 VM's (maxing at 100 in performance monitor) whenever I try and do large(ish) file transfers (2Gb plus) whereas if I file transfer between the hyper-v hosts on their RAID1 disks and outside of the hypervisor layer, I see pretty respectable throughput and no maxing out on average queue lengths

Other symptoms: Exchange VM slows right down if anyone emails attachments of say +7Mb.

File and Print Server VM, long time to enumerate folder structures etc...

I've tried updating BIOS, RAID f/ware Broadcom network adapters (against my better judgement I've got a Broadcom LACP team upto my switch for VM LAN access). I'm also seeing pretty sluggish throughput with IPERF from other LAN computers into the Hyper-V VM's

Edited to add: have migrated one VM to a Hyper-V node in the cluster with no other VM's running, give the VM a load more RAM and still seeing same problem

Kind of running out of ideas here, any help appreciated



Compression of VM

0
0

Hi,

I have been doing a search on how to compress a VM and as I understand the best process is to

1. Defrag the VM with Windows and then use perfect disk as well if required.

2. Then compact the VM via the hyper-v console.

Am i correct I am ok to carry out a defrag and I wont cause any problems?

Thanks,

Hyper-V on Windows 8 - Network Connection Issues

0
0

Hi,

I have some VM images running on my Windows 8 laptop, I previously had these images running with Oracle VirtualBox (the drives are VHDs) and the internal network connected fine (VM images could talk to one another).

Now that I have moved the images into Hyper-V for Windows 8 and created a new network adapter, no server can talk to one another.

The Images/VHDs I have running are; Active Directory, Sharepoint and Lync.  I had created an internal network using 192.168.xxx.xxx addresses for all the machines.

Here is/are my question(s);

  • What is the proper way to configure a Hyper-V Network to allow the images to talk to one another?
  • What is the proper way to allow these images to communicate externally with the internet?  I have 1 NIC on my laptop and when HV took over the connection I could no longer access the internet from the host of my laptop.

Thanks - Greg.

Cluster VMs on Standalone Host

0
0

Hi there,

Is it possible to run VMs that previously belonged to a Hyper-V 2012 Cluster on a standalone host?

In the HQ there is a two node 2012 Hyper-V Cluster, SAN attached and RecoverPoint is replicating the LUNs to a DR site. In the DR site there is only one standalone Hyper-V host.

If a replicated LUN was presented to the host in the DR site, would it be able to power on the VMs for testing and DR?


File/Network Performance Inside Virtual Machines

0
0

I have a two node Hyper-V Failover Cluster running Windows Server 2008 R2 SP1 Enterprise.  I get slow network performance between Virtual machines and Physical machines.

Environment Information:

2x Dell PowerEdge R720, Dual Intel Xeon E5-2620 6 Core Processors, 48GB RAM Each, 2x 300x10K xRAID1 Operating System Volume, 6x Broadcom BCM5720 GB NICs (1xQP, 1xDP)

- 1st NIC - Dedicated to Host - 10.1.30.x (Everything Bound) (Connected to LAN Switch)

- 2nd NIC - Dedicated to iSCSI - 10.2.30.x (Only TCP v4 bound, No GW or DNS, Jumbo Frames Enabled)

- 3rd NIC - Dedicated Virtual Switch - No IP (Only MS Virtual Switch Bound, Connected to LAN Switch)

- 4th NIC - Dedicated for Live Migration - 10.4.30.x (No GW or DNS, Everything but MS Virtual Switch Bound, Cross Over Cable between Nodes)

- 5th NIC - Dedicated for CSV - 10.3.30.x (No GW or DNS, Everything but MS Virtual Switch Bound, Cross Over Cable between Nodes)

- 6th NIC - Dedicated for iSCSi - 10.2.30.x (Only TCP v4 bound, No GW or DNS, Jumbo Frames Enabled)

1 EqualLogic 7.2K - 12TB RAW SAN - 4x GB NICs spread across 2 Controllers. (MPIO Enabled)

2 x Cisco SMB SG300 20 Port GB Layer 3 Switches = iSCSI Switches (2 Ports configured between each for LACP)

3 x Cisco SMB SG300 52 Port GB Layer 3 Switches = LAN Switches (2 Ports configured between each for LACP)

No Virtual LANs or Uplink from iSCSI to LAN switches and vice versa. 

I have performed dozens of tests to help isolated the issue.

When I copy/move files through the network from a VM to a Physical Machine or vice versa it is running very slow.  Averaging 200KB/second transfers.  Even when browsing folders on network shares you can see lag when the folder lists all the contents.  A 67MB Folder with 120 files takes about 3-5 minutes to copy.

When I copy/move files through the network from a Physical Machine to another Physical Machine it runs normal.  Averaging 100MB/second transfers.  Browsing of folders list all the contents very rapidly.  The physical machines are either the HyperV hosts or other servers/NAS appliances I have on the LAN.  A 67MB folder took 2-3 seconds to copy.  a 4GB file took 45 seconds to copy.

When I copy/move files through the network from a VM to a VM on the same Host it runs normal.  Averaging 75-100MB/Second transfers. Browsing of folders list all contents very rapidly.  A 67MB folder took 5 seconds to copy.

When I copy/move files through the network from a VM to a VM that are on different HyperV Hosts it runs slow.  Averaging 25KB/Second transfers. Browsing of folders list all contents very slow.  a 67MB Folder with 120 files takes about 35-45 Minutes to copy.

When I copy/move files locally to/from the Local Drive of the VM it runs normal.  Averaging very fast transfers as expected. I copied 1GB worth of files in less than 15 seconds.

I have played around with every combination of disabling/enabling NIC Properties Advance Settings.  TCP Offload, Large Send Offload, RSS, Flow Control, CheckSum Offloads, Virtual Machine Queues.  I have enabled/disabled these consistently at each network devices/switch that were involved in these tests.  I also enabled/disabled these using both the registry commands and/or the NETSH commands.  I performed numerous tests with various combinations.  All items are back to default settings.  Only a few combinations would improve the network performance but only very slightly.  Increasing approx 5-15% but never going higher than 455KB /second or averaging more than 200KB/second.

I have applied the Sandy Bridge Processor/HyperV Microsoft HotFix - http://support.microsoft.com/kb/2517329 on both HyperV servers, (rebooted) and it increased through put by about 5%.  VM's are still having slow performance.

There are No AV programs running on any of these machines (physical or virtual), yet.  No software firewalls or any other malware/threat/IPS scans running along the network path of these machines.  On the VM's when I did Windows Updates, they downloaded in a respectable time frame considering how many updates were needed when I first built the machines.  When I do speed tests using speedtest.net I get around .6MBps download and .8MBPs upload and we have a 10MBPs download/Upload Direct Internet Connection. (Fiber over Ethernet Copper ).  I made sure all machines have valid working certified CAT5e cables in place.

Any other ideas?



Dynamic memory not working properly in Win 2012

0
0

Hello!

We have 1 physical server with Windows Server 2012 and Hyper-V role installed. On a server running some virtual machines with dynamiс and static memory. All VMs are Windows Server 2012.

All servers work fine, but dynamic memory not working properly. What is displayed in the Hyper-V snap-in is not true.

Example:

Virtual Machine WIN-ST-FS-03
Start Memory: 1500 MB
Minimum Memory: 1024 MB
Maximum Memory: 2048 MB

When I start this VM, all looks good. Assigned Memory in Hyper-V snap-in, and in the Performance Monitor in VM are same. But after 15 min VM work, memory changed, and Assigned Memory in Hyper-V snap-in differs from installed memory on Performance Monitor on VM.

Host Hyper-V snap-in:


VM Performance Monitor:


On Host a lot of free memory and no errors.

As a result, not working correctly automatically increase and decrease in memory when needed. Host does not know the real value of consumption of memory in the virtual server.

As an example, the following problem occurs.

On Host a lot of free memory. VM maximum memory is 2048 MB. Realy Assigned memory 1024 MB. Realy used memory  984 MB. Host think that VM used 625 MB, and don't get more memory.

How to correct this trouble?

Mark Tepterev

Guide to remote manage Hyper-V servers and VM's in workgroups or standalone

0
0

This guide is based on the following 3 products:
Windows server 2012 (core)
Windows 8
Hyper-V server v3 / Hyper-V server 2012

The following guide will enable you to:

1: remotely manage your Hyper-V Virtual Machines with Hyper-V manager
2: remotely manage your Hyper-V servers' firewall with a MMC snap-in.
3: remotely manage your Hyper-V server (2012) with server manager

! This should also work for Core installations of server 2012, but I haven't tried.

This guide is purely focussed on servers in a WORKGROUP, or as a stand alone.
I CAN NOT tell you what you need to do to get it working in a domain.


* You can run these commands straight from the console (Physically at the machine) or through RDP.
* You will need to be logged on as an administrator.
* Commands are listed in somewhat random order; I do however advise to follow the steps as listed.
* Commands with ? in front of them are only ment to be helpfull for troubleshooting,
* and to identify settings and changes made.
* Commands and instructions with ! in front of them are mandatory.

- server: means the server core or hyper-v server (non gui)
- client: means the machine you want to use for remote administration.
- Some commands are spread over 2 lines; be sure to copy the full syntax.


> To enable the Hyper-V manager to connect to your server, you need to perform the following 2 actions: (Assuming you have already installed the feature)

1:
! Client: Locate the C:\Windows\System32\Drivers\etc\hosts file.
! right-click --> properties --> security
! click --> edit --> add --> YOURUSERNAME or Administrator --> OK
! then select this new user, and tick the "modify"-box under the "allow"-section.
! apply the change, and close.
! doubleclick the file, and open with notepad
! add the ip-address and name of your server (no // or other crap needed)
! Save the file
# I recommend putting a shortcut to this file on the desktop.
# If you change the ip-address of your server (e.g. move the server from staging to a live environment)
# you might forget to do so in the hosts file.
# Hyper-V manager, MMC, RSAT, and Server-manager all rely on the hosts-file to resolve the name.
# some of these might connect to their respective service on an i.p.-level, but some don't.
# This is the main reason you need to modify this file.

! USE AN ELEVATED CMD/POWERSHELL PROMPT TO CONTINUE !
# the next config needs to be done on windows 8.
# It seems that it's already preconfigured under server 2012

2:
! Client: dcomcnfg
! open component services --> computers
! right-click -> my computer -> properties
! select "COM SECURITY" tab
! under "ACCESS PERMISSIONS" select "edit limits"
! select "ANONYMOUS LOGON", and tick "remote access" under ALLOW
# Without this adjustment, you can't connect to your Hyper-V server
# with the Hyper-V manager if you're not in a domain.

> And if you haven't done so already... make sure you have enabled remote management number 4 on the Hyper-V server console.
----------------------------------------------------------------------


> Next, is to get the MMC firewall snap-in working.
   The reason for this, is to have a GUI available to configure it.
   If you're happy without it, you may skip this and use a shell instead to do so.

? server: netsh advfirewall show currentprofile
# shows the current profile (public/domain/private) and its settings
# depending on your needs, you should set the right profile to fit your needs.
# You can easily do this when the MMC snap-in is done. (after you've followed these steps)

! server: netsh advfirewall set currentprofile settings remotemanagement enable
# enables remote management of the firewall on an application level 
# (In other words: allows the firewall to be remotely managed)

! server: netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes
# allows remote management of the firewall, through the required firewall ports with TCP protocol.
# 4 rules will be updated to allow access: public & Domain, dynamic and endpoint-mapper.
# You can disable/add/change the rule from the MMC snap-in after finishing this guide.
# e.g. set the firewall through the MMC-GUI to only allow specific ip-addresses etc.

? server: netsh advfirewall firewall show rule all
# Shows a list of available rules, and their current state.
# when run from cmd, the list exceeds the maximum length for review.
# (from cmd,type:) start powershell, and run the command from there.

! Client: cmdkey /add:YOURSERVERNAME /user:USERNAMEONTHESERVER /pass:THEPASSWORDOFTHATUSER
# I recommend you to use a username with enough privileges for management
# All capital letters need to be replaced with your input
# CMD answers "credential added successfully" when you're done

! Client: locate MMC, and run it as an admin.
# In windows 8/2012, go to search and type MMC. Right-click the icon, 
# and choose run as admin on the bar below.

! Client: application MMC: select "file" --> Add/remove snap-in 
! --> (left pane) scroll down to "windows firewall" --> select and click "add"
! select "another computer"
! type the name of the server you want to manage (NO workgroup/ or //, just same name as you typed for cmdkey)

* Part 2 is done.
# Have a look by doubleclicking the firewall icon in the left pane.
# It looks and works the same as the GUI version that you are familiar with.

-------------------------------------------------------------------------------

! Next is the Server Manager.
# Follow the steps listed to get your server listed and manageable in the server manager.


! Client: Open the created Firewall snap-in for your server.
! Find the 3 "Remote Event Log Management" entries in the list of INBOUND rules, and enable them.

! Open powershell --> in cmd windows, type: start powershell
! run the following line in powershell
! Client: in C:\Windows\system32> set-item WSMAN:\localhost\client\trustedhosts -value YOURSERVERNAME -concatenate

# WinRM Security Configuration.
# This command modifies the TrustedHosts list for the WinRM client. The computers in the TrustedHosts list might not be
# authenticated. The client might send credential information to these computers. Are you sure that you want to modify
# this list?
# [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
#
# I recommend to choose yes; unless you like to pull some more hairs...

! server: winrm qc
# WinRM service is already running on this machine.
# WinRM is not set up to allow remote access to this machine for management.
# The following changes must be made:
# Configure LocalAccountTokenFilterPolicy to grant administrative rights remotely
# to local users.
# Make the changes? y / n
!  select yes

! Client: open the server 2012 server manager
! click manage -> add server
! select the DNS tab, and type the name of your server

Done.

You can now manage your remote server through the familiar computer management GUI.

! Right-click your remote server, and select "Computer Management"

--------------------------------------------------------------------------

A few side notes:

? The Performance tab seems to list the local machine's performance, in stead of the remote servers'
? If you want Windows server backup, you need to right-click the server in the server manager, and select "add roles and features.
? it will then become available under the "computer management" of the remote server.


If you liked this guide you may thank my employer, Mr. Chris W.
for giving me the time to work it all out.

Cheers!

  

Adding promiscuous mode in server 2012 hyper-v

0
0

I am running a esxi lab within hyper-v and the vms within this do not want to connect to the network. I have been told that I need to enable promiscuous mode on the virtual switch and I can't find the option anywhere. I cannot get guest OSes to connect to the network under the vmware vsphere. 

Is there any way to enable this? Please respond. Thank you. 

How to enable service " Hyper-V image Management Service" in Hyper-V 2012 (Windows Server 2012 Data Center)

0
0

Hi

I have installed windows server 2012 Datacenter Evalualtion. My WSMAN soap request is working fine in  windows server 2008 r2, becuase it have the following service is enabled "Hyper-V image Management Service", but it is not available in windows server 2012 Data Center Evaluation.

Please let me know how to enable this service.

Regards

Venkat

Viewing all 19461 articles
Browse latest View live




Latest Images