Leta i den här bloggen

2018-12-24

Using a Custom FQDN (ExternalDomainSuffix) for you Azure Stack Development Kit (ASDK) version 1811

I used to only write my blog in Swedish, but since I think that this info might be of interest outside this quite narrow language it will be in English

There are many reasons for why you would like to use a custom FQDN for you Azure Stack Development Kit (ASDK) installation. One of them might be that you have more than one ASDK running and want to be sure not to make changes to the wrong one (off cource I would never do something like that... but other might *cough*).

We have been using this method for quite some time to have different names on the different ASDK installations.

So what we want to do is have a custom domain suffix (marked with green) but running version 1811 (marked with blue)


Why this blogpost

Well basically the reason is that in the 1811 version of the ASDK Microsoft changed quite alot in the installation script (that happens alot we have seen :), so why not share this info if we can.

If you are in a hurry just read the "Disclaimer" and the "TL;DR" in the end. :)

Disclaimer

This is no fun to write, but we all know this.

The method described here is NOT supported in any way. We have been using this (or a similar method) for quite some time (more or less since TP3) and it has been working for us. This does not mean that we can guarantee that it will work for you. It will not be supported by us. Neither will Microsoft support this.
If you get in trouble, the only answer I can give you is to do a clean reinstall (and if you work with ASDK then you are use to do reinstalls.. we do that ALOT :))

So how to change the ExternalDomainSuffix (FQDN)

Well. You dont... 
At least you don't change it on a running installation. You set it when you install the ASDK and here I'll show you how.

What the Externaldomainsuffix (FQDN) should be is hardcoded in the installation files. And the exact place has changed a bit in the different builds of ASDK.


1. Make sure that you have finalized the "Download and extract the ASDK"-step, and also the "Prepare the ASDK host computer".

2. When booted into CloudBuilder.vhdx image you should log in as administrator (Basically this should be done when at step 1 in "Deploy the ASDK - Installer")

3. Open an elevated PowerShell console and go to "C:\CloudDeployment\". There we should search for "azurestack.external" in the install-files.
The thing is that we won't find anything. That's because the install-files are still not expanded.

4. To expand the install-files we need to go to "C:\CloudDeployment\Setup\" and there run the "BootstrapAzureStackDeploument.ps1"
This will expand quite a lot of new files (have a look around if you like. You can learn ALOT from just browsing these files).

5. Anyways... Now we have all the files then if we do the same search again then we get quite a lot of hits.
Here I should explain.. I took the screenshots from two different installations of one of the ASDKs I run. On one installation I used Powershell for searching, and on the other I used Command Prompt... Off course I messed up and some of the screenshots got lost (I actually think I never saved them... Yeah, I feel so smart sometimes) and therefore this one is a Command Promt.
To do a new screenshot would either make me fake the entire thing, or do some fancy MS Paint cut-and-paste, or make me do another reinstall of the ASDK just to get one screenshot with the correct background color.. Nope, It's christmas now... I have presents to attend to...

The files we are interested in are the .ps1 files in the beginning. The .psm1 files are interesting to, but if you look in them you'll see that these rows are just examples and not used in the script so there is no harm leaving them as is..

6. Open "C:\CloudDeployment\Setup\Common\DeploySingeNodeCommon.ps1" and change the $ExternalDomainSuffix to the one you want instead.
eg: If you want the normal user portal to be "https://portal.local.mypersonalasdk.contoso.com" then you should type
  $ExternalDomainSuffix =" mypersonalasdk.contoso.com",

7. Open "C:\CloudDeployment\Setup\DeploySingeNode.ps1" and change the $ExternalDomainSuffix to the one you want instead (this needs to be the same as in step 6)

8. Continue your normal installation from step 1 in "Deploy the ASDK - Installer"
When you are finished with the installation then you should be able to connect to "adminportal.local.[yourdomainsuffix]" and it should look something like this:


TL;DR

1. Download and save the file "UpdateExternalFQDN.ps1" in the "C:\CloudDeployment\Setup" folder when you are booted into CloudBuilder.vhdx image and logged in as administrator. (Basically this should be done when at step 1 in "Deploy the ASDK - Installer" )

2. Open an elevated PowerShell console and go to the "C:\CloudDeployment\Setup" folder

3. Run the "UpdateExternalFQDN.ps1" script  (that you downloaded in step 1) and specify your desired FQDN

4. Continue your normal installation as you normally do. :)

5. After a successful installation then connect to the admin portal as "adminportal.local.[yourFQDN]" and the user portal as "portal.local.[yourFQDN]".
Like this:

(and here you see the my domain and the new ASDK version).

Here is the script:

And here is the command to run the script:



2017-03-10

länkar för gratis utbildningar + roadmaps

Webbkurser inom Azure
Utbildningar med filmer, presentationer, labbar och tester.
Efter varje del får man ett diagnostiskt test. När man är klar med en kurs får men ett prov. Lyckas man med provet så får man ett diplom.
En "kurs" tar typ 8-20 timmar (min erfarenhet av att ha genomfört några). Skall man göra alla labbar så tar det så klart längre tid än om man bara kollar igenom alla presentationerna... :)
https://openedx.microsoft.com/


Office training roadmaps
Ett antal PDFer som i sin tur har en utvecklingsresa där man kan välja vilja delar man vill lära sig mer kring.
Varje del i utvecklingsresan länkar sedan vidare från PDFen så man hamnar på olika webbsidor.
Väldigt många olika ämnen! :)
https://support.office.com/en-us/article/office-training-roadmaps-62a4b0dc-beba-4d8e-b79c-0ad200e705a1

