Create VM on Azure Stack HCI cluster by WAC

KA SAN CHAN 186 Reputation points
2021-08-27T14:34:23.313+00:00

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
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
295 questions
0 comments No comments
{count} votes

Accepted answer
  1. KA SAN CHAN 186 Reputation points
    2021-09-11T15:58:30.547+00:00

    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.


3 additional answers

Sort by: Most helpful
  1. KA SAN CHAN 186 Reputation points
    2021-09-05T11:41:08.487+00:00

    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

    0 comments No comments

  2. Trent Helms - MSFT 2,461 Reputation points Microsoft Employee
    2021-09-07T19:07:53.857+00:00

    Hi @KA SAN CHAN ,

    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

    0 comments No comments

  3. KA SAN CHAN 186 Reputation points
    2021-09-11T09:21:47.807+00:00

    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.

    0 comments No comments