101 – vZilla https://vzilla.co.uk One Step into Kubernetes and Cloud Native at a time, not forgetting the world before Tue, 25 Aug 2020 17:53:35 +0000 en-GB hourly 1 https://wordpress.org/?v=6.9.1 https://vzilla.co.uk/wp-content/uploads/2018/01/cropped-profile_picture_symbol-32x32.png 101 – vZilla https://vzilla.co.uk 32 32 Getting your XFS Repository set up for some block cloning https://vzilla.co.uk/vzilla-blog/getting-your-xfs-repository-set-up-for-some-block-cloning https://vzilla.co.uk/vzilla-blog/getting-your-xfs-repository-set-up-for-some-block-cloning#respond Thu, 20 Aug 2020 14:00:24 +0000 https://vzilla.co.uk/?p=2349 Way back when Veeam Backup & Replication v10 was released, there was a lot of new features and functionalities focused around the Linux ecosystem, this ranged from the ability to now leverage Linux Proxies in hot add mode to protect your VMware virtualised environment, on top of that the ability to use NFS repositories, well this was possible pre v10 but it required a middle man to achieve this, the middle man I mention is where we required a Linux server to write the data to the NFS share, ideal for some smaller NAS devices. VIX for Linux was another important feature for file level restores, application aware processing etc.

The feature we want to talk about in this post though is the ability to leverage XFS as a backup repository (not new in v10) but with the ability to integrate into the block cloning technology or data block sharing feature of XFS also known as reflink. A similar story to Windows ReFS which there has been lot of content over the last few years in that space.

Using XFS and Block Cloning for a Veeam repository

As I mentioned before Windows ReFS integration came about a few years ago from a Veeam Backup & Replication point of view which brought some benefits to certain processes when it comes to the Veeam backup process. In general, what both block cloning technology enables is the ability to perform faster merges as well space less synthetic full backups.

Ultimately this will enable faster backup jobs (faster merges) and reduce space consumed when using synthetic full backups.

This post will be a short introduction into XFS and Ubuntu, we have been able to use XFS as a repository for years running on Ubuntu and other Linux distributions, this post will run through the adding a disk to an Ubuntu machine and getting things set and ready for taking advantage of this block cloning technology.

XFS as a file system is available on other distributions of Linux but the one being used here today is Ubuntu, requirements can be found here in the Veeam Help Centre.

Benefits of Block Clone for Backup Repository

I have already mentioned some of the benefits in previous sections but I think the visual concept of these benefits also are worth seeing, this YouTube video demo below is based on Windows ReFS but the concept is the same for those fast merges and space less synthetic full backups.

https://youtu.be/NndMBCDPBDY

more details from a Windows ReFS point of view is explained in this blog post.

Preparing your Ubuntu XFS repository

For the purposes of the demo I am using a virtual machine and I am going to add a disk to that virtual machine and then run through these steps, the same steps will apply for a physical Linux system to achieve the same thing.

We first need to add the new disk to our virtual machine, obviously you can use a previously added disk but you will be formatting this drive so please do take care before just running through some of the following steps especially if you are holding existing backups on the disk you are about to format.

Once added reboot the VM

Now that your system is back up and you are connected again run the following command, this will now show you your newly added disk.

fdisk -l

082020 1315 Gettingyour1

At this stage this disk is not mounted or useable, so we must run the following command, where /dev/sdc is label of your disk shown above.

Mkfs.xfs -b size=4096 -m reflink=1,crc=1 /dev/sdc

082020 1315 Gettingyour2

Next we need to create a mount point run the following command, I am using the name /backup you can choose to call this what you wish but advice is something relevant to what you will be storing in this extent.

mkdir /backup

to this point you will now have a useable disk where you can store data but on reboot this mount will be removed so we need to make it persistent across reboots. We can do this by inserting the new disk device and mount point to the following. Run the following command.

vi /etc/fstab
then hit I to insert
/dev/sdc    /backups    xfs    defaults    1 2

To commit these changes hit ESC and the following.

:wq

Now we can mount the new disk and file system using the following command.

mount /dev/sdc

Now just to confirm that you have your newly created disk and mount point type the following command.

df -h

Adding new XFS disk to Veeam Backup & Replication as a Backup Repository

