Så installerar du IoT Hub på Azure Stack HubHow to install IoT Hub on Azure Stack Hub
Viktigt
IoT Hub på Azure Stack Hub är för närvarande en för hands version och tillhandahålls kostnads fritt under för hands perioden.IoT Hub on Azure Stack Hub is currently in preview, and is provided free during the preview period.
Den här artikeln visar hur du hämtar och installerar IoT Hub Resource Provider, vilket gör den tillgänglig för att erbjuda kunder för prenumeration.This article shows you how to download and install the IoT Hub resource provider, making it available to offer to customers for subscription. Installations processen för IoT Hub tar cirka 2 timmar.The installation process of IoT Hub takes about 2 hours.
Ladda ned IoT HubDownload IoT Hub
Om Azure Stack Hub kan komma åt Azure Marketplace följer du stegen i det här avsnittet för att hämta och installera IoT Hub och dess beroenden.If your Azure Stack Hub can access the Azure Marketplace, follow the steps in this section to download and install IoT Hub and its dependencies.
Slutför följande steg för att hämta IoT Hub för en ansluten distribution:To download IoT Hub for a connected deployment, complete the following steps:
Logga in på Azure Stack Hubbs administratörs Portal.Sign in to Azure Stack Hub administrator portal.
Välj Marketplace-hantering till vänster och välj sedan Resource providers och klicka sedan på + Lägg till från Azure.Select Marketplace Management on the left, then select Resource providers, then click on + Add from Azure.
Filtrera efter "IoT Hub" om det behövs och välj sedan IoT Hub -paketet.Filter for "IoT Hub" if necessary, then select the IoT Hub package.
På sidan IoT Hub paket väljer du HämtaOn the IoT Hub package page, select Download
Vänta tills paketet har laddats ned.Wait for the package download to complete. Status visar hämtningen och kan ta upp till 10 minuter.The status will show Downloading, and can take up to 10 minutes.
När paketet har hämtats ändras statusen till inte installerat på hanterings sidan för Marketplace.Once the package is downloaded, the status will change to Not installed in the Marketplace management page.
Du kan hämta IoT Hub för en frånkopplad eller delvis ansluten distribution genom att först ladda ned paketen till den lokala datorn.To download IoT Hub for a disconnected or partially connected deployment, first you download the packages to your local machine. När hämtningen är klar kan du importera dem till Azure Stack Hub-instansen.After the download completes, you then import them into your Azure Stack Hub instance.
- Om du inte redan har gjort det följer du anvisningarna i Hämta Marketplace-objekt – frånkopplade eller delvis anslutna scenarier.If you haven't already, follow the instructions in Download Marketplace items - Disconnected or partially connected scenarios. Här kan du hämta och köra verktyget Marketplace-syndikering, som gör att du kan ladda ned IoT Hub-paketen.Here you download and run the Marketplace Syndication tool, which allows you to download the IoT Hub packages.
- När fönstret "Azure Marketplace-objekt" i syndikerings verktyget öppnas, letar du upp och väljer IoT Hub för att ladda ned de nödvändiga paketen till den lokala datorn.After the syndication tool's "Azure Marketplace Items" window opens, find and select "IoT Hub" to download the required packages to your local machine.
- När hämtningen är klar importerar du paketen till Azure Stack Hub-instansen och publicerar på Marketplace.Once the download finishes, you import the packages to your Azure Stack Hub instance and publish to Marketplace.
Installera IoT HubInstall IoT Hub
På sidan Marketplace-hantering följer du de här stegen för att installera IoT Hub-paketet:From the Marketplace management page, follow these steps to install the IoT Hub package:
Klicka på raden IoT Hub och starta sedan installationen.Click on the IoT Hub row, then Start Installation.
Klicka på installera nödvändiga komponenter.Click on Install Prerequisites.
Status för installationen kan spåras i meddelande fönstret.The status of the installation can be tracked in the notification pane. Det här steget tar cirka 10 minuter.This step will take about 10 minutes.
Vänta tills installationen av kraven har slutförts.Wait for the installation of the prerequisites to complete. Det här steget tar vanligt vis mellan 5-10 minuter, beroende på miljön.This step usually takes somewhere between 5-10 minutes depending on the environment.
Klicka på Lägg till certifikat under Förbered hemligheter.Click on Add Certificates under Prepare Secrets. Ange det PFX-certifikat som skapats i krav.Provide the pfx certificate created in prerequisites.
Bläddra och ange PFX-filen som skapades och lösen ordet (inaktuella skript)Browse and provide the pfx that was created and the password (the input to the script)
Klicka på Installera under Installera resurs leverantör.Click on Install under Install Resource Provider.
När installationen startar kan du hitta distributions status på Marketplace eller i meddelande fönstret.Once the installation starts, deployment status can be found in the Marketplace or in the notification pane.
Installationen kan ta mellan 90 – 120 minuter.Installation can take between 90 – 120 minutes. Vänta tills installationen har slutförts.Wait for the installation to complete.
Den IoT Hub resurs leverantören har installerats!The IoT Hub resource provider is installed successfully! Kom igång genom att utföra följande steg:To get started, complete the following steps:
Om det behövs följer du anvisningarna för att skapa en plan, erbjudanden och prenumeration.If necessary, follow the instruction to create a plan, offers, and subscription.
Om det redan finns en prenumeration uppdaterar du det associerade erbjudandet/planen för att inkludera Microsoft. Devices -tjänsten.If a subscription already exists, update the associated offer/plan to include Microsoft.Devices service. Gå till plan -> Välj planen för att uppdatera -> Lägg till tjänst och kvot.Go to Plan -> Choose the plan to update -> Add Service and quota.
Lägg till Microsoft. Devices-tjänsten och klicka på Spara.Add Microsoft.Devices Service and click Save.
Allt är klart!You are all set! IoT Hub kan nu skapas.IoT Hubs can now be created.
Använda IoT HubUsing IoT Hub
Information om hur du använder IoT Hub finns i Azure IoT Hub-dokumentationen.To learn how to use IoT Hub, refer to the Azure IoT Hub documentation.
Nästa stegNext steps
Mer information om hur du hanterar IoT Hub på Azure Stack Hub finns i hantera IoT Hub på Azure Stack Hub.To learn more about managing IoT Hub on Azure Stack Hub, see How to manage IoT Hub on Azure Stack Hub.