Tuesday, March 21, 2017

Install and configure the Windows Azure Pack

Install and configure the Windows Azure Pack

Objective

After completing this lab, you will be able to:
  • Install the Windows Azure Pack roles
  • Perform Windows Azure Pack initial configuration
  • Create cloud objects including tenants and users
  • Create subscriptions and create cloud resources

Scenario

In this lab, you will learn how to install and configure the components of the Windows Azure Pack. To complete this lab, you are provided with a partially pre-configured environment with all required prerequisites met and many of the time-consuming installation processes completed. You will proceed to review the installation procedure for Windows Azure Pack using the Web Platform Installer. You will then configure the Service Management Portal to create Web Site clouds, Virtual Machine clouds, Service Bus clouds, both SQL Server and MySQL databases, as well as connect it to a Service Management Automation server, which provides an automated workflow management solution.

Estimated time to complete this lab is 60 minutes.

Virtual Machines

  1. WAPInstall-SitesCN
  2. WAPInstall-SitesFE
  3. WAPInstall-SitesMN
  4. WAPInstall-SitesPB
  5. WAPInstall-SitesWWR
  6. WAPInstall-SitesWWS
  7. WAPInstall-WAPHVS
  8. WAPInstall-WAPPortal
  9. WAPInstall-WAPSMA
  10. WAPInstall-WAPSPF
  11. WAPInstall-WAPSQL
  12. WAPInstall-WAPVMM

Installing Windows Azure Pack: Portal and API Express

In this exercise you will:
  • Install Windows Azure Pack

Scenario:  In this exercise, you will review the installation process for Windows Azure Pack: Portal and API Express. You will then complete the initial configuration and connect to the management database. In this exercise, you will complete the installation process for the Windows Azure Pack using the Web Platform Installer. You will configure the installation but to save time, you will cancel before actually performing the installation. The installation has been performed for you. A typical installation takes between 10 and 15 minutes depending on hardware.

  1. Windows Azure Pack Components and Architecture
    When you launched this lab you were presented with a significant amount of information on Windows Azure Pack components and architecture.  If you need to review the information again, in the Content tab of the lab environment, click Overview.  Please be sure you are comfortable with the information presented in the Overview before you continue to the next step.
  2. Switch to WAPPortal
    Switch to WAPPortal by clicking on the Switch to Machine icon to the left of the Done button. You should already be signed in as Administrator.  If not, sign in as WAP\Administrator (password: Passw0rd!).
    You can also select the machine using the Machines tab.
  3. Start Windows Azure Pack Setup
    On WAPPortal, open Internet Explorer and navigate to https://localhost:30101.  To save time in the lab, the Windows Azure Pack: Platform and API Express has been installed, but not configured on the server.   Click Continue to this website (not recommended).  Windows Azure Pack uses a self-signed certificate by default. This is adjustable by modifying the SSL bindings in Internet Information Services on any Windows Azure Pack server.
    You can also select the machine using the Machines tab.
  4. Configure Database Server Settings
    Enter the following information and click Next:
    SERVER NAME:   WAPSQL
    DATABASE SERVER ADMIN USERNAME:   SA
    DATABASE SERVER ADMIN PASSWORD:   Passw0rd!
    PASSPHRASE:  Passw0rd!  (You will see a green check if the password/passphrase is correct)
  5. Configure Customer Experience Improvement Program
    In Customer Experience Improvement Program, select Yes, and then click the Next icon.
  6. Configure Features
    In Features Setup, click the Done icon.  All features will be installed on WAPPortal. This will take several minutes. When each feature has a green check mark, it is installed.   In the Wizard, click the Done icon again, and then click Yes.
Congratulations!

You have successfully:
  • Installed Windows Azure Pack

Click Continue to advance to the next exercise.

Configuring the Windows Azure Pack Web Sites Service

In this exercise you will:
  • Perform a web site component deployment
  • Complete the configuration of the Web Sites service using previously deployed roles