Now we are ready to add the machine above into Veeam Backup & Replication so we can start sending our backups and take advantage of the data block sharing. First up we need to open the Veeam Backup & Replication console and navigate to Backup infrastructure and Backup Repositories and hit Add Repository you will then select direct attached storage and walk through the wizard below or edit if you previously had this machine added. Give the repository an appropriate name.

082020 1315 Gettingyour3

If this is a new Linux machine you will have to add the Linux box as a managed server if it already added, then it will be available in the drop down. When you add and you select populate you will see all the available paths that can be used, this also gives you the capacity and free space.

082020 1315 Gettingyour4

Next, we need to define the path to the folder we want to use for the backup repository, this is where we must remember to tick use fast cloning on XFS volumes.

082020 1315 Gettingyour5

The following screens to completion are to define the mount server, this is used for restoring scenarios so choose something close to the repository or use the local Veeam Backup & Replication server if all in the same environment. Then we have review, apply and the summary of what you have just created.

From here you can go and create your backup job and point your backups to land on the new repository. As part of the job configuration be sure to enable synthetic full. You will find this setting under storage, and advanced settings with the following window.

082020 1315 Gettingyour6

To confirm those space less synthetic full backups you can jump back onto the Linux machine and run the following command and see the space used.

dh -h

You should not be using root!

It was suggested that I should add a section on creating a specific user so that we are not just using the root account, I in fact do not just use the god mode to add the repository but I follow this process when creating or editing a repository server to be used within Veeam Backup & Replication. Aside from the obvious security issues with using root which works fine for most lab environments it is not going to be best practice for most organisations (this should be not best practice for any organisation)

Veeam only needs a regular user that has the correct permissions to be able to write to the specific repository folder. Sudo is not required and again why would it be based on the best practice I just mentioned. The best approach is to create a restricted user, set the appropriate required permissions and then set the repository folder to only that user.

I will also mention that I create my Ubuntu / CentOS boxes with a template using a more privileged account, depending on your distribution and how you are attaching disks or first starting here you may have to use sudo depending on your default access user to make the required Veeam accounts for repository use. But, the point is that Veeam does not require root access or sudo to your repository servers.

Creating the user

Useradd –d /home/veeam -m veeam
Passwd Veeam123!

(BYOP – Bring Your Own Password)

Configure the folder / repository permissions

Chown veeam.veeam /disk3/backups
Chmod 700 backups

Then when you go and add this repository server to Veeam Backup & Replication then you will add the Linux account and credentials like below

2020 08 25 18 30 27

Let’s show some savings

I am interested in people that have already gone down this route and those that are seeing some good savings from using XFS and Reflink. I know a number of Service Providers that have gone down this route. My ask is that if you can share your results and show us the savings. If you mail them to me Michael.Cade@veeam.com I will upload the results here to show the benefits from a real life scenario rather than just lab testing.

]]>
https://vzilla.co.uk/vzilla-blog/getting-your-xfs-repository-set-up-for-some-block-cloning/feed 0
Looking to add a YouTube channel to your RSS Feed? https://vzilla.co.uk/vzilla-blog/looking-to-add-a-youtube-channel-to-your-rss-feed https://vzilla.co.uk/vzilla-blog/looking-to-add-a-youtube-channel-to-your-rss-feed#respond Fri, 31 Jul 2020 13:55:01 +0000 https://vzilla.co.uk/?p=2319 I wanted to share this, and this is nothing new, really its for my own notes as I wanted to share my YouTube channel RSS feed in Microsoft Teams.

There are 4 steps you need to take.

Navigate to the YouTube channel you wish to add to your RSS feed.

073120 1353 Lookingtoad1

Next we need to view the page source code, right click anywhere on the page to get the context menu and select view page source.

073120 1353 Lookingtoad2

You will likely now see something like below,

073120 1353 Lookingtoad3

We then need to find the following text hit F3 or CNTRL + F and search for “channel-external-id”

073120 1353 Lookingtoad4

Get the value of the external ID and then you have your RSS feed URL

Replace that value into this URL:

https://www.youtube.com/feeds/videos.xml?channel_id=UC76WpBnpf9aEqxMqu-C9yIw

