January 18, 2019 Vignesh Sathiyanantham

One of our Nimesa customers get this error on Event Logs, CheckTokenMembership. hr = 0x80070005, Access is denied when he takes a consistent backup using Nimesa. We found out this error is from VSS Requestor, This happens when UAC(user account control) is active. Which blocks even the administrators group users from performing operation in admin mode. Right-click at the bottom of the Windows Server Start screen, select All apps and click Run.Enter regedit and click OK. The Registry Editor window opens.Expand HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > policies > system.Right-click EnableLUA, and then select Modify.In Value data, enter 0 and then click OK.  The following message displays:You must restart your computer to turn off User Account Control Click to restart this computer

January 18, 2019 Vignesh Sathiyanantham

When we are deploying our Nimesa Appliance and running on client environment, we noticed that there are no disk serial number for virtual disks on Windows server 2016, later we came to know that deployment of Windows Server 2016 happened using deprecated vSphere thick client As per the VMware KB article, If the VM is not created with vSphere WebClient, the advanced parameter “disk.EnableUUID” is not set. and we have noticed this issue happening only with Microsoft Windows Server 2016 not in Windows 2k12 and 2K12 R2 In this scenario, we have to set the enable the disk UUID for…

January 16, 2019 Vignesh Sathiyanantham

One of our Nimesa customers faced this issue in his environment, That organization has Active Directory and they use AD for all the Machines in their datacenter. While taking the backup using Nimesa the user got The security database on the server does not have a computer account for this workstation trust relationship error, he cannot able to connect to the machine through RDP. We connected to the machine from console Login with local admin or user with admin rightsJoin the computer to the WORKGROUPRe-join back to DOMAINLogin back with the domain user that was used The above steps solved…

January 8, 2019 Vignesh Sathiyanantham

Nimesa Software based Data protection and copy data management solution supports Microsoft SQL Server full backup and log backup, recently we got a customer request why Nimesa is skipping the Simple recovery model database during log backup Simple recovery model doesnt support log backups. Simple recovery model database automatically reclaims the log space to keep space requirements small, essentially eliminating the need to manage the transaction log space The following features are not supported by SQL Server if your database is in Simple recovery model Log shippingAlways On or Database mirroringMedia recovery without data lossPoint-in-time restores Under the simple recovery…

December 25, 2018 Vignesh Sathiyanantham

Storage capacity consumed by multiple unnecessary data copies costs businesses as much as $44 billion annually, according to IDC. It estimates that redundant copies of the same data ( copy data) account for more than 60% of enterprise disk storage capacity. The redundant copies are compounded by rational practices intended to protect the business with multiple separate copies of production data like full backups, disaster recovery copy, test and dev, data analytics All the extra storage comes at a cost, data storage isn’t cheap, businesses have to waste more money on unnecessary storage expenses. There are many Copy Data management…

December 14, 2018 Vignesh Sathiyanantham

