dellgeos / azurestackhols Goto Github PK
View Code? Open in Web Editor NEWHands on labs for Azure Stack HCI
Hands on labs for Azure Stack HCI
Dear @jaromirk some parts of your code uses a per node configuration for LiveMigration. Good news this can now be done cluster-wide, the changes become effective quite immediately.
this is valid for WS 2022 and Azure Stack HCI:
https://techcommunity.microsoft.com/t5/azure-stack/azure-stack-hci-keeps-setting-livemigration-to-1-here-is-why/td-p/3850965
Hi,
Can someone help me?
I have hydrated the labs fine but when I try to deploy (the first step in https://github.com/DellGEOS/AzureStackHOLs/tree/main/lab-guides/01-DeployAzureStackHCICluster-WAC) I receive this error:
Import-VM : Failed to import a virtual machine.
An unexpected error occurred: The source type for URI '%1' is not supported. (0xC00CEF0B).
Failed to import a virtual machine.
The Hyper-V Virtual Machine Management service encountered an unexpected error: The source type for URI '%1' is not
supported. (0xC00CEF0B).
Here's the log.
Windows PowerShell transcript start
Start time: 20221028142831
Username: WIN-GGD0IQMTGDG\Administrator
RunAs User: WIN-GGD0IQMTGDG\Administrator
Machine: WIN-GGD0IQMTGDG (Microsoft Windows NT 10.0.14393.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & 'C:\Lab\Deploy.ps1'
Process ID: 4532
PSVersion: 5.1.14393.3866
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.3866
BuildVersion: 10.0.14393.3866
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
Transcript started, output file is C:\Lab\Deploy.log
Script started at 10/28/2022 14:28:31
MSLab Version v22.10.1
Lab telemetry
By providing a telemetry information you will help us to improve MSLab scripts. There are two levels of a telemetry information and we are not collecting any personally identifiable information (PII).
Details about telemetry levels and the content of telemetry messages can be found in documentation https://aka.ms/mslab/telemetry
Available telemetry levels are:
Tip: You can also configure telemetry settings explicitly in LabConfig.ps1 file or by setting an environmental variable and suppress this prompt.
No telemetry information will be sent.
List of variables used
Prefix used in lab is Lab-
Switchname is Lab-LabSwitch
Workdir is C:\Lab
LabFolder is C:\Lab\LAB
Checking if OS is Windows 10 1511 (10586)/Server 2016 or newer
OS is Windows 10 1511 (10586)/Server 2016 or newer
Checking if Hyper-V is installed
Hyper-V is Installed
Checking if Hyper-V Powershell module is installed
Hyper-V is Installed
Checking if at least 2GB RAM is available
13,729 MB RAM Available
Checking if volume filesystem is NTFS or ReFS
Volume filesystem is NTFS
Creating Switch
Checking if Lab-LabSwitch already exists...
Creating Lab-LabSwitch...
Internet connectivity requested
Detecting default vSwitch
Default switch not present, detecting external vSwitch Lab-LabSwitch-External
Detecting external VMSwitch
External vswitch vmxnet3 Ethernet Adapter - Virtual Switch found. Will be used for connecting lab to internet
Checking if lab already exists.
Starting IP for AdditionalNetworks is 1
Creating Mountdir
Creating VMs dir
Looking for Tools Parent Disks
Tools parent disk C:\Lab\ParentDisks\tools.vhdx found
Configuring DC
Looking for DC to be imported
Import-VM : Failed to import a virtual machine.
An unexpected error occurred: The source type for URI '%1' is not supported. (0xC00CEF0B).
Failed to import a virtual machine.
The Hyper-V Virtual Machine Management service encountered an unexpected error: The source type for URI '%1' is not
supported. (0xC00CEF0B).
At C:\Lab\Deploy.ps1:1604 char:27
$DC = Import-VM -Path $_.FullName
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Windows PowerShell transcript end
End time: 20221028142843
I followed with the below 2 articles first
[01 How to Hydrate MSLab files]
[02 Working with MSLab]
After deploying all VM in [02 Working with MSLab], the DC is not able to access the Internet.
Then I cleaned the VMs deployed in [02 Working with MSLab], and tried [01 Deploy Azure Stack HCI Cluster with Windows Admin Center], DC is now able to access the Internet.
Thanks.
Dear @jaromirk I tried to deploy network HUD, yet it does not setup correctly (eventually not anymore).
This issue might appear:
https://techcommunity.microsoft.com/t5/networking-blog/network-hud-november-2022-content-update-has-arrived/bc-p/3877426/highlight/true#M566
Dear @jaromirk
for this guidance, we can safely remove the creation of the RBAC (IAM) role to register the Azure Stack HCI nodes. The MS documentation is not complete / updated. I will raise a PR at a later date.
The previously required custom appear to exist in current tenants and include even more permissions than just registering.
tldr: by today, Microsoft has created and preprovisioned Azure Stack HCI IAM roles for registration and other purposes such as Azure Arc.
Hello Jaroslav,
I am following your lab scenario for AVD on Azure Arc.
I am in the part, where I am supposed to create VMs for each node in cluster, but I am getting error.
"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"
It is for each VM on each cluster node.
My lab is on HyperV, 2 nod cluster.
Regards
Stanislav
Converting volumes instead of recreating volumes should be added.
https://github.com/DellGEOS/AzureStackHOLs/tree/main/lab-guides/07-ExpandingAzureStackHCICluster
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.