Then to add to teams but this works for any RSS feed software. Open Microsoft Teams and navigate to the channel you wish the RSS feeds to be mentioned. 3 dots in the top right will give you the context menu, select connectors to configure RSS

073120 1353 Lookingtoad5

You will then have a window that shows all available connectors if you have not done so already add the RSS connector and click configure.

073120 1353 Lookingtoad6

Simply give your feed a reference name and then paste the RSS feed URL we obtained earlier and a schedule in which you would like this to be checked for updates.

073120 1353 Lookingtoad7

This might help a few people out but wanted to add this here as I recently had to go searching for a solution.

]]>
https://vzilla.co.uk/vzilla-blog/looking-to-add-a-youtube-channel-to-your-rss-feed/feed 0
The Elgato Stream Deck – Resize screen resolution https://vzilla.co.uk/vzilla-blog/the-elgato-stream-deck-resize-screen-resolution https://vzilla.co.uk/vzilla-blog/the-elgato-stream-deck-resize-screen-resolution#comments Tue, 14 Jul 2020 10:58:25 +0000 https://vzilla.co.uk/?p=2285 A few months back I won a stream deck for my home office makeover that I have covered a few times here, I am not a streamer but anything that can automate and orchestrate my life to be easy is a win. This is what I have been doing with the stream deck whilst also checking out StreamLabs OBS and OBS for actual streaming content. I have buttons setup for zoom meetings, my Elgato Key Light Airs, some key web sites and tools I use daily and more than once and now this, which is related to screen resolution. If you want to see more of that setup then you can find more here.

The build

The final build & review

071420 1057 TheElgatoSt1

Those that followed #Project_Freddie this was the makeover for the home office and that included a 49″ ultrawide monitor, a lot of people have asked about this and it is a game changer, going from 2 x 27″ monitors to this is really nice, losing that bezel and gap down the middle is the best thing.

The Challenge

However, when you need to share your screen you are sharing a lot of real estate (3840 x 1080 to be precise) and if your audience doesn’t have the same or similar then this image is going to look very very small. Yes, people can use zoom functions to see it better on their end but that’s a lot of hassle.

071420 1057 TheElgatoSt2

The plan or outcome I needed was a way to change my resolution quickly, and by quickly I didn’t mean right click on my desktop, select display settings and then change the display resolution each and every time I needed to create a smaller looking desktop that is more readable for the audience. I mean that’s a lot of steps.

071420 1057 TheElgatoSt3

Finding a Tool

Keeping the stream deck option in the back of my head I had to find a program or a way in which to change between the full resolution and something more viewable. The best one I found was from 12noon called Display Changer, simple stuff.

Download this and it will be installed unless you state otherwise to the C:\Program Files (x86)\12noon Display Changer\ directory.

Now I only have one monitor so I only need to change one resolution at one time, this tool is also applicable and useful though if you have multiple monitors and there are commands you can use to list monitors and then define resolutions and other settings for each monitor.

After messing around in the command line for a bit with some settings I found that the following two commands were the settings I would like to flip between. The first one is the recommended resolution for the monitor and the second is the more viewable option when I am sharing my screen.

“C:\Program Files (x86)\12noon Display Changer\dc.exe” -width=3840 -height=1080 -refresh=max -depth=max

“C:\Program Files (x86)\12noon Display Changer\dc.exe” -width=1920 -height=1080 -refresh=max -depth=max

Running the above commands from the command line would in turn change the resolution, but who wants to run a command every time they want to change their resolution. Not I!

Stream Deck

Next up we want to take two of those little LED buttons and make them switches for my command above.

Open your stream deck software and you will see your deck with all your pretty LED button icons.

071420 1057 TheElgatoSt4

Next up find an icon to use here so that you can quickly identify what the button is going to do, a shout here to @ArtificialCC with the custom packs available here.

Choose your button option, for this to function correctly we need to use the System > Open button on the right hand side of the window.

071420 1057 TheElgatoSt5

Firstly, change the icon of the button so you can identify what the function button will do for you.

071420 1057 TheElgatoSt6

I then gave a name to mine, but likelihood is that once I am completely used to the icons I will remove the text, I find that the text is just too small and makes the clean icons not look as clear.

