Inconsistent parameters PolicyStore PersistentStore and Dhcp Enabled

This error was driving me crazy!
I was trying to configure a team NIC with a new IP address but it would give the following error:

PS C:\users\Darryl\Desktop> new-NetIPAddress -InterfaceIndex 100 -IPAddress 192.168.0.10 -AddressFamily IPv4 -PrefixLength 24
new-NetIPAddress : Inconsistent parameters PolicyStore PersistentStore and Dhcp Enabled
At line:1 char:1
+ new-NetIPAddress -InterfaceIndex 100 -IPAddress 192.168.0.10 -AddressFamily IPv4 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (MSFT_NetIPAddress:ROOT/StandardCimv2/MSFT_NetIPAddress) [New-NetIPAddress], CimException
    + FullyQualifiedErrorId : Windows System Error 87,New-NetIPAddress

Turns out the NIC cannot be disconnected when configuring the IP address.

Read More

Azure Backup and Site Recovery in Public Preview

Although the many //Build/ announcements where overshadowing the news, Azure Site Recovery and Azure Backup for v2 machines (ARM) are in Public Preview!
There have been some changes, in the “old” portal you’d have to create a vault based on what you wanted to do, ASR or Backup.

Old portal
Recovery Services in old portal

In the new portal ASR and Backup are also grouped as “Recovery Services” but it gives overview over both services.

Recovery Services in new portal
Recovery Services in new portal

Within the Recovery Services pane you can now manage all stuff that is nessary for backup and disaster recovery eg. Backup policies and replication schedules.

Getting started

The new recovery services are in public preview and deployable for everyone with an Azure subscription.
Get started by choosing the Browse and search for “Recovery Services”.
ASR_preview_2

After the recovery services vault is succesfully deployed you can easily start backing up virtual machines using the top menu.

ASR_preview_4

Replication of virtual machines acquires some additional configuration of the on-premises environment.
TIP: Use the “Getting started wizard”.

Getting started wizard

At the time of writing there is no support yet for Windows Server 2016.

More info here and here.
The Microsoft program groups are really listening for feedback using uservoice: Site Recovery Azure Backup, Post and/or Vote for ideas!

Have fun!

-Darryl
@DarrylvdPeijl

Read More

Azure Stack – The Fabric Layer

With more and more details coming available on Microsoft Azure Stack we can see the direction Microsoft is taking and giving us a peek under the hood of Microsoft Azure itself.
Azure Stack will be consistent with Azure and Microsoft is bringing the Azure bits to your datacenter with Azure Stack, we will get the same portal and all the great features (like Azure Resource Manager) it brings us.

The one thing that is not consistent with Microsoft Azure is the fabric layer and in this post I will give some more insight on the infrastructure side.
(more…)

Read More

Error 803 Virtual Machine Already Exists

I copied a virtual machine and imported it again in Hyper-V using a Unique ID.
When refreshing the host in Virtual Machine Manager I hit the error below:

Error 803

Error (803)
Virtual machine Darryl ASR already exists on the virtual machine host other cluster nodes

Recommended Action
Specify a new name for the virtual machine, and then try the operation again.

The issue that we’re hitting is that when copying the virtual machine, it also copies the “CLUSTER-INVARIANT” with it.
error803-2
Virtual Machine Manager already has this GUID in the database and gives this error.
When deleting the GUID from Hyper-V manager, Virtual Machine Manager is able again to refresh the VM and everything starts working.

Read More

Hyperconverged with Windows Server 2016

There has been a lot of development the last couple of years on the Hypervisor and Storage landscape.
Where in the past we did big investments in separate infrastructure for Compute and Storage Array Network (SAN), now we see developments that beholds a combined infrastructure for both.

While the big vendors not seemed “All-in” on the Hyperconverged technology there have been very successful starts-ups focusing on this technology like Nutanix and Simplivity. Also VMware is picking up with the announcement of EVO:RAIL at VMworld in October 2014.

(more…)

Read More

Scale-Out File Server – Symmetric and Asymmetric storage

Scale-Out File Server (SOFS) is a feature that is designed to provide scale-out file shares that are continuously available for file-based server application storage such as Hyper-V. Scale-out file shares provide the ability to share the same folder from multiple nodes of the same cluster.
In this blog we assume you already have played around with SOFS and know the basics.

There are multiple ways to connect storage to your SOFS cluster.
The most common way today is putting your SOFS cluster in front of an iSCSI or FC SAN, the upcoming method is using Storage spaces in combination with a “Just a bunch of disks” device also known as JBOD. We will cover them both in this blogpost. (more…)

Read More

WAP – SQL Named Pipes Provider Error

SQL Database as a Service is a very cool feature of Windows Azure Pack.
Because the SQL servers are probably internet facing you want to deploy them as secure as possible, maybe even in a different VLAN/Subnet than your WAP servers.

“A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)”

You receive this error in Windows Azure Pack because your WAP servers and SQL servers are in other broadcast domains.
When you add your SQL Availablity Group in WAP it first makes a connection over TCP/IP.
When it reads the members of the Availablity Group, it tries to resolve the hostnames over NETBIOS/Named Pipes, this fails because there servers are not in the same broadcast domain.

I did some packet sniffing with WireShark and did see the following:

When servers are in the same broadcast domain:
netbios1
You can there is a packet going out to the broadcast IP (.255) for the name “SQL12”, and a response back from my SQL server called “SQL12”.
Great.

When a try the same with a SQL server that is not in the same broadcast domain:
netbios2
It keeps trying to send broadcast packets, but never receives a response back.
And then the connection from the WAP admin portal fails.

broadcast

I’m communication with someone from the WAP team to get this fixed, although I’m not sure this is something that needs to be fixed in WAP.

Workaround:
Put your SQL Server node names in the hostfile of your WAP Admin servers.

If you have any questions, leave a comment!

Darryl van der Peijl

Read More

Get-MgmtSvcRelyingPartySettings bug fixed

In Windows Azure Pack UR4 I discovered a bug concerning the Get-MgmtSvcRelyingPartySettings cmdlet.
I’m proud to say this is fixed in the upcoming UR5 release which also contains the following features and bugfixes:

– Differencing disks are now optional in the VM Role when used with VMM UR5. (This got the fourth highest number of votes in the IaaS category on UserVoice! We are listening, keep giving us the feedback!)

– Support for SQL Server Resource Governor with SQL Server 2014. Now you can create Plans with limits to what/how much SQL Server resources can be consumed by tenants. For more info click here.

– Support for disabling native Network Resource Provider to allow 3rd party Network Resource Providers integration with Azure Pack.

– Tenants can now see information about what type of memory (dynamic/static) their VMs have, along with corresponding Memory Startup and Maximum values.

Get-MgmtSvcRelyingPartySettings PowerShell cmdlet returns the settings of the correct namespace.

I used the following video to show the productteam the bug.
If your interested in the background, take a look :)

https://onedrive.live.com/redir?resid=B2DE57561D91920!975&authkey=!AGheLYjvOQTej18&ithint=video%2cmp4

Read More