#MOM is back but with more and better options #MOMS Microsoft Operations Management Suite #OMS #MSIgnite #Azure   Leave a comment

Announcing Microsoft Operations Management Suite. At Ignite Microsoft called the OMS this will be the mother of all Monitoring in and around the clouds. With a lot of Free options so why paying for Monitoring as you can see the state of your servers a a great view or custom dashboard. As OMS is a great too the get quick insight info and check if the Configuration is followed by the best practice guidance.

Microsoft Operations Management Suite
 

Operations Management Suite webpage :

The Microsoft Operations Management Suite is the IT management solution for the era of the cloud; a single solution, built to manage your entire enterprise environment regardless of location, operating system, hypervisors, or cloud provider choices. Operations Management Suite manages your Windows and Linux workloads across your datacenter, Azure, Amazon Web Services (AWS), OpenStack, and VMware environments, incorporating cloud-scale resources to unlock new, faster ways to solve and prevent problems building. Through this rich platform powered by Azure, Operations Management Suite delivers a unified IT management solution enabling you to:

  • Gain visibility across your hybrid enterprise cloud: Collect and analyze log data from virtually any source, and turn it into real-time operational intelligence.
  • Orchestrate complex and repetitive operations: Automate manual and frequently repeated tasks for more efficient and cost-effective hybrid cloud management.
  • Ensure data integrity and application availability: Backup and enable integrated recovery for all your servers and applications, no matter where they reside.
  • Secure your workloads, servers, and users: Identify malware status and missing system updates. Collect security-related events for analysis.

Microsoft Operations Management Suite

As you can see OMS is not only bound to the Microsoft cloud.

Complements your System Center investment to unleash new management scenarios. As System Center continues to drive faster time to value, OMS extends its capability to deliver a full hybrid management experience across any datacenter or cloud. Integrate with ease, and use the power of your System Center environment to access new management technologies faster.

 

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

Manage Azure with System Center 2012 R2 Virtual Machine Manager #SCVMM 2012 R2 #UR6   Leave a comment

With Update Rollup 6 for System Center 2012 R2 Virtual Machine Manager (VMM 2012 R2 UR6) you have the option to manage Azure Virtual machines.

What you can do with this feature
If you already manage your on-premises virtual machines in Virtual Machine Manager, you can use this feature to perform some very basic actions on Azure instances without leaving the VMM console. For example, you can do the following:

  • Add or remove one or more Azure subscriptions by using the VMM console.
  • See a list view of details and statuses of all role instances in all deployments in that subscription.
  • Manually update the list of instances.
  • Perform the following basic actions on the instances:
    • Start
    • Stop
    • Shutdown
    • Restart
    • Connect through RDP

 

image

I tried to get this done all by PowerShell but it failed on me during lack of time to test this.

So basically you need a Azure Management Certificate

image

What you need to do is create a Certificate We use makecert and as you need the whole studio for just the makecert you can download the file from my onedrive http://1drv.ms/1GMrelk

What we need is just a display name , azure Subscription ID and a Certificate.

image

In my example you will need the Azure PowerShell Module.

You can download and install the Azure PowerShell modules by running the Microsoft Web Platform Installer. When prompted, click Run. The Web Platform Installer installs the Azure PowerShell modules and all dependencies. Follow the prompts to complete the installation.

First we make a self signed Certificate.

c:\makecert -sky exchange -r -n "CN=clustermvpazureFake" -pe -a sha1 -len 2048 -ss My "c:\clustermvpazureFake.cer"

Now that I have a Certificate I can upload this in my personal store.

Import-Certificate -FilePath "c:\clustermvpazureFake.cer" -CertStoreLocation ‘Cert:\currentuser\My’ -Verbose

image

sure you can do this manually but this is faster.

the next step is get my subscription ID

The basic steps to get my subscription is always the same get my publish file an list all my subscriptions

Import-Module Azure
Import-Module "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\Azure\Azure.psd1"
Get-AzurePublishSettingsFile
Import-AzurePublishSettingsFile "c:\azureapril.publishsettings"
Get-AzureSubscription

Selecting my Subscription.

Select-AzureSubscription "MVP-Cluster"

 

Getting my ID in just some easy steps I get my ID