071420 1057 TheElgatoSt7

We then add in our command line that I showed previously to the App / File location as you can see below.

071420 1057 TheElgatoSt8

Repeat that step for as many resolution change buttons you want and then you can toggle between them for whatever reasons you have, I have also since found that this also helps when recording my YouTube content videos is that I can condense the whole resolution down, this helps with post edit.

The final look can be a quick and easy way to manipulate your screen resolution for the task you have.

071420 1057 TheElgatoSt9

And there was me thinking that maybe I need to have a second screen above, maybe a 32/34″ ultrawide curved screen… never say never.

If this was useful let me know, if you would like to see a walk-through video on how this was done end to end also let me know below.

]]>
https://vzilla.co.uk/vzilla-blog/the-elgato-stream-deck-resize-screen-resolution/feed 2
System Administrators – The emergency services of the IT world! https://vzilla.co.uk/vzilla-blog/system-administrators-the-emergency-services-of-the-it-world https://vzilla.co.uk/vzilla-blog/system-administrators-the-emergency-services-of-the-it-world#respond Wed, 01 Aug 2018 10:56:12 +0000 https://vzilla.co.uk/?p=1160 I am a few days late because I was away on annual leave, but wanted to put this out there anyway, System Administrators far and wide, Happy International SysAdmin day (for the 26th July).

This post will run through some true stories and scenarios that keep all of you on your toes on a daily basis as well as touch on some of the latest FREE tools from Veeam Software.

Introduction – Praise the sysadmin

080118 1049 SystemAdmin1

080118 1049 SystemAdmin2

080118 1049 SystemAdmin3

https://en.wikipedia.org/wiki/System_administrator

080118 1049 SystemAdmin4

080118 1049 SystemAdmin5

Downtime

Over the past 12 months we saw some major downtime events lead to lost revenue for several highly recognisable brands and caused a severe knock on effect to their consumer confidence and their brand reputation.

One of the most common causes of outages is unplanned configuration changes to a system, often when an immediate fix for a bug or potential system vulnerability unintentionally creates a much larger problem.

True Stories

BA – https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjnqva0-obVAhVBJVAKHa3PBNgQFggoMAA&url=https%3A%2F%2Fwww.theguardian.com%2Fbusiness%2F2017%2Fmay%2F30%2Fbritish-airways-it-failure-experts-doubt-power-surge-claim&usg=AFQjCNEEPDeqtosSvmM3EUmxAPpQ7gXGjw

AWS – https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=10&cad=rja&uact=8&ved=0ahUKEwjnqva0-obVAhVBJVAKHa3PBNgQFghdMAk&url=https%3A%2F%2Fwww.recode.net%2F2017%2F3%2F2%2F14792636%2Famazon-aws-internet-outage-cause-human-error-incorrect-command&usg=AFQjCNF5mqkFb4RJ53IOFnYWaC-ckYbDKQ

https://www.cloudendure.com/blog/7-system-downtime-incidents-of-2017/

But also, it’s always the IT Department – Fix the lights, if it has electric flowing through it then generally the IT team are going to get asked to replace, fix or troubleshoot.

Don’t Annoy the IT Guy – Don’t try this at home y’all

http://www.cracked.com/article_19528_5-true-stories-that-prove-you-shouldnt-piss-off-it-guy.html

  1. Omar Ramos-Lopez Remotely Shuts Down 100 Cars
  2. Terry Childs Holds San Francisco Hostage
  3. Joseph Nolan and Jason Cornish Should Not Be Trusted With Passwords
  4. Timothy Lloyd Plants $10 Million Time Bomb

Key Takeaways

Identify what is mission critical

To avoid unexpected interruptions or downtime, System Administrators should tier their services and identify the systems that are mission critical to the business, these applications should include those are directly linked to the success or failure of the business, point of sale, ticketing or billing.

Develop a failover plan for top tier systems

Offering a high level of availability is not something that just happens by chance, careful planning for every aspect of the environment is key. The failover plan should be one that carefully plans for load capacity to handle unexpected spikes.

Monitoring

If you cannot see it, you cannot see it coming. The only way to ensure that you have an active grasp on your IT environment is with visibility into your IT Systems, knowing what has been affected and possibly how to fix that in the least amount of time possible.