Like every computer needs harddisk VM or Cloud Instances are no exception. In Amazon, EBS is the virtual hard disk for your EC2 instances, it stores data as blocks and it is like a traditional file system you can format it with any file system and use EBS is not a stand-alone storage, you cannot use EBS volumes like S3 and unlike VMware Virtual Disks you cannot share the EBS between instances at the same time. Until 2012 Amazon had a single type EBS volumes The magnetic standard volume then they had another two more types ( General Purpose SSD and…

November 26, 2018 Vignesh Sathiyanantham

By default Photon OS comes with DHCP enabled, this is good enough for testing. In some case if you want to set static IP to your PhotonOS VM To get list of interfaces networkctl My network device name is eth0 ls /etc/systemd/network You will get a DHCP configuration file (99-dhcp-en.network in my case), take a backup of that file and create a new file 99-static-en.network root@photon-machine [ ~ ]# vi /etc/systemd/network/99-static-en.network [Match]Name=eth0[Network]Address=10.0.0.110/8Gateway=10.0.0.1 Save and restart the service systemd-networkd systemctl restart systemd-networkd If you are getting “Could not load configuration files: Permission denied” error change the permission of the file to 644 chmod 644 /etc/systemd/network/*…

November 19, 2018 Vignesh Sathiyanantham

Backup applications for the Virtualized environment back up the Virtual Machine at the image level and are not aware of what is going on inside the installed guest operating system. So before you back up your Virtual Machines you should ensure they are quiesced so they are in a consistent state to be backed up. Quiesce is to pause or alter a device or application to achieve a consistent state, usually in preparation for a backup. The quiesce operation is handled inside the guest OS, and for Windows VMs, the Volume Shadow Copy Service (VSS) handles this. If you don’t…

November 16, 2018 Vignesh Sathiyanantham

VMware Virtual Machine snapshots should not be used as a primary backup, Virtual Machine snapshots are good for the shorter period. you can create VM snapshot before applying hotfix and delete after successful patching. When VM snapshots are created the state of the virtual disk at the time the snapshot is taken will be preserved and all writes to the VMDK are redirected to a new delta disk file (The delta disk represents the difference between the current state of the virtual disk and the state that existed at the time the previous snapshot was taken), and the original VMDK…

July 31, 2018 Vignesh Sathiyanantham

If you’re looking into data protection solutions you’re probably have heard the phrase “3-2-1 backup”. You’ll hear it from most IT consultants, professionals as well as many backup vendors and admins. Every admin should have backups. This 3-2-1 principle works for any virtual environment regardless of the hypervisors you are running (VMware, Hyper-V or whatever). and it can effectively address any failure scenario Keep at least 3 copies of your data That includes the original copy and at least two backups. Keep the backed-up data on 2 different storage types The chances of having two failures of the same storage type…

July 7, 2018 Vignesh Sathiyanantham

Cloud Server/network outages are wrecking balls, and it can happen with a dominant market player like the Amazon Web Services (AWS), The latest is an extensive outage brought on by a human error at an AWS data center in Virginia. Many consider it to be the worst hit in four years. And in June 2016: The storms that battered Sydney also shook AWS services. An extensive power outage led to the failure of a number of Elastic Compute Cloud (EC2) instances and Elastic Block Store (EBS) volumes, many of which hosted critical workloads for big brands. The result was that…

June 22, 2018 Vignesh Sathiyanantham

Data loss can be a common experience of computer users; a 2008 survey found that 66% of respondents had lost files on their home PC. A backup refers to the copying into an archive file of computer data so it may be used to restore the original after a data loss event. If a computer system is not having active IOs to the backup directory and we copy the data to archival location then we have a good copy of backup ( consistent backup ) . If a computer system is in use while it is being backed up, the…

January 28, 2018 Vignesh Sathiyanantham

Cloud computing came through long way by replacing layer after a layer we used bare metal server then Virtual servers then Containers now Serverless computing Serverless is the next evolution of application and system design and deployment. Serverless applications are built upon functions—small code artifacts, which are compact and specific to a disc Serverless doesn’t mean servers are no more required to run workloads, it simply means that developers no longer have to think about them, this will make the developers focus more on tasks than servers. Serverless is often called as Function as service Amazon AWS has FaaS called…

January 28, 2018 Vignesh Sathiyanantham 29Comment

AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume – there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service – all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app. In my last post, i wrote…

January 22, 2018 Vignesh Sathiyanantham 1Comment

Recently, An Indiana hospital paid a ransom of $55,000 to get rid of ransomware that had infected its systems and was hindering operations. when attackers breached the network of Hancock Health, a regional hospital in the city of Greenfield, Indiana. Hancock Health CEO Steve Long said the hackers are believed to be in eastern Europe and may have used a type of ransomware called SamSam, SamSam encrypted files and renamed them with the phrase “I’m sorry”, according to a local newspaper who broke the news. The hospital said that despite having backups it opted to pay the ransom demand of…

February 29, 2016 Vignesh Sathiyanantham

Shadow Copies  are possible for almost all volumes and not “all volumes”. There are few cases which the shadow copy may not work Enough Space The shadow storage volume must contain enough free space. At the very minimum you need at least 300 MB or so, for a single shadow copy, for multiple shadow copies, the space can increase more depending on the I/O usage. You can always run the command VSSADMIN LIST SHADOWSTORAGE to see how much space is used for the existing shadow copies. Only Fixed Drives Only fixed drives are supported. You cannot enable Shadow Copy on removable,…

May 22, 2015 Vignesh Sathiyanantham 1Comment

VSS hardware provider can be initiate and test using DiskShadow Commands Open the Powershell and Enter Diskshadow PS C:\Users\Administrator> diskshadow Microsoft DiskShadow version 1.0 Copyright (C) 2013 Microsoft Corporation On computer: WIN-VigneshDev, 5/22/2015 12:06:35 AM DISKSHADOW> List the Hardware Providers DISKSHADOW> list providers * ProviderID: {74600e39-7dc5-4567-a03b-f091d6c7b092} Type: [2] VSS_PROV_SOFTWARE Name: Hyper-V IC Software Shadow Copy Provider Version: 1.0.0.0 CLSID: {3e02620c-e180-44f3-b154-2473646e4cb8} * ProviderID: {89300202-3cec-4981-9171-19f59559e0f2} Type: [4] VSS_PROV_FILESHARE Name: Microsoft File Share Shadow Copy provider Version: 1.0.0.1 CLSID: {fce59da7-7bac-40da-8d21-3e7311ba51cd} * ProviderID: {b57190af-4567-4dd0-ad8d51abd60b20d5 Type: [3] VSS_PROV_HARDWARE Name: Vignesh Test Provider Version: 6.2.9200.16384 * ProviderID: {b5946137-7b9f-4925-af80-51abd60b20d5} Type: [1] VSS_PROV_SYSTEM Name: Microsoft Software Shadow Copy…

January 6, 2015 Vignesh Sathiyanantham

Inconsistent Backup The oldest type of backup probably not consistent. The process of taking the backup was so simple, backup application starts at the beginning of a file structure and copies all of the data until it reaches the end, resulting in a backup (Inconsistent). The reason which can make this backup inconsistent is that if any user added/modified after a backup but before it completed that would result in an inconsistent backup; the files in the backup are not consistent. Mainly the volumes which have Random read and random writes application like databases these types of backups do not…

May 15, 2019 Vignesh Sathiyanantham

Run apt-key Using the apt-key utility we can display all the known keys.apt-key list To quickly find the expired keys, search for “expired:” apt-key list | grep “expired:” Update the key We can now use the key gathered in step 1 to update it: apt-key adv –keyserver keys.gnupg.net –recv-keys [KEY]

May 9, 2019 Vignesh Sathiyanantham

Changing the individual database recovery model is very simple with the Microsoft SSMS. But recently in one of our Nimesa customer environments, he had 200 databases in a non-production instance and all the databases are in the simple recovery model. That user wanted to do POC of Nimesa Application-aware backup and Point in time recovery for MS SQL database server, Log backups are not possible with the simple recovery model, so I executed a small PowerShell script which changes all the databases to the FULL recovery model from the simple recovery model Get-SqlDatabase -ServerInstance NW1\CLUST2 The above Powershell command gets…

May 2, 2019 Vignesh Sathiyanantham

Failure rate depends more on the number of disk blocks modified since the last snapshot of the EBS volume than the total size of the volume. EBS has a listed failure rate of 0.1% – 0.4% annually, compared to a commodity disk’s rate of 4%. At first glance, this appears to be great, but this is somewhat misleading as any real production setup will use some sort of RAID. Using a RAID 1 with two drives failing at 4% would give a failure rate of 0.16% annually, which appears to be line with EBS. As long as the failed drive…

May 2, 2019 Vignesh Sathiyanantham

Creating a full backup in the SQL server using SSMS is very simple, but if you have 10’s of databases you find bit difficult to backup all databases in one go. So i write a small Powershell script which gets the list of databases and takes the backup except the system databases https://gist.github.com/asvignesh/9c2f275c9418b038022ceffa94ba2152 Run the script with Server name and the backup directory as parameters .\BackupAllDatabases.ps1 -serverName NW\CLUST -backupDirectory c:\backupdir

April 20, 2019 Vignesh Sathiyanantham

To Disable UAC on the Windows Server, change the registry value EnableLUA to 0, to change it using the powershell Set-Itemproperty -path ‘HKLM:\Software\Microsoft\Windows\CurrentVersion\policies\system’ -Name ‘EnableLUA’ -value 0 Below is the script to change on multiple Windows Machines using RemotePS https://gist.github.com/asvignesh/ae5a1ad1cf036f2481ef26f67816242d

April 20, 2019 Vignesh Sathiyanantham

We got a support case user created a backup of the Virtual Machines with MS SQL running but he cannot see the databases running on the machine We checked the added credential, it was Windows Active Directory user added to administrator groups, after we disable the UAC on the Windows Server 2019 user can able to list all the backups To Disable the UAC on Windows Server 2019 Right-click at the bottom of the Windows Server 2012 Start screen, select All apps and click Run.Enter regedit and click OK. The Registry Editor window opens.Expand HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > policies > system.Right-click EnableLUA, and then select Modify.In Value data, enter 0 and then click OK. The following message displays:You must restart your computer…

April 19, 2019 Vignesh Sathiyanantham

  While testing our product Nimesa with Microsoft SQL Server 2016 on Microsoft Windows 2019 i hit with some scenarios my nodes in SQL cluster has some shadows, i wanted to check in all the machine and delete the shadows. What i did is, i wrote a small powershell script which connects to all the nodes in my test bed and run diskshadow command  delete shadows all  For that, First i need to enable the PowerShell Remoting on all the nodes ( My nodes are connected to active directory and all are part of Windows Failover clustering ) Enable-PSRemoting -Force…

April 12, 2019 Vignesh Sathiyanantham

To do some testing of the on going release of Nimesa which do the application aware ( AppAware ) Backup of Microsoft SQL Server Cluster on SQL 2016 i created a small powershell scripts which create ( actually restores ) the databases from Adventure Works backup file Change the total and volume drive letter in the below code and run it. If you want to have Data files (.mdf ) and Log Files (.ldf) in the same volume, set the volume1 and volume2 with same value If you want to create data and log files on different volume, set different…

April 10, 2019 Vignesh Sathiyanantham

PS C:\WINDOWS\system32> Set-ExecutionPolicy RemoteSigned PS C:\WINDOWS\system32> Set-PowerCLIConfiguration -InvalidCertificateAction Ignore PS C:\WINDOWS\system32> Connect-VIServer -Server servername Get-VM -name vignesh-VM-1 | Get-AdvancedSetting -Name ‘disk.EnableUUID’ If that command returns no result or the value is false, you won’t see the disk serial number inside your OS. To Enable to DISK UUID, Refer this blog disk-serial-number-is-not-set-for-windows-server-2016-on-vmware-vsphere/

April 10, 2019 Vignesh Sathiyanantham

Copy and Paste the following command to install this package using PowerShellGet Install-Module -Name VMware.PowerCLI If you are getting any error related to the privilege PS C:\Users\asvig> Install-Module -Name VMware.PowerCLI Install-Module : Administrator rights are required to install modules in ‘C:\Program Files\WindowsPowerShell\Modules’. Log on to the computer with an account that has Administrator rights, and then try again, or install Run with adding -Scope CurrentUser Install-Module -Name VMware.PowerCLI -Scope CurrentUser