2013-12-20

Länksamling: Windows Azure, Hyper-V, SDN, SDS, System Center 2012 R2

Det där med moln och Azure. Antingen Windows Azure som On-prem, eller hostad, eller i molnet hos microsoft.

  • "On-prem" är alltså att ha sitt privata moln i företagets egna datahall
  • "Hostad" är att ha privata molnet hostat hos en specifik leverantör som oftast finns i samma stad eller land som man själv
  • "i molnet" är att privata molnet ligger hos Microsoft

Det finns mycket att läsa. Så här tänkte jag länka till artiklar jag hittar. Så jag kan hitta dem igen... :)
Listan är liten, men kommer troligen att växa...

Software Defined Networking (SDN):


Software-defined networking will be one of the most important technologies for IT pros over the next five years. Now is the time to learn some of the basics of software-defined networking, especially as it relates to Hyper-V networking



Windows Azure Pack (WAP):


System Center 2012 R2:
The PowerShell Deployment Toolkit (PDT) is a set of scripts and knowledge for automated deployment of System Center 2012 SP1/R2, including SQL all prerequisites, and all automatable post-setup integration.  See Building Clouds blog Deployment track for details.


Let’s face it, installing distributed, enterprise-class virtual desktop and server based computing infrastructure is time consuming and complex.  The infrastructure consists of many components that are installed on individual servers and then configured to work together.  Traditionally this has largely been a manual, error prone process.The Citrix XenDesktop 7.1 Service Template for System Center 2012 Virtual Machine Manager (SCVMM) leverages the rich automation capabilities available in Microsoft’s private cloud offering to significantly streamline and simplify the installation experience.  The XenDesktop 7.1 Service Template enables rapid deployment of virtual app and desktop infrastructure on Microsoft System Center 2012 private clouds.  This Tech Preview is available now and includes the latest 7.1 version of XenDesktop that supports Windows Server 2012 R2 and System Center 2012 R2 Virtual Machine Manager.



Software Defined Storage:


2013-12-04

VMware - Top 20 KB-artiklar för november enligt supporten

Listan kommer från VMwares egna support och utgår från hur många gånger ett supportärende kunde stängas genom att följa en viss KB artikel.. :)
Ett tips är att kika igenom listan. Här får man en bra insikt i vad andra haft problem med och det kan göra att man hittar saker innan de inträffar i den egna miljön. :)

Ett tydligt tecken är att det är många som har problem med Fusion (6 av 20 artiklar handlar om VMware Fusion)

Nåja. Titta igenom listan. Den är bra!
  1. ESXi 5.x host experiences a purple diagnostic screen with errors for E1000PollRxRing and E1000DevRx (2059053)
  2. Troubleshooting Fusion virtual machine performance issues (1015676)
  3. Downloading and installing VMware Fusion (2014097)
  4. Troubleshooting networking and internet connection issues in VMware Fusion (1016466)
  5. Installing Windows in a virtual machine using VMware Fusion Easy Install (1011677)
  6. Re-pointing and re-registering VMware vCenter Server 5.1 / 5.5 and components (2033620)
  7. Broadcom 5719/5720 NICs using tg3 driver become unresponsive and stop traffic in vSphere (2035701)
  8. Installing async drivers on ESXi 5.0/5.1/5.5 (2005205)
  9. Installing or upgrading to ESXi 5.5 best practices (2052329)
  10. Unmounting a LUN or detaching a datastore/storage device from multiple ESXi 5.x hosts (2004605)
  11. Investigating virtual machine file locks on ESXi/ESX (10051)
  12. Original Equipment Manufacturer (OEM) Partner Activation Code (PAC) portal (2011587)
  13. Manually deleting linked clones or stale virtual desktop entries from the View Composer database in VMware View Manager 4.5 and later (2015112)
  14. Manually deleting linked clones or stale virtual desktop entries from VMware View Manager and Horizon View (1008658)
  15. Troubleshooting Fusion virtual machine startup issues (1014534)
  16. Purging old data from the database used by VMware vCenter Server 4.x and 5.x (1025914)
  17. Restarting the Management agents on an ESXi or ESX host (1003490)
  18. Uninstalling, reinstalling, and upgrading VMware Fusion (1014529)
  19. Using esxtop to identify storage performance issues for ESX / ESXi (multiple versions) (1008205)
  20. Installing vCenter Server 5.5 best practices (2052334)

2013-06-27

"Windows Server 2012 R2", "Windows 8.1" och "System Center 2012 R2". Alla finns tillgängliga nu som preview... Read all about it. :)

Ok, kanske inte allt... Men de finns i alla fall tillgängliga att ladda ned nu som previews.

Om vi börjar med denna: http://technet.microsoft.com/en-US/evalcenter/dn205292.aspx
Där finns möjlighet att ladda ned:
- Windows server 2012 R2 Preview
- System Center 2012 R2 Preview
- SQL server 2012 Community Techology Preview 1
- Windows Azure Free trial

en rätt bra samling prylar. :)




Vill man ha Windows 8.1 preview så hittar man den här: http://windows.microsoft.com/en-us/windows-8/download-preview




Det finns en gratis online utbildning kring Windows 2012 R2. Det är två dagar (10 och 11 Juli).
http://www.microsoftvirtualacademy.com/liveevents/windows-server-2012R2-Jump-Start

Självklart ligger det en del filmer även på Channel9.
Några av dem hittar man här: http://channel9.msdn.com/Tags/windows+server
Related Posts Plugin for WordPress, Blogger...