Automation – Tech-Coffee //www.tech-coffee.net Tue, 19 Sep 2017 16:09:17 +0000 en-US hourly 1 https://wordpress.org/?v=4.8.2 65682309 WEBINAR: Scripting & Automation in Hyper-V without SCVMM //www.tech-coffee.net/webinar-scripting-automation-in-hyper-v-without-scvmm/ //www.tech-coffee.net/webinar-scripting-automation-in-hyper-v-without-scvmm/#respond Mon, 30 Nov 2015 19:40:51 +0000 //www.tech-coffee.net/?p=4286 System Center Virtual Machine Manager (SCVMM) provides some great automation benefits for those organizations that can afford the hefty price tag. However, if SCVMM isn’t a cost effective solution for your business, what are you to do? While VMM certainly makes automation much easier, you can achieve a good level of automation with PowerShell and ...

The post WEBINAR: Scripting & Automation in Hyper-V without SCVMM appeared first on Tech-Coffee.

]]>
System Center Virtual Machine Manager (SCVMM) provides some great automation benefits for those organizations that can afford the hefty price tag. However, if SCVMM isn’t a cost effective solution for your business, what are you to do? While VMM certainly makes automation much easier, you can achieve a good level of automation with PowerShell and the applicable PowerShell modules for Hyper-V, clustering, storage, and more.

Are you looking to get grips with automation and scripting?

Join Thomas Maurer, Microsoft Datacenter and Cloud Management MVP, who will use this webinar to show you how to achieve automation in your Hyper-V environments, even if you don’t have SCVMM.

Remember, any task you have to do more than once, should be automated. Bring some sanity to your virtual environment by adding some scripting and automation know-how to your toolbox.

We’re live on Thursday, 10th December 2015 at 10am EST / 4PM CET (30-45mins + live Q&A!)

webinar-Join-button-scripting-automation

The post WEBINAR: Scripting & Automation in Hyper-V without SCVMM appeared first on Tech-Coffee.

]]>
//www.tech-coffee.net/webinar-scripting-automation-in-hyper-v-without-scvmm/feed/ 0 4286
Windows Azure Pack – SMA installation //www.tech-coffee.net/windows-azure-pack-sma-installation/ //www.tech-coffee.net/windows-azure-pack-sma-installation/#comments Wed, 01 Oct 2014 12:27:36 +0000 //www.tech-coffee.net/?p=2509 SMA (Service Management Automation) is a feature that enables to automate tasks in your private cloud from the Windows Azure Pack. SMA is included in the Orchestrator ISO. Three components are needed to run SMA for Windows Azure Pack: SMA Web Services – This is a REST Endpoint used by the Windows Azure Pack to ...

The post Windows Azure Pack – SMA installation appeared first on Tech-Coffee.

]]>
SMA (Service Management Automation) is a feature that enables to automate tasks in your private cloud from the Windows Azure Pack. SMA is included in the Orchestrator ISO. Three components are needed to run SMA for Windows Azure Pack:

  • SMA Web Services – This is a REST Endpoint used by the Windows Azure Pack to connect to the SMA service.
  • SMA RunBook Workers – This is the process that runs jobs;
  • SQL Database – Store runbooks, jobs, and activities.

Architecture

The below schema describes how each components interact. The Windows Azure Pack is connected via HTTP protocol to the Web Service. This last is connected to the SQL database and so can submit requests and return results to the Windows Azure Pack. Regarding Runbook Workers, they run jobs described in the runbooks.

SMA can be deployed highly available as described in the below schema:

Multiple SMA web service can be deployed behind a load balancer as an F5 appliance. The SMA database supports AlwaysOn to ensure the database high availability. To finish multiple Runbook Worker can be deployed.

Requirements

The requirements described below come from this TechNet topic.

Hardware

Performance component

Recommendation

Virtual machines

Three, each with a runbook worker and web service installed

Load-balanced incoming traffic

Minimum of two cores and 4 GB of RAM for each virtual machine

60 GB of available disk space

SQL Server

One computer with 8 GB of RAM and eight cores

Note

One month of data under heavy load (12 jobs per minute for a month) results in 20 GB of disk space usage. Job purging should be used to keep this usage from growing beyond this amount.

Software

Role

Prerequisites

Runbook worker

Windows Server 2012 R2

Windows PowerShell 4.0

Automation web service

Windows Server 2012 R2

SQL Server 2012 (not Express edition)

Internet Information Services (IIS) 7.5 (hosts the web service)

IIS Basic Authentication

IIS Windows Authentication

IIS URL Authorization

ASP.NET 4.5

.NET Framework 3.5 (for the Setup program)

.NET Framework 4.5

WCF HTTP Activation

Install-WindowsFeature Web-Server, Web-Basic-Auth, Web-Windows-Auth, Web-Url-Auth, Web-Asp-Net45, NET-Framework-Core, Net-Framework-45-Core, NET-WCF-HTTP-Activation

Windows PowerShell module

Windows PowerShell 4.0

Security

Role

Requirement

Runbook worker

None

Automation web service

Default value: 9090. Configurable at install time port defaults to 9090. The installation program for Service Management Automation automatically opens the web service port on the local firewall.

A certificate that can be used for Secure Sockets Layer (SSL) encryption over HTTPS. The installation program for Service Management Automation can be used to generate a self-signed certificate.

Windows PowerShell module

None

SMA Installation

Web services installation

The first service to install is the SMA web service. To install the web service, mount the media of Orchestrator. Once you have run the SetupOrchestrator.exe, click on Web Service in the Service Management part:

Next click on install.

Next enter the registration information and the product key.

Then accept the license terms.

If you have not installed all the prerequisites as me, you can run the below PowerShell script:

Install-WindowsFeature Web-Server, Web-Basic-Auth, Web-Windows-Auth, Web-Url-Auth, Web-Asp-Net45, NET-Framework-Core, Net-Framework-45-Core, NET-WCF-HTTP-Activation45

Once all prerequisites are installed, click on next J.

Next specify database information as below:

Then specify the security groups and the credentials for the Application Pool.

Next specify the Web Service port number and the server certificate. I use a certificate generated by my PKI from the certificate template Web Server.

After that, specify the installation folder:

Then configure the CEIP and the Microsoft Update setting.

And to finish, click on install.

Runbook worker installation

Now that the Web Service is installed, we run again the SetupOrchestrator.exe  on the Orchestrator media to install a Runbook Worker.

On the next screen click on Install.

Specify the production registration information and click on next.

Then accept the license terms and click on next.

Once your prerequisites are validated, click on next.

Specify database server information. These information should be the same that you have specified in the web service installation.

Next specify a service account and click on next.

Choose an installation folder and click on next.

Then configure the CEIP and the Microsoft Update setting.

To run the installation, click on install J.

Connect Windows Azure Pack to SMA

Now that all components of SMA are installed, connect to the Windows Azure Pack administration portal and navigate to Automation.

Enter the service URL and the user name. Usually the service URL is the name of the server where you have installed the web service.

When the Windows Azure Pack is connected to the SMA web service, you should have something similar as below screenshot:

Now you can use SMA to automate your Private CloudJ.

The post Windows Azure Pack – SMA installation appeared first on Tech-Coffee.

]]>
//www.tech-coffee.net/windows-azure-pack-sma-installation/feed/ 6 2509