Scenario:  In this exercise, you will configure the Windows Azure Pack Web Sites service. In the first task, you will configure a number of components required for the service, such as the file server, front end server and others. In the second task, you will complete the configuration of the service using previously installed roles.

  1. Open Service Management Portal
    On the desktop, double-click WAP – Admin.   If prompted to turn on Protected Mode, click Don’t show this message again.  You will see two certificate errors.  On each one, click Continue. It may take a few minutes for the errors to appear. You can observe the icon next to the web site name to determine when the second has appeared.   Click Continue to this website (not recommended).
    Perform a Web Site Component Deployment

    In steps 1 through 18, you will perform the steps required to deploy web site roles, including front end servers, Web Worker role servers, management servers, and file servers.
  2. Enter Credentials
    When prompted, log on as WAP\Administrator using the password Passw0rd!
  3. Complete Wizarrd
    In the Welcome wizard, click the Next icon on each page, and then click the Done icon.   The welcome wizard explains the elements of the UI.
  4. Close Service Management Portal
    In the New pane, click the Close icon.   The service management portal page provides an administrator’s view of all objects available to tenants as part of the Windows Azure Pack.  Close the Internet Explorer.
  5. Switch to WAPHVS
    Switch to WAPHVS by clicking on the Switch to Machine icon to the left of the Done button. Sign in as WAP\administrator (password: Passw0rd!).
    You can also select the machine using the Machines tab.
  6. Open Command Prompt (Admin)
    Open an administrative Command Prompt.
  7. Change Directory
    Change to the C:\labfiles folder.
  8. Run Batch File
    At the command prompt, type ConfigFolderShares.cmd, and press ENTER.   This batch file creates two folders, one for certificates and another for the web sites. It then shares the folders and configures the appropriate permissions.
  9. Switch to SitesCN
    Switch to SitesCN by clicking on the Switch to Machine icon to the left of the Done button. Sign in as WAP\administrator (password: Passw0rd!).
    You can also select the machine using the Machines tab.
  10. Start Windows Azure Pack Setup
    On SitesCN, open Internet Explorer and navigate to https://localhost:30101.   For your convenience and to save time, the virtual machine is pre-configured with the web site.   Click Continue to this website (not recommended).
  11. Configure Database Server Settings
    Enter the information shown in the Alert window and click Next.
    SERVER NAME:   WAPSQL
    DATABASE SERVER ADMIN USERNAME:   SA
    DATABASE SERVER ADMIN PASSWORD:   Passw0rd!
    DNS SUFFIX:  WAP.com
  12. Configure Web Sites Role (Management Server)
    In Web Sites Role Setup, enter the following information and then click Next:
    MANAGEMENT SERVER NAME:  SitesMNADMIN USERNAME (Machine Credentials to Install Management Roles):  WAP\Administrator; ADMIN PASSWORD:  Passw0rd! 
    ADMIN USERNAME (Machine Credentials to Install Worker Roles):  WAP\Administrator; ADMIN PASSWORD: Passw0rd!
  13. Configure Web Sites Role (Service Endpoint Creds)
    In Service Endpoint Credentials, in both PASSWORD and PASSWORD CONFIRMATION, type Passw0rd!   TIP: If you need to scroll down to this field and find that you can’t scroll down, click the Previous icon and then click the Next icon to place you back on the configuration page. Click the Next icon.
  14. Configure File Server Setup (Name/Path)
    In File Server Setup, click USE A PRE-CONFIGURED WINDOWS FILE SERVER.   The file server will be used for storing web site content and shared SSL certificates.   In CONTENT SHARE NETWORK PATH, type \\WAPHVS\WebSites.   You configured this share and the WAPHVS\Certificates share in a previous step.
  15. Configure File Server Setup (Credentials)
    Enter the following information:
    FILE SHARE OWNER USERNAME:  WAP\FileShareOwnerFILE SHARE OWNER PASSWORD/FILE SHARE OWNER PASSWORD CONFIRMATION: Passw0rd!
    FILE SHARE USER USERNAME:  WAP\FileShareUserFILE SHARE USER PASSWORD/FILE SHARE USER PASSWORD CONFIRMATION:  Passw0rd!
  16. Configure File Server Setup (Certificates)
    Under Certificate Store Account, enter the following information and click Next:
    CERTIFICATE SHARE NETWORK PATH:  \\WAPHVS\Certificates
    USERNAME:  WAP\CertificateShareUser
    PASSWORD and PASSWORD CONFIRMATION:  Passw0rd! 
  17. Configure CEIP and Windows Update
    Under Customer Experience Improvement Program, click NO, I AM NOT WILLING TO PARTICPATE.   Under Microsoft Update, click OFF.   Click the Next icon.
  18. Complete Wizard
    On the Features Setup page, click the Done icon.   The setup will take a few minutes to complete. Wait until you see the green check marks before proceeding.  
  19. Close Wizard
    When complete, click the Done icon, and then click Yes.
  20. Switch to WAPPortal
    Switch to WAPPortal by clicking on the Switch to Machine icon to the left of the Done button. You should already be signed in as Administrator.  If not, sign in as WAP\Administrator (password: Passw0rd!).
    You can also select the machine using the Machines tab.
  21. Open Service Management Portal
    If the WAP Admin portal is still open from a previous task, close it.    On the Desktop, double-click WAP-Admin. When prompted, click Continue to this website (not recommended).  If prompted to turn on Protected mode, click Don’t show this message again.
    Complete the Configuration of the Web Sites Service using Previously Deployed Roles

    In steps 21 through 34, you will complete the configuration of the Web Sites service using a set of servers which have had roles previously deployed. This was done to save time in this lab.
  22. Enter Credentials
    In the Windows Security dialog box, log on as WAP\Administrator using Passw0rd! as the password.
  23. Register Cloud REST Endpoint
    Click WEB SITE CLOUDS.   Click Register your existing website cloud REST endpoint.  This was deployed on the management server you specified in the previous task.   TIP: If you do not see the link, click the cloud icon to the left of CLOUDS on the web sites clouds page.
  24. Configure Cloud REST Endpoint
    In the New pane, complete the following information and then click Connect:
    DISPLAY NAME:  WAP Websites Cloud
    WEB SITE CLOUD REST ENDPOINT:  https://sitesmn
    USERNAME:  CloudAdminPASSWORD:  Passw0rd!  (Wait for the green check to appear next to the password after you type it to indicate the connection succeeded)
  25. Open WAP Websites Cloud
    Under web site clouds, click CLOUDS, and then click WAP Websites Cloud.
  26. View Cloud Roles
    You can review the configuration and recent performance of this website cloud in the DASHBOARD.   Click ROLES. The controller, file server, and management server are ready. You must now deploy additional roles, including the Front End server, the Web Worker, and the Publishing Server roles.
  27. Add Role (NEW FRONTEND)
    On the portal taskbar, click ADD ROLE.   Click ADD NEW FRONTEND.   In ENTER THE HOSTNAME OR IP ADDRESS OF YOUR MACHINE, type SitesFE, and then click the Done icon.
  28. Add Role (NEW PUBLISHER)
    Click ADD ROLE.   Click ADD NEW PUBLISHER.  In ENTER THE HOSTNAME OR IP ADDRESS OF YOUR MACHINE, type SitesPB, and then click the Done icon.
  29. Add Role (NEW WEB WORKER; SitesWWR)
    Click ADD ROLE.  Click ADD NEW WEB WORKER.   In ENTER THE HOSTNAME OR IP ADDRESS OF YOUR MACHINE, type SitesWWR.  In WORKER TYPE, select Reserved – Small, and then click the Done icon.
  30. Add Role (NEW WEB WORKER; SitesWWS)
    Click ADD ROLE.   Click ADD NEW WEB WORKER.  In ENTER THE HOSTNAME OR IP ADDRESS OF YOUR MACHINE, type SitesWWS.   In WORKER TYPE, select Shared, and then click the Done icon.
  31. View DASHBOARD Tab
    Click DASHBOARD.
  32. View Quick Glance
    Click DASHBOARD.   There are now two web workers listed, one SitesWWS and another on SitesWWR.
    Important: Before continuing, wait for the status on each component to be listed as Ready
  33. View SETTINGS Tab
    Click the Back icon.   Click SETTINGS.   The URL provided is the default web gallery which is available to tenants who wish to deploy new web sites.
  34. View SOURCE CONTROL Tab
    Click SOURCE CONTROL.  You can configure source control information for the four supported source control providers. To gather the required information, follow the steps at http://technet.microsoft.com/en-us/library/dn469322.aspx.