Free Stuff

It’s been a while since I took a look at the plethora of FREE stuff available from Veeam and the list has grown quite a bit. These are some of the noticeable products available as free tiers but there are more and I will actually try and put together a post based on these later on in the year.

Veeam Agent for Windows Free Edition – https://www.veeam.com/windows-backup-free-download.html?ad=in-text-link

Veeam Agent for Linux Free Edition – https://www.veeam.com/linux-backup-free-download.html?ad=in-text-link

Veeam Backup Free Edition – https://www.veeam.com/virtual-machine-backup-solution-free-download.html?ad=in-text-link

Veeam ONE Free Edition – https://www.veeam.com/virtual-server-management-one-free-download.html?ad=in-text-link

Free AWS backup from N2W Software – https://aws.amazon.com/marketplace/pp/B0748HYJSB?ref=_ptnr_web_veeamfreetools

Veeam Backup for Microsoft Office 365 v2 (Community Edition) – https://www.veeam.com/free-backup-microsoft-office-365-download.html?ad=in-text-link

VMworld 2018 – Win a FREE ticket to VMworld – https://www.veeam.com/vmworld/tickets?ad=onpage

Veeam FastSCP for Microsoft Azure – https://www.veeam.com/fastscp-azure-vm-download.html?ad=in-text-link

Veeam Powered Network – https://www.veeam.com/cloud-disaster-recovery-azure-download.html?ad=in-text-link

If you want to find out more about this sacred day for the SysAdmin this looks to be the best place to find out more so for next year you can plan your day, week or month accordingly.

http://sysadminday.com/

More examples of big brand outages. – http://www.csoonline.com/article/3152801/security/tech-outages-of-2016-and-how-to-prevent-them-in-2017.html#slide2

080118 1049 SystemAdmin6

080118 1049 SystemAdmin7

]]>
https://vzilla.co.uk/vzilla-blog/system-administrators-the-emergency-services-of-the-it-world/feed 0
FlexPod 101 https://vzilla.co.uk/vzilla-blog/flexpod-101 https://vzilla.co.uk/vzilla-blog/flexpod-101#respond Sun, 27 Mar 2016 19:34:45 +0000 http://vzilla.apps-1and1.net/?p=143
This post takes a high-level look at the FlexPod solutions NetApp offers today and provides the basic fundamentals:  what comprises a FlexPod, the unique benefits FlexPod delivers, how to identify a FlexPod opportunity, standard configurations, etc. If you’re new to FlexPod, this should get you off to a great start.

FlexPod Architecture

What is FlexPod?

Picture

Shared infrastructure for a wide range of environments and applications.

•       Validated, standardised, shared infrastructure
•       Flexibility and scalability within a single rack
•       Centralised management of pooled resources
•       Deployment guides with step-by-step instructions
•       Solution guides pre-define multiple workloads
•       Multiple sizing tools

Minimum requirements for a “FlexPod” configuration

When is FlexPod a good fit?


Customer Challenge
Ineffective management and resource allocation

Increased costs associated with multiple network platforms

Lengthy testing and deployment processes

Risks associated with siloed technologies

FlexPod
Increased scalability
Faster application deployments
Simplified management
Orchestration and workflow automation

Unified network equals less cost.
Unified fabric provides single unified 10GbE no need for separate networks

Pre integrated solution
Standardise deployment processes

High Availability during outages
Reduction in overall cost of availability and disaster recovery.

What does FlexPod Offer?<em “mso-bidi-font-style:=”” normal”=””>

Unified Systems

·         Simplified setup
·         Increased control
·         Lower costs

<em “mso-bidi-font-style:=”” normal”=””>Single point for management

·         Higher productivity
·         Lower labour costs
·         Fewer errors (configuration drift)

<em “mso-bidi-font-style:=”” normal”=””>Highly efficient

·         Self-Implementing
·         Increased workload agility
·         Lower costs
·         Lower power
·         Higher reliability
·         Simplified setup
·         Higher asset utilisation
·         Higher application performance

<em “mso-bidi-font-style:=”” normal”=””>Scalable

·         More workloads with less gear
·         Better performance
·         Less cost per virtual machine