$getauzsub= Get-AzureSubscription | Where-Object {$_.Subscriptionname  -eq "MVP-Cluster"}
$azuresubid = $getauzsub.SubscriptionId
$azuresubid

This ID You can copy past this from the PowerShell into the GUI and selecting my certificate that we just created and imported in the store.

 

image

 

image

And As you will get a warning : The Subscription could not be authenticated by azure. Ensure that your Certificate and Subscription ID are valid.

image

We forgot to Upload the Certificate to Azure.

As there are many post on the web to upload the management certificate with PowerShell it all failed on me. So we upload the certificate by hand.

Set-AzureSubscription -SubscriptionName $azuresubname -SubscriptionId $azuresubid -Certificate $getCert

 

Uploading the just created Certificate to Azure.

In the Azure portal go to settings on the bottom and select management Certificates

image

And on the bottom there is an upload option you can select the Certificate and the subscription just make sure this will be the same as in the VMM console

image image

Now that the certificate is uploaded we go back to the VMM console and press finish and in a few seconds the Azure content is loaded in the VMM Console.

and Easy starting and stopping with the RDP is there real handy one step closer a a real hybrid Cloud.

image

 

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

Register to attend the #Microsoft #MVP #Virtual #Conference #May 14th &15th #MVPvConf @MVPAward #FridayReads   Leave a comment

The MVP Virtual Conference (MVP V-Conf) is a new, virtual, 2-day event that showcases how the best and brightest independent technology experts are using Microsoft technologies today. Tune in and see what the community of power users are saying about the mobile-first, cloud-first world of possibility with Microsoft re-imagined.

These sessions will be presented by Americas’ Region Microsoft Most Valuable Professionals (MVPs), who are exceptional community leaders who are passionate about sharing their real-world knowledge of Microsoft products with their IT Pro, developer and consumer communities around the world.

The theme of this first conference is “The Power of Community” where we will showcase how the community can help one another learn, thrive and grow, and demonstrate how Microsoft’s MVPs shape these technical communities.

Be sure to register quickly to hold your spot and tell your friends & colleagues.

The conference will be widely covered on social media, you can join the conversation by following @MVPAward and using the hashtag #MVPvConf.

MVP Virtual Conference

Register now and feel the power of community!

http://mvp.microsoft.com @clustermvp

 

MVP V-Conf will be a live event broadcast on May 14th and May 15th, 2015. Sign up for sessions in English, Spanish or Portuguese tracks that span IT Professional, Developer and Consumer topics.

  • IT Pro Track
  • Developer Track
  • Consumer Track
  • LATAM Track (Spanish)
  • Brazil Track (Portuguese)

Happy clustering

Robert Smit

follow me : @clusterMVP

https://robertsmit.wordpress.com

MVP Profile : http://mvp.microsoft.com

Posted April 24, 2015 by Robert Smit [MVP] in Microsoft Most Valuable Professional, MVP Award

Tagged with

PowerShell Virtual Machine Replication Using Hyper-V Replica #cloud #scvmm #Microsoft   Leave a comment

As we Created a VM in SCVMM and this VM is placed on a cluster I want to Replicate this to an other Hyper-v Cluster just for DR.

The Script can be found here Enable Replication VM for Hyper-v Cluster

https://gallery.technet.microsoft.com/Enable-Replication-VM-for-b58bd250

image

First we set the Variables

# Variable
$SourceHV= "MVPTENANT001"
$ReplHV= "MVPTENANT011"
$DRVM= "MVPLOADTEST01"

The fist stepes are just checking if you already have a VM that is replicated and if there are any errors.

# Replica info
Get-Command –Module Hyper-V *repl*

# get current status
Get-VMReplication

#get repl server status settings
Get-VMReplication –ReplicaServerName $ReplHV

#get ReplicationHealth status
Get-VMReplication –ReplicationHealth Normal
Get-VMReplication –ReplicationHealth Warning

#get repl server
Get-VMReplicationServer $ReplHV
Get-VMReplication -ComputerName $SourceHV | Format-List *

(1..2) | % {get-VMReplicationServer –ComputerName MVPTENANT01$_} | Format-Table repenabled, authtype, intauth, certauth, anyserver, moninterval, monstarttime, computername

 

 

image

Now that we have checked that the Replication is Configured we can start creating the Replication

#Set-VMReplicationServer
enable-VMReplication –VMname $DRVM –ReplicaServerName $ReplHV –ReplicaServerPort 80 -AuthenticationType Kerberos

image

when Checking the Replication Settings in the cluster we can see the replication is enabled. Now we can start the replication

#start init Replication
Start-VMInitialReplication –VMName $DRVM

to see if the replication is started we do some checking

#show status
Measure-VMReplication
Get-VMReplication | Format-List *

image

After the initial replication it will follow the default replication schedule.

image

 

As these are just simple steps you can expand this to a bigger volume.

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

Posted April 17, 2015 by Robert Smit [MVP] in Azure Pack, Hyper-V

Tagged with ,

PowerShell Creating and Deploying Virtual Machines in VMM for Azure Pack #wapack #cloud #scvmm #Microsoft   Leave a comment

Now that More and more customers are using SCVMM and with Clustering. I decided that I should post some helpful easy PowerShell scripts.

Ok I’m no Posh MVP the scripts are working and will get you started with things.

The First script I post is a Create a Virtual Machine with Powershell Based on a VHDX that is also used for VMM.

The Script can be found here  “Powershell Script to Create Hyper VM and copy syspreped VHDX to CSV “ it is still a GEN 1 VM!

https://gallery.technet.microsoft.com/Powershell-Script-to-b3ca124b

image

First we do set some variables for the script

# Variable
$vm= "MVPLOADTEST01"
$SMBShare= "SMBVM01"
$CPU= 2
$mem= 4GB
$HVcluster= "MVPTENANT001"
$VlanID= 1234
$HVswitch="Tenant Switch"

Next step is create a new VM and place this on the SMB share

# Create New VM
New-VM -Path \\MVPSofs001\$SMBShare\ -Name $vm -Generation 1 -newVHDPath "\\MVPSofs001\$SMBShare\$vm\Virtual Hard Disks\$VM.VHDX" -NewVHDSizeBytes 5GB -SwitchName $HVswitch -Memory 4GB

As the Disk is just a place holder and will be replaced by my template.

#VM adjustments Dynamic or Fixed
# Set-VM -Name $vm -DynamicMemory -MemoryMaximumBytes 4GB -MemoryMinimumBytes 4GB -MemoryStartupBytes 4GB -ProcessorCount 2
Set-VM -Name $vm -StaticMemory -MemoryStartupBytes "$mem" -ProcessorCount "$CPU"

Set a Vlan if needed else use the #

# Set VLAN
Set-VMNetworkAdapterVlan –VMName $vm -Access –VlanId $vlanid
#Get-VMNetworkAdapterVlan

Now that the VM is in place and connected I’ll replace the placeholder disk and use my own syspreped disk. from the SCVMM library

# Copy Template Disk
Copy-Item -Path "\\MVPSofs001\VMMLibrary\Templates\2012R2RU2.*" -Container -Destination "\\MVPSofs001\$SMBShare\$vm\Virtual Hard Disks\$vm _Disk_C.vhdx" -Recurse

# Remove Old Disk
Remove-VMHardDiskDrive -VMName $vm -ControllerType IDE -ControllerLocation 0 -ControllerNumber 0

# Add syspreped disk
Add-VMHardDiskDrive -VMName $vm -path "\\MVPSofs001\$SMBShare\$vm\Virtual Hard Disks\$vm _Disk_C.vhdx" -ControllerType IDE -ControllerLocation 0 -ControllerNumber 0

Or if you need More harddisks use this

# Add-VMHardDiskDrive -VMName $vm -path "\\MVPSofs001\$SMBShare\$vm\Virtual Hard Disks\$vm _Disk_D.vhdx" -ControllerType SCSI

# Delete Old Disk
Remove-Item -Path \\MVPSofs001\$SMBShare\$vm\Virtual Hard Disks\$vm.vhdx

#Add VM TO Cluster
Get-VM $vm | Add-VMToCluster -Cluster $HVcluster
Start-VM $vm

Easy Step by Step with a HA VM

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

PowerShell Place custom VM into Windows Azure Pack Subscription #wapack #cloud #scvmm #Microsoft   Leave a comment

During migrations there is always the trouble of all those settings and things to do before everything is running smoothly.

Well during my migration I needed to move several Machines to a private cloud subscription in Azure Pack.

As I’m not the Biggest Powershell Guru I like to keep things simple and I’m a big fan of the “ select Name “  and the  “ Out-GridView “

Options these options give you much more detail and make powershell a but more GUI ( don’t shoot )

#Set your SCVMM server and use -ForOnBehalfOf to make use of Service Provider Foundation.
Import-Module -Name virtualmachinemanager
$VMMSERVER = Get-SCVMMServer -ComputerName YOUR OWN VMM Server-ForOnBehalfOf

#Select WAP Cloud
$Cloud = Get-SCCloud -Name (Get-SCCloud | select Name | Out-GridView -Title "Select WAP Cloud" -PassThru).Name

#Select Select WAP User Subscription
$User = (Get-SCUserRole | Where-Object Cloud -Match $Cloud).Name | Out-GridView -PassThru -Title "Select WAP User Subscription"

# Show WAP Subscription User
$WAPUserrole = Get-SCUserRole | Where-Object Cloud -Match $Cloud | Where-Object Name -Like $User*
$WAPUserrole |ft name

# Select Single VM to WAP
$WAPVM = (Get-SCVirtualMachine ($Cloud | Get-SCVirtualMachine | select Name | Out-GridView -Title "Select Single VM to WAP" -PassThru).Name)

image

 

# show Selected VM to WAP Subscription
$WAPVM|ft name

#Place VM in WAP Subscription
Set-SCVirtualMachine -VM $WAPVM –UserRole $WAPUserrole –Owner $User

As there is a pick list there is no typo there when moving the VM

When Checking the Windows Azure Portal you will see after a refresh a VM that is migrated to Azure Pack.

 

image

Happy clustering

Robert Smit

@clusterMVP

https://robertsmit.wordpress.com

The postman rings 7 times Microsoft Most Valued Professional Award – Robert Smit renewal for 2015 @Ordina @MVPAward   Leave a comment

 

image

I’m Proud to receive my 7th Award, This year there are a lot of new Product and this will be the baseline for the mvpNext Award as It opens up doors and creates opportunities. And as an Consultant I can’t be only working with Clusters but also a lot with the surrounded Products. System Center,Azure Pack and Azure hybrid. Things are getting more complicate that the old on premise racks Connectivity is key.

Microsoft Most Valued Professional Award – Robert Smit renewal for 2015 While there are more than 100 million social and technical community members, only a small portion are selected to be recognized as MVPs. Each year, around 4,000 MVPs are honored. They are nominated by Microsoft, other community individuals, or in some cases themselves. Candidates are rigorously evaluated for their technical expertise, community leadership, and voluntary community contributions for the previous year. They come from more than 90 countries, speak over 40 different languages, and are awarded in more than 90 Microsoft technologies. Together, they answer more than 10 million questions a year!

 

A big thanks to the Community who read my blog Twitter ,Facebook ,linked in etc THANKS!

And how Cool is that to see your self on the Billboard Winking smile with my Fellow Cluster MVP Friends.  Thanks.

 

Microsoft Most Valued Professional Award – Robert Smit renewal for 2015 Microsoft Most Valued Professional Award – Robert Smit renewal for 2015 Microsoft Most Valued Professional Award – Robert Smit renewal for 2015

See my MVP Profile here http://mvp.microsoft.com/en-us/mvp/Robert%20Smit-4025011

Robert Smit is Ordina’s Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009. Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries. Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications: MCT – Microsoft Certified Trainer, MCTS – Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization.

 

Microsoft Most Valued Professional Award – Robert Smit renewal for 2015 Microsoft Most Valued Professional Award – Robert Smit renewal for 2015

Follow Me on Twitter @ClusterMVP

Follow My blog https://robertsmit.wordpress.com

Linkedin Profile Http://nl.linkedin.com/in/robertsmit

 

Happy Clustering!

Robert Smit

Posted April 14, 2015 by Robert Smit [MVP] in MVP Award

Tagged with

  • Twitter

  • Follow

    Get every new post delivered to your Inbox.

    Join 1,609 other followers

    %d bloggers like this: