Walid Hegazy

How To Do :) IT

SCVMM 2012 step by step (Part5) App Controller

Leave a comment

App Controller is a product for managing applications and services that are deployed in private or public cloud infrastructures, mostly from the application owner’s perspective. It provides a unified self-service experience that lets you configure, deploy, and manage virtual machines (VMs) and services. Some people mistakenly think that App Controller is simply the replacement for the VMM Self-Service Portal.

Hardware Requirements

Hardware component

Minimum

Recommended

Processor

Pentium 4, 2 GHz (x64)

Dual-Processor, Dual-Core, 2.8 GHz (x64) or greater

RAM

1 GB

4 GB

Hard disk space

512 MB

1 GB

 

Software Requirements

Software Requirement

Notes

Microsoft .NET Framework 4

If .NET Framework 4 is not installed (it is not installed by default), the App Controller setup wizard will install it.

Web Server (IIS)

If the Web Server (IIS) role and the following Web Server (IIS) features are not installed, the App Controller setup wizard will install them:

  • Static Content
  • Default Document
  • Directory Browsing
  • HTTP Errors
  • ASP.NET
  • .NET Extensibility
  • ISAPI Extensions
  • ISAPI Filters
  • HTTP Logging
  • Request Monitor
  • Tracing
  • Basic Authentication
  • Windows Authentication
  • Request Filtering
  • Static Content Compression
  • IIS Management Console

The VMM console feature in System Center 2012 – Virtual Machine Manager (VMM)

Only the VMM console feature is required for App Controller.

 

Supported Operating Systems

Operating System

Edition

Service Pack

System Architecture

Windows Server 2008 R2 (full installation)

Standard, Enterprise, or Datacenter

Service Pack 1

x64

Windows Server 2012

Standard, Datacenter

None

X64

 

System Requirements—Client

This section provides information about supported operating systems for running the App Controller website.

  • A 32-bit browser that supports Silverlight 5
  • Internet Explorer 8, Internet Explorer 9, Internet Explorer 10

 

Installing APP Controller

In order to install the App Controller server, we log in as a domain user with membership in the local Administrators group. This account must also have at least DBO permission on the database that will be used.

¨       On the installation media, right-click setup.exe, and then click Run as administrator.

¨       On the main setup page, click Install.

clip_image004[6]

¨       Review the license terms, select the I have read, understood, and agree with the terms of the license agreement check box, and then click Next.

clip_image006[6]

¨       If all prerequisites have been met, the Select the installation location page will appear

clip_image008[4]

¨       On the Configure services page, specify the account that will be used by App Controller services, we will be using the VMMAdmin account we created earlier.

¨       This port is used for communication between App Controller services only. So we do not need to configure the firewall on the computer running App Controller to allow access to this port.

  clip_image010[4]

¨      On the Configure website page, specify the following:

§  IP address: Select an IP address from the IP address list or type an IP address that users can use to access this site.

§  Port: Type the port on which HTTP.sys must listen for requests made to this website.

§  SSL certificate: Select whether you want App Controller Setup to generate a self-signed, certificate or use a previously imported certificate for SSL “ we are now Deploying a Test environment so we will go with the Self signed ”

 

Note

The port that was assigned during the installation of App Controller cannot be changed without uninstalling and reinstalling App Controller.

clip_image012[4]

¨      On the Configure the database page, specify the following:

§  Server name: Type the name of the computer that is running SQL Server.

§  Port: Type the port to use for communication with the computer that is running SQL Server. By default, this value is not required and is therefore left blank.

§  Instance name: Select or type the name of the instance of SQL Server to use.

§  Database name: Type the name of the database to use. The account with which you are installing the App Controller server must have at least database owner (dbo) permissions in the specified database. If the specified database does not exist and the current user has the appropriate permissions, the App Controller setup wizard will create it for you. If you are performing a high availability installation, the second and subsequent server installs need to use the same database as the first server.

 

clip_image014[4]

¨       On the Confirm the settings page, review your selections and click Install.

clip_image016[4]

¨       Green is good

clip_image018[4]

¨       Now we try to log in

clip_image020[3]

¨       First look to APP controller portal

clip_image022[6]

Configuring App Controller

Enable Single Sign-On for App Controller

By default, App Controller is enabled to prompt users to sign in by entering their Active Directory user name and password, to configure App Controller to use the user’s current Windows credentials to automatically sign on we follow the next steps.

Change the authentication method

¨       Open IIS manager on the App Controller server.

¨       Select the App Controller website.

¨       Expand the website and select the /api node.

¨       Click Authentication.

clip_image024[6]

¨       Enable Windows Integrated Authentication.

¨       Disable Basic Authentication.

clip_image026[6]

Turn on constrained delegation

¨      Log on using an account that has OU Administrator privileges in Active Directory Domain Services. Ensure that this account is also granted the SeEnableDelegationPrivilege user right

¨      In Active Directory Users and Computers, expand the App Controller Machine node.

¨      Click the Delegation tab.

clip_image027[6]

¨      Select the Trust this computer for delegation to specified services only option.

¨      Select the Use any authentication protocol option.

clip_image029[3]

¨      Click Add and enter the name of the VMM management server.

¨      Select the Common Internet File System (CIFS) service, and then click OK.

clip_image030[3]

¨       If the VMM management server is running under a domain account, enter the name of domain account and select SCVMM, and then click OK.

clip_image031[3]

¨      Restart the App Controller management server.

Connect App Controller to a VMM management server

¨       On the overview page, click Connect a virtual machine manager and cloud.

¨       In the Connect dialog box, enter a name for this connection.

¨       In the Server name text box, enter the fully qualified domain name (FQDN) of the VMM management server.

¨       Click OK to create the connection.

clip_image032[3]

 

End user Experience with app controller

clip_image033[3]

clip_image035[3]

 

Deploying a Virtual Machine

¨       On either the Virtual Machines page or the Services page, click Deploy in the taskbar.

clip_image037[3]

¨      In the New Deployment diagram, click Configure to select a cloud.

clip_image039[3]

¨      In the Select a cloud for this deployment dialog box, select a cloud and then click OK to return to the diagram.

clip_image040[3]

¨      Select a virtual machine template by clicking Select a template.

clip_image042[3]

clip_image044[3]

¨      Select the appropriate virtual machine template and click Configure.

clip_image046[3]

¨      Edit the properties of the virtual machine. All fields that are required are marked by an asterisk and must be completed.

clip_image047[3]

¨      Click Deploy

clip_image048[3]

¨      The status of the deployment can be reviewed from the jobs node.

 

clip_image050[3]

¨      The machine now can be accessed from the Virtual Machines node

clip_image052[3]

 

 

Thanks 🙂 …

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s