What FlexPod models are available?

FlexPod Express – for smaller, less dynamic requirements (MSB / Branch Office)

·         Pre-configured (small or medium)
·         Focus on simplicity and cost
·         Limited IT staffing
·         Target: less than 500 users
·         1 GB Ethernet

FlexPod Data Center Solution – Massively scalable shared virtual data center infrastructure.

·         Enterprise-class solution
·         Focus on strategic platform
·         Existing IT Staff
·         Target: 500 users and above
·         10 GB Ethernet

FlexPod Select – Big data analytics, Scientific, High Performance Computing

Where can i find FlexPod documentation?
Validated and supported FlexPod designs

There are two key “go to” places to find the FlexPod architecture design and run book documentation and these links are highlighted below.

Cisco Validated Design Program – www.cisco.com/go/flexpod tested end-to-end scenarios

NetApp Verified Architecture – http://www.netapp.com/us/solutions/flexpod/datacenter/validated-designs.aspx

What Solutions do FlexPod support?

VMware (Exchange, SQL Server, Sharepoint, View)

Microsoft Private Cloud/HyperV

Red Hat Enterprise Linux

Citrix XenDesktop

SAP Applications

Validated vs Supported:

Validated means that everything has been tested end to end.

Supported required IMT checks etc to determine if the specific workload/application is supported with the specific configuration.

Why choose Unified Fabric?
Benefits of Cisco Nexus Unified Fabric with FlexPod

End-to-end convergence – Cisco Nexus, MDS, Director

Cisco Data Center network manager

Why choose Unified Fabric?

Scale

Cisco NX-OS
Cisco FabricPath
Cisco FabricPath Extender
OTV, LISP, IOA
vPC

Convergence

Unified ports
Data center bridging / FCoE
DCNM
VDC

Intelligence

Cisco Nexus 1000v & Virtual Extensible LAN
Cisco ASA 1000v Series, Cisco Virtual Security Gateway, Cisco vPath
Layer 4-7
Cisco Digital Media Manager, Cisco Storage Media encryption

Non-stop operations
Architectural flexibility/scale
Fabric extensibility to physical/virtual
Geographic span / workload mobility
Active-active oplinks

Deployment flexibility
Consolidated I/O
Consolidated management
Device consolidation

VM-Aware Networking
Secure/Separation/Multi-tenancy

Integrated Application Delivery
Storage Services

FlexPod with UCS Director
Challenges of the Datacenter Operations and Management

Picture

Disconnect processes:

·              Data center infrastructure managed in silos
·              Need for strong vendor specific skill sets
·              Manual administration
·              High-touch operations

Result in:

·               Direct increases in operational expense
·               Indirect increases in capital expense
·               Delays in time to market
·               Poor IT responsiveness to service requests


UCS Director for FlexPod

End-to-end infrastructure management

·         Unified click provisioning
·         Single management interface
o   Physical and Virtual infrastructure
·         Model based orchestration
·         Converged Infrastructure management
o   Self-service portal
o   Multi-tenant / secure multi-tenant security

UCS Director allows the subject matter experts to create their own dedicated policies for their part of the infrastructure, these are all then driven by the UCS Director Management piece. The result is a single pain of glass for end-to-end automation and lifecycle management. A complete turnkey solution.

Additional Information

My fellow NetApp A-Team members and Cisco Champions Emad Younis (@Emad_Younis) and Melissa Palmer (@vmiss33) discuss a FlexPod 101 on an EngineersUnplugged episode here: https://www.youtube.com/watch?v=vZLPgVocXFQ

UCS Tech Talk: UCS-Based Converged Infrastructure Management With UCS Director: https://www.youtube.com/watch?v=yy8gY5rLAdo

I have also included a link to the 3D FlexPod model. If you’ve ever been to a trade show that involves either Cisco or NetApp, you’ll be sure to see this life-size cardboard rack. If you have the app installed on your mobile device, point it toward the wall of cardboard and watch the magic happen. Learn more here along with how to get the app for your smart device:  https://netappapp.wordpress.com/

Please ask your questions or provide any feedback below. Thanks.

]]>
https://vzilla.co.uk/vzilla-blog/flexpod-101/feed 0