Congratulations!

You have successfully:
  • Performed a web site component deployment
  • Completed the configuration of the Web Sites service using previously deployed roles

Click Continue to advance to the next exercise.

Configure Virtual Machine Clouds

In this exercise you will:
  • Register the Service Provider Foundation provider
  • Connect Service Provider Foundation to the Virtual Machine Manager server

Scenario:  In this exercise, you create and configure Virtual Machine Clouds by integrating Windows Azure Pack and the System Center Service Provider Foundation. Service Provider Foundation provides an integration path between Windows Azure Pack and System Center Virtual Machine Manager, allowing Windows Azure Pack to request and then deploy new virtual machines based on System Center Virtual Machine Manager library objects.

  1. Register System Center Service Provider Foundatinn
    In Service Management Portal, click VM CLOUDS.   Click First you must register your System Center Service Provider Foundation.
    Register the Service Provider Foundation Provider

    In steps 1 and 2, you will register the pre-deployed Service Provider Foundation role.
  2. Configure Registration
    To save time, the Service Provider Foundation was pre-installed on WAPSPF using the default installation settings.  Enter the following information and then click the Done icon:
    SERVICE URL:  https://wapspf:8090USERNAME:  SPFLocal
    PASSWORD:  Passw0rd!
  3. Specify Use of VM Cloud Provider
    In Service Management Portal, in VM CLOUDS, click CLOUDS.   Click USE AN EXISTING VITUAL MACHINE CLOUD PROVIDER TO PROVISION VIRTUAL MACHINES.
    Connect Service Provider Foundation to the Virtual Machine Manager Server

    In steps 3 through xx, you will connect the Virtual Machine Manager server to your Service Provider Foundation role.
  4. Configure Registration
    In VIRTUAL MACHINE MANAGER SERVER FQDN, type wapvmm.wap.local.   Leave the port and gateway information empty.  Click REGISTER.   Important: Wait for the registration activity to complete. You will see a status of Ready when this has completed.
  5. View Results
    Expand wapvmm.wap.local.  You will see two clouds. The clouds are defined using Virtual Machine Manager and were imported during registration.
  6. View VIRTUAL MACHINES Tab
    Click VIRTUAL MACHINES.  Any tenant-defined virtual machines will be listed here.
  7. View NEWORKS Tab
    Click NETWORKS.   Any tenant-defined networks will be listed here.
  8. Start Import to Gallery
    On the taskbar, click GALLERY.   Click IMPORT.
  9. Import File
    In IMPORT TO GALLERY, click BROWSE FOR FILE.   Navigate to \\wapvmm\c$\GalleryResources\Sharepoint_FoundationBasic_VMRole_Pkg\, and then click SharepointFoundation2010WG.resdefpkg.   Click Open, and then click the Done icon.   Important: Wait for the gallery object to import.
    Importing the resource definition package to WAP is one of the steps you need to take to enable virtual machine roles, which is part of the Infrastructure as a Service (IaaS) that WAP provides. Other steps you need to take include importing a resource package definition to VMM and configuring VMM.
  10. Make Gallery Item Public
    In GALLERY, click SharePoint Foundation 2010 SP2– Workgroup, and then on the taskbar click Make Public.
    Click Yes, and then click OK.  Making a gallery item public makes it available for use by tenants.    Click the Back icon to return to the main view.
Congratulations!

You have successfully:
  • Registered the Service Provider Foundation provider
  • Connected Service Provider Foundation to the Virtual Machine Manager server

Click Continue to advance to the next exercise.

Configure Service Bus Clouds

In this exercise you will:
  • Connect to the existing Service Bus role
  1. Initiate Service Bus Cloud Connection
    To save time, Windows Server Service Bus is pre-installed on WAPSMA.  Click SERVICE BUS CLOUDS.  Click Connect to an existing Service Bus cloud.
    Connect to the existing Service Bus role

    In steps 1 through 3, you will configure the Windows Azure Pack to connect to the already deployed Service Bus role.
  2. Configure Service Bus Cloud Connection
    Enter the following information and then click Connect:
    FRIENDLY NAME:  WAP Service Bus
    SERVICE BUS CLOUD ENDPOINT:  https://wapsma:9359
    ADMIN USERNAME: AdminUser; ADMIN PASSWORD:  Passw0rd!
    TENANT USERNAME:  TenantUser; TENANT PASSWORD:  Passw0rd!
  3. View Results
    Click CLOUDS.   The Service Bus Cloud service is enabled.
Congratulations!

You have successfully:
  • Connected to the existing Service Bus role

Click Continue to advance to the next exercise.

Configure SQL Server and MySQL Clouds

In this exercise you will:
  • Create a SQL Server cloud service
  • Create a MySQL cloud service

Scenario:  In this exercise, you will configure a new SQL Server and MySQL cloud service. For this exercise, SQL Server is installed on WAPSQL and MySQL is installed on WAPHVS.

  1. Add SQL Server to Hosting Server Group
    Click SQL SERVERS.   Click Add an existing server to the hosting server group.
    Create a SQL Server Cloud Service

    In steps 1 through 3, you will register a pre-deployed SQL Server for use in a cloud service.
  2. View Group Creation Options
    Click CREATE A GROUP.   Click the GROUP TYPE drop-down to display the options.  There are two groups, standalone servers and high availability groups.   High availability groups configure SQL Server Always-on configurations using a file share as shared storage.   We will not be creating an Always-on group in the lab; instead we will connect to a pre-installed standalone SQL server.
  3. Connect SQL Server to Default Group
    You will add a server running SQL Server to the default group.  Click CONNECT TO.  Complete the following information and then click CONNECT.
    SQL SERVER GROUP:  leave Default selectedSQL SERVER NAME:  WAPSQL
    USERNAME:  SA
    PASSSWORD:  Passw0rd!
    SIZE OF HOSTING SERVER IN GB:  1000
  4. Add MySQL Server to Hosting Server Group
    Click MYSQL SERVERS.  Click Add an existing server to the hosting server group.
    Create a MySQL Cloud Service

    In steps 4 through 7, you will register your existing MySQL server and use it to provide cloud-hosted databases.
  5. Configure MYSQL Server Connection (Name)
    In MYSQL SERVER NAME, type WAPHVS.   We are adding a pre-installed instance of MySQL running on WAPHVS. Note that MySQL running on Linux is also supported.
  6. Configure MYSQL Server Connection (User/Size)
    Enter the following information and click CONNECT:
    USERNAME:   root
    PASSWORD:   Passw0rd!
    SIZE OF HOSTING SERVER IN GB:  1000
    IMPORTANT:  MySql is case sensitive.  If you encounter an error, ensure that ‘root’ is all in lower case.

    NOTE:  If you get an error indicating that there are too many connections and need to run the flush-hosts command, switch to WAPHVS, open an administrative command prompt, and execute the following command: mysqladmin –u root –pPassw0rd! flush-hosts.
Congratulations!

You have successfully:
  • Created a SQL Server cloud service
  • Created a MySQL cloud service

Click Continue to advance to the next exercise.

Configure the Automation Cloud Service

In this exercise you will:
  • Connect to the Service Management Automation endpoint
  • Review Service Management Automation

Scenario:  In this exercise, you will connect your Windows Azure Pack deployment to a Service Management Automation endpoint to provide overall automation services to your cloud infrastructure.

  1. Register Service Management Automation Endpoint
    Click AUTOMATION.  Click Register the service management automation endpoint.
    Connect to the Service Management Automation Endpoint

    In steps 1 and 2, you will register the automation endpoint.
  2. Configure Service Management Automation Endpoint
    To save time, you will connect to a pre-installed Service Management Automation Endpoint.   Enter the following information and then click Done.
    SERVICE URL:   https://wapsma:9090
    USER NAME:  WAP\WAPSA
    PASSWORD:   Passw0rd!
  3. View Runbook
    In AUTOMATION, click RUNBOOKS.  There are a large number of runbooks included by default that can be used as starting point to introduce additional automation into your environment. Also note that you can select and, from the taskbar, start runbooks.  Click sample-using-vmcloud-automation.
    Review Service Management Automation

    In steps 3 through 11, you will review the automation service.
  4. View DASHBOARD Tab
    Click DASHBOARD.  This shows you the run history of the job.
  5. View AUTHOR Tab
    On the sample-using-vmcloud-automation page, note the menu options, and then click AUTHOR.  NOTE:  A Windows PowerShell script that provides instructions for use appears.
  6. Edit Runbook
    Click DRAFT.  NOTE:  This action allows you to edit the runbook.   Click EDIT RUNBOOK.  The color changes to indicate you are in editing mode.  A number of additional administrative options appear on the taskbar.
  7. Discard Draft
    On the taskbar, click DISCARD DRAFT, and then click YES.   Minimize the activities notice that appears.
  8. View SCHEDULE Tab
    Click SCHEDULE.  Here you can schedule the runbook to run at specific times.
  9. View CONFIGURE Tab
    Click CONFIGURE.  Here you can configure a description and tags, as well as logging options.   Click Previous (left arrow).
  10. View ASSETS Tab
    On the automation page, click ASSETS.   A number of Windows PowerShell modules are listed.  On the taskbar, you have the option to import modules.
  11. View iSCSI Module
    Click iSCSI and scroll down the page to examine the module details.  Click Previous.
Congratulations!

You have successfully:
  • Connected to the Service Management Automation endpoint
  • Reviewed Service Management Automation

Click Continue to close and finalize this lab.

No comments: