Giter VIP home page Giter VIP logo

azurestackhols's People

Contributors

jaromirk avatar weeyin83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

azurestackhols's Issues

Set Livemigration settings on cluster level

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.

https://github.com/DellGEOS/AzureStackHOLs/tree/main/lab-guides/02a-DeployAzureStackHCICluster22H2-PowerShell-NetATC#task-10---configure-cluster-aware-updating

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

Failed to import a virtual machine

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:

  • None -- No information will be sent
  • Basic -- Information about lab will be sent (e.g. script execution time, number of VMs, guest OSes)
  • Full -- Information about lab and the host machine (e.g. type of disk)
    Would you be OK with providing an information about your MSLab usage?

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
    
  •                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Import-VM], VirtualizationException
    • FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.ImportVM
      DC was not imported successfully Press any key to continue ...
      Press enter to continue ...

Windows PowerShell transcript end
End time: 20221028142843


DC cannot connect to Internet

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.

Provisioning of IAM role for Azure Stack HCI / PowerShell Deployment tool (preview)

Dear @jaromirk

https://github.com/DellGEOS/AzureStackHOLs/tree/main/lab-guides/08-DeployAzureStackHCICluster-DeploymentTool

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.

VM creation fails

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

vm_creation_error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.