Veeam Managed Backup Portal for Service Providers

Yesterday Veeam announced the new Veeam Managed Backup Portal for Service Providers at VeeamON in Las Vegas. The new product is a multi-tenant, web-based portal for reseller and in combination with Veeam Cloud Connect it delivers a new way to deliver BaaS and DRaaS.

The interface has two views, one Reseller/Service Provider view and one for the end costumer. It makes the whole cloud connect infrastructure more easy managabale and delivers a great view into the details like used ressources, quotas…without the need of having a VPN connection to the ondemand datacenter.

Check out more infos at Veeam’s website: http://bit.ly/1P2l8iW

Advertisements

Cisco UCS Manager PowerTool – Sample Script

With the following script I want to give you a starting point to work with the Cisco UCS Manager PowerTool to configure and install Cisco UCS fabric interconnects. The script is based on experience and created with the PowerTool record function. You can find details on that in one of my previous posts.

Please keep in mind that no warranty is provided with the script below. Be always careful when working on production systems.

#Login to UCS
$user = "ucspe"
$password = "ucspe" | ConvertTo-SecureString -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($user, $password)
$servers = "192.168.200.2"
Connect-Ucs $servers -Credential $cred 

#Change FC Uplink Ports on Interconnect A ATTENTION: Reboot required
Start-UcsTransaction
Get-UcsFiSanCloud -Id "A" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 45 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "A" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 46 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "A" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 47 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "A" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 48 -SlotId 1 -UsrLbl ""
Complete-UcsTransaction

#Change FC Uplink Ports on Interconnect A ATTENTION: Reboot required
Start-UcsTransaction
Get-UcsFiSanCloud -Id "B" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 45 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "B" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 46 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "B" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 47 -SlotId 1 -UsrLbl ""
Get-UcsFiSanCloud -Id "B" | Add-UcsFcUplinkPort -ModifyPresent  -AdminState "enabled" -FillPattern "arbff" -Name "" -PortId 48 -SlotId 1 -UsrLbl ""
Complete-UcsTransaction

#################Reboot#################

#Setting the default Maintanance Policy to user-ack
Get-UcsOrg -Level root | Get-UcsMaintenancePolicy -Name "default" -LimitScope | Set-UcsMaintenancePolicy -Descr "" -PolicyOwner "local" -SchedName "" -UptimeDisr "user-ack" -force

#Add DNS Server 
Add-UcsDnsServer -Descr "" -Name "192.168.200.10"

#Add Timeserver 
Add-UcsNtpServer -Descr "" -Name "192.168.200.10"

#Change Timezone 
Get-UcsTimezone | Set-UcsTimezone -AdminState "enabled" -Descr "" -PolicyOwner "local" -Port 0 -Timezone "Europe/Berlin" -Force

#Creation of UCS Portchannel to Chassis and change Power Policy to Grid
Start-UcsTransaction
Get-UcsOrg -Level root | Get-UcsPowerControlPolicy | Set-UcsPowerControlPolicy -Descr "" -PolicyOwner "local" -Redundancy "grid"
Get-UcsOrg -Level root | Get-UcsChassisDiscoveryPolicy | Set-UcsChassisDiscoveryPolicy -Action "4-link" -Descr "" -LinkAggregationPref "port-channel" -Name "" -PolicyOwner "local" -Rebalance "user-acknowledged"
Complete-UcsTransaction

#Creation of vSANs
Get-UcsFiSanCloud -Id "A" | Add-UcsVsan -FcZoneSharingMode "coalesce" -FcoeVlan 3002 -Id 3001 -Name "<VSANNAME>" -PolicyOwner "local" -ZoningState "disabled"
Get-UcsFiSanCloud -Id "B" | Add-UcsVsan -FcZoneSharingMode "coalesce" -FcoeVlan 3004 -Id 3003 -Name "<VSANNAME>" -PolicyOwner "local" -ZoningState "disabled"
Get-UcsFiSanCloud -Id "A" | Get-UcsVsan -Name "<VSANNAME>" | Add-UcsVsanMemberFcPort -ModifyPresent -AdminState "enabled" -Name "" -PortId 32 -SlotId 1 -SwitchId "A"
Get-UcsFiSanCloud -Id "B" | Get-UcsVsan -Name "<VSANNAME>" | Add-UcsVsanMemberFcPort -ModifyPresent -AdminState "enabled" -Name "" -PortId 32 -SlotId 1 -SwitchId "B"

