question

microccc avatar image
0 Votes"
microccc asked TrentHelms-MSFT commented

Create VM on Azure Stack HCI cluster by WAC

The environment has two Azure Stack HCI hosts called AZSHCINODE01 and AZSHCINODE02.

I try to use WAC (Windows Admin Center) to connect to Azure Stack HCI cluster by cluster name and then create a VM.
The VM is not able to show up on the Azure Stack HCI cluster and AZSHCINODE02 on the WAC interface.
However, it can only show on AZSHCINODE01 on the WAC interface.

I have already update all the installed extensions and Azure Stack HCI hosts.
How can I create the VM and show all VMs on the cluster for both AZSHCINODE01 and AZSHCINODE02?
Thank you.

azure-stack-hci
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

microccc avatar image
0 Votes"
microccc answered TrentHelms-MSFT commented

Although the Azure Stack HCI is in trial period, those errors will be occurred when it is not register with Azure.
The new created VM will not appeared on cluster but only appear on one of the nodes if I create the VM on Azure Stack HCI cluster by WAC.

After register the Azure Stack HCI with Azure on WAC, those errors will be solved.
The new created VM will be appeared on cluster if I create the VM on Azure Stack HCI cluster by WAC.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @microccc,

I am glad you were able to resolve your issue. You are absolutely correct - your cluster must be registered before you can add VMs to it. Note that if your cluster fails to sync to Azure at least once within a 30-day period, your cluster will go out of policy and you will see this same behavior as well. Should this happen, your current cluster would remaining running, you just would not be able to add new VMs or make major changes to the existing VMs. To fix this, you would just need to ensure your cluster resyncs to Azure.

Thanks so much!
Trent

0 Votes 0 ·
microccc avatar image
0 Votes"
microccc answered

Here are some screenshots of the "virtual machine" pages for cluster, node 1 and node 2.
Only node 2 will show the VM on the portal but not on cluster.

Cluster:
129329-cluster.png

Node 1:
129250-azshcinode01.png

Node 2:
129330-azshcinode02.png





cluster.png (49.5 KiB)
azshcinode01.png (52.4 KiB)
azshcinode02.png (54.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TrentHelms-MSFT avatar image
0 Votes"
TrentHelms-MSFT answered

Hi @microccc,

Usually when a VM only shows up on a single node, it is because the VM is not a cluster resource. Can you confirm the VM above is a cluster resource? You can verify this by running Get-ClusterResource from either cluster node and verifying the VM is listed. If it isn't, you should be able to run Get-VM | Add-ClusterVirtualMachineRole to add the VM as a cluster role. Be sure the VM files are stored within one of the CSVs so the VM can be highly available.

Hope this helps!
Trent

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

microccc avatar image
0 Votes"
microccc answered

I try to run the PowerShell "Get-VM | Add-ClusterVirtualMachineRole" but the node will show the following error:
"The clustered role was not successfully created..."

131282-powershell-error.png



so I use Failover Cluster Manager MMC to configure role for the VM, it show the error and the error on the report:

"There was a failure configuring the virtual machine role for 'MyVM01'.
The operation has failed. An error occurred while opening the clustered role 'MyVM01'.
The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept"

131244-failover-cluster-manger-configure-role-vm-failed.png

131252-error-report.png


The VM files are already in the "C:\ClusterStorage\MyVolume01\".
I don't have idea why the VM still create in a standalone VM on one of the nodes by WAC Cluster Manager Virtual Machine page.
Thanks.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.