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
- WAPInstall-SitesCN
- WAPInstall-SitesFE
- WAPInstall-SitesMN
- WAPInstall-SitesPB
- WAPInstall-SitesWWR
- WAPInstall-SitesWWS
- WAPInstall-WAPHVS
- WAPInstall-WAPPortal
- WAPInstall-WAPSMA
- WAPInstall-WAPSPF
- WAPInstall-WAPSQL
- 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.
- Windows Azure Pack Components and ArchitectureWhen 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.
- Switch to WAPPortalSwitch 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.
- Start Windows Azure Pack SetupOn 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.
- Configure Database Server SettingsEnter the following information and click Next:SERVER NAME: WAPSQLDATABASE SERVER ADMIN USERNAME: SADATABASE SERVER ADMIN PASSWORD: Passw0rd!PASSPHRASE: Passw0rd! (You will see a green check if the password/passphrase is correct)
- Configure Customer Experience Improvement ProgramIn Customer Experience Improvement Program, select Yes, and then click the Next icon.
- Configure FeaturesIn 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:
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.
- Open Service Management PortalOn 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. - Enter CredentialsWhen prompted, log on as WAP\Administrator using the password Passw0rd!
- Complete WizarrdIn 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.
- Close Service Management PortalIn 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.
- Switch to WAPHVSSwitch 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.
- Open Command Prompt (Admin)Open an administrative Command Prompt.
- Change DirectoryChange to the C:\labfiles folder.
- Run Batch FileAt 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.
- Switch to SitesCNSwitch 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.
- Start Windows Azure Pack SetupOn 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).
- Configure Database Server SettingsEnter 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 - 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! - 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.
- 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.
- 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! - 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! - Configure CEIP and Windows UpdateUnder Customer Experience Improvement Program, click NO, I AM NOT WILLING TO PARTICPATE. Under Microsoft Update, click OFF. Click the Next icon.
- Complete WizardOn 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.
- Close WizardWhen complete, click the Done icon, and then click Yes.
- Switch to WAPPortalSwitch 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.
- Open Service Management PortalIf 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. - Enter CredentialsIn the Windows Security dialog box, log on as WAP\Administrator using Passw0rd! as the password.
- Register Cloud REST EndpointClick 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.
- Configure Cloud REST EndpointIn 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) - Open WAP Websites CloudUnder web site clouds, click CLOUDS, and then click WAP Websites Cloud.
- View Cloud RolesYou 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.
- 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.
- 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.
- 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.
- 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.
- View DASHBOARD TabClick DASHBOARD.
- View Quick GlanceClick 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
- View SETTINGS TabClick 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.
- View SOURCE CONTROL TabClick 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:
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.
- Register System Center Service Provider FoundatinnIn 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. - Configure RegistrationTo 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! - Specify Use of VM Cloud ProviderIn 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. - Configure RegistrationIn 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.
- View ResultsExpand wapvmm.wap.local. You will see two clouds. The clouds are defined using Virtual Machine Manager and were imported during registration.
- View VIRTUAL MACHINES TabClick VIRTUAL MACHINES. Any tenant-defined virtual machines will be listed here.
- View NEWORKS TabClick NETWORKS. Any tenant-defined networks will be listed here.
- Start Import to GalleryOn the taskbar, click GALLERY. Click IMPORT.
- Import FileIn 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.
- Make Gallery Item PublicIn 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:
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
- Initiate Service Bus Cloud ConnectionTo 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. - Configure Service Bus Cloud ConnectionEnter 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! - View ResultsClick CLOUDS. The Service Bus Cloud service is enabled.
Congratulations!
You have successfully:
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.
- Add SQL Server to Hosting Server GroupClick 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. - View Group Creation OptionsClick 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.
- Connect SQL Server to Default GroupYou 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 - Add MySQL Server to Hosting Server GroupClick 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. - 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.
- Configure MYSQL Server Connection (User/Size)Enter the following information and click CONNECT:
USERNAME: root
PASSWORD: Passw0rd!
SIZE OF HOSTING SERVER IN GB: 1000IMPORTANT: 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:
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.
- Register Service Management Automation EndpointClick 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. - Configure Service Management Automation EndpointTo 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! - View RunbookIn 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. - View DASHBOARD TabClick DASHBOARD. This shows you the run history of the job.
- View AUTHOR TabOn 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.
- Edit RunbookClick 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.
- Discard DraftOn the taskbar, click DISCARD DRAFT, and then click YES. Minimize the activities notice that appears.
- View SCHEDULE TabClick SCHEDULE. Here you can schedule the runbook to run at specific times.
- View CONFIGURE TabClick CONFIGURE. Here you can configure a description and tags, as well as logging options. Click Previous (left arrow).
- View ASSETS TabOn the automation page, click ASSETS. A number of Windows PowerShell modules are listed. On the taskbar, you have the option to import modules.
- View iSCSI ModuleClick iSCSI and scroll down the page to examine the module details. Click Previous.
Congratulations!
You have successfully:
You have successfully:
- Connected to the Service Management Automation endpoint
- Reviewed Service Management Automation
Click Continue to close and finalize this lab.
No comments:
Post a Comment