#Setting Ports 1-4 per Interconnect to Server Port for Chassis
Get-UcsFabricServerCloud -Id "A" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 1 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "A" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 2 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "A" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 3 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "A" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 4 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "B" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 1 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "B" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 2 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "B" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 3 -SlotId 1 -UsrLbl ""
Get-UcsFabricServerCloud -Id "B" | Add-UcsServerPort -AdminState "enabled" -Name "" -PortId 4 -SlotId 1 -UsrLbl ""

#UplinkPorts LAN
Get-UcsFiLanCloud -Id "A" | Add-UcsUplinkPort -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "" -PortId 43 -SlotId 1 -UsrLbl ""
Get-UcsFiLanCloud -Id "A" | Add-UcsUplinkPort -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "" -PortId 44 -SlotId 1 -UsrLbl ""
Get-UcsFiLanCloud -Id "B" | Add-UcsUplinkPort -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "" -PortId 43 -SlotId 1 -UsrLbl ""
Get-UcsFiLanCloud -Id "B" | Add-UcsUplinkPort -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "" -PortId 44 -SlotId 1 -UsrLbl ""

#Creating LAN PortChannel
Start-UcsTransaction
$mo = Get-UcsFiLanCloud -Id "A" | Add-UcsUplinkPortChannel -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "toN5K-A" -OperSpeed "10gbps" -PortId 1
$mo_1 = $mo | Add-UcsUplinkPortChannelMember -ModifyPresent -AdminState "enabled" -Name "" -PortId 43 -SlotId 1
$mo_2 = $mo | Add-UcsUplinkPortChannelMember -ModifyPresent -AdminState "enabled" -Name "" -PortId 44 -SlotId 1
Complete-UcsTransaction

Start-UcsTransaction
$mo = Get-UcsFiLanCloud -Id "B" | Add-UcsUplinkPortChannel -AdminSpeed "10gbps" -AdminState "enabled" -FlowCtrlPolicy "default" -Name "toN5K-B" -OperSpeed "10gbps" -PortId 1
$mo_1 = $mo | Add-UcsUplinkPortChannelMember -ModifyPresent -AdminState "enabled" -Name "" -PortId 43 -SlotId 1
$mo_2 = $mo | Add-UcsUplinkPortChannelMember -ModifyPresent -AdminState "enabled" -Name "" -PortId 44 -SlotId 1
Complete-UcsTransaction

#Deleting the Default Pools
Get-UcsOrg -Level root | Get-UcsUuidSuffixPool -Name "default" -LimitScope | Remove-UcsUuidSuffixPool -Force
Get-UcsOrg -Level root | Get-UcsServerPool -Name "default" -LimitScope | Remove-UcsServerPool -Force
Get-UcsOrg -Level root | Get-UcsMacPool -Name "default" -LimitScope | Remove-UcsMacPool -Force
Get-UcsOrg -Level root | Get-UcsIqnPoolPool -Name "default" -LimitScope | Remove-UcsIqnPoolPool -Force
Get-UcsOrg -Level root | Get-UcsWwnPool -Name "node-default" -LimitScope | Remove-UcsWwnPool -Force
Get-UcsOrg -Level root | Get-UcsWwnPool -Name "default" -LimitScope | Remove-UcsWwnPool -Force

#Changing the default iscsi Pool
Get-UcsOrg -Level root | Get-UcsIpPool -Name "iscsi-initiator-pool" -LimitScope | Add-UcsIpPoolBlock -From "1.1.1.1" -To "1.1.1.1"

#Creation of VLANs
Get-UcsLanCloud | Add-UcsVlan -Name LAN -Id 11
Get-UcsLanCloud | Add-UcsVlan -Name DMZ -Id 20


##############Creation of Pools##############
#Creation of ext-MGMT Pool
Get-UcsOrg -Level root | Get-UcsIpPool -Name "ext-mgmt" -LimitScope | Add-UcsIpPoolBlock -DefGw "192.168.175.254" -From "192.168.175.170" -PrimDns "192.168.200.10" -To "192.168.175.185"

#Creation of UUID Pool
Start-UcsTransaction
$mo = Get-UcsOrg -Level root | Get-UcsOrg -Name "<NAME>" -LimitScope | Add-UcsUuidSuffixPool -AssignmentOrder "default" -Descr "" -Name "<NAME>" -PolicyOwner "local" -Prefix "derived"
$mo_1 = $mo | Add-UcsUuidSuffixBlock -From "0002-000000000001" -To "0002-00000000003C"
Complete-UcsTransaction

#Creation of MAC-Pool
Start-UcsTransaction
$mo = Get-UcsOrg -Level root | Get-UcsOrg -Name "<NAME>" -LimitScope | Add-UcsMacPool -AssignmentOrder "default" -Descr "" -Name "<NAME>" -PolicyOwner "local"
$mo_1 = $mo | Add-UcsMacMemberBlock -From "00:25:B5:21:00:00" -To "00:25:B5:21:00:C8"
Complete-UcsTransaction

UPDATE: Veeam Backup & Replication 8.0 Update 3

Since today Veeam Backup & Replication 8.0 Update 3 is availiable for download.

New Features and Enhancements (copyright by veeam.com)

Microsoft

  • Support for Windows 10 as guest virtual machines (VMs), including application-aware processing.
  • Support for installation of Veeam Backup & Replication and all of its components on Windows 10.

VMware

  • Support for vSphere 6.0 Update 1.
  • Added ability to convert “VMware Tools not found” job warning to informational event. To enable this behavior, set DisableVMwareToolsNotFoundWarning (REG_DWORD) registry value to 1.

Linux

  • Support for the following additional SSH ciphers: aes128-ctr, aes192-ctr, aes256-ctr, aes192-cbc and aes256-cbc.

Veeam Explorer for Microsoft SQL Server

  • Log truncation is automatically skipped for stopped and unsupported SQL Server instances to prevent errors from being logged.
  • Preferred network settings will now also apply to transaction log backup jobs.
  • Support for SQL Servers using non-standard port number.

Veeam Explorer for SharePoint

  • Support for ADFS authentication.
  • Support for UPN credentials.

SureBackup

  • Proxy appliance will now respond to ping from within Virtual Lab to prevent firewalls automatically blocking its network as public.

Other

  • Removed weakly encrypted username and password logging from guest processing components using networkless (VIX) guest interaction mode. Veeam thanks Pasquale Fiorillo and Francesco Ongaro of ISGroup for vulnerability discovery.
  • Improved performance of certain user interface operations, such as opening Backups node in large environments.
  • Reduced load on SQL Server hosting product configuration database, while improving SQL interaction reliability in large environments.
  • Improved performance of configuration backup in large environments.
  • Minor enhancements and bug fixes in various product areas.

 

Link for download: http://www.veeam.com/kb2068

Cisco UCS powershell command recording how to with Cisco UCS PowerTool

Cisco UCS is the market leading blade technology right now. With UCS you are able to virtualize your hardware by abstracting components like HBAs, NICs, BIOS or even MAC and WWPN addresses. Every relevant component is configured in policies and bundled to service profiles. In this post I don’t want to tell the details around UCS as there are more than enough blog posts out there in the World Wide Web. I want to show you a very nice tool which can help you a lot in installing and configuring a UCS environment.

For Cisco UCS there is a Cisco UCS PowerTool available which is extremely powerful. With my experience I would say you’re able to execute about 90% of the administration tasks on the toolkit. But I don’t want to talk about the possibility to use a powershell toolkit as most of the enterprise vendors deliver some kind of powershell integration. With the toolkit you are able to record your clicks in the UCS manager. You may ask why this is a benefit. By recording the clicks you will get a full export of all your settings in a powershell format. Meaning you can configure a UCS once and then reuse the most common commands for the next one to finish the work much faster. You can download the toolkit with your Cisco login under the following link: https://communities.cisco.com/docs/DOC-37154

How does it look like?

First open the PowerTool.
2015-09-23 16_33_03-192.168.178.214 - Remote Desktop Connection

After you open the Cisco UCS PowerTool there is a command called
“Connect-Ucs”. With this command you connect the powershell toolkit to your UCS manager:
2015-09-23 16_33_12-192.168.178.214 - Remote Desktop Connection
2015-09-23 16_33_38-192.168.178.214 - Remote Desktop Connection

The following output shows how it looks like after you are connected:
2015-09-23 16_33_47-192.168.178.214 - Remote Desktop Connection
After you are connected to the UCS manager you can execute the command “ConvertTo-UcsCmdlet” to start recording:
2015-09-23 16_36_05-192.168.178.214 - Remote Desktop Connection

Right after that you can open your UCS manager. Now that your UCS manager is opened just try to configure a MAC address pool.
2015-09-23 16_42_20-192.168.178.214 - Remote Desktop Connection 2015-09-23 16_42_54-192.168.178.214 - Remote Desktop Connection

As soon as your pool is created you will see the powershell command which is needed to create the tool by cli on the open powershell window. Just copy and paste the line to a editor and safe it for later. With that functionality you can build up a script for a base configuration of UCS very quickly. So it becomes quite easy to install and configure new systems or even create new pools or adapter.

By using powershell you can eliminate problems like wrong names or different configurations on different systems very easily and at the end you have a documentation where you can see at any time what was executed.

TIP: User the UCS emulator to create your scripts. It can be found here: https://communities.cisco.com/docs/DOC-37827

I hope this post helps you in your daily business.