Posted On July 1, 2019

Veeam: Hyper-V ConfigStoreRootPath Errors

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Veeam: Hyper-V ConfigStoreRootPath Errors
Error Message
---------------------------
Veeam Backup and Replication
---------------------------
ConfigStoreRootPath cluster parameter is not defined. We will not be able to process VMs with shared disks until you set this parameter using Set-ClusterParameter PowerShell cmdlet.
---------------------------
OK
---------------------------
Resolution
Execute these functions on a Node of the Target Cluster
# Install Microsoft Clustering Management
Function installClusteringManagment{
# Set PowerShell Gallery as Trusted to bypass prompts
$trustPSGallery=(Get-psrepository -Name 'PSGallery').InstallationPolicy
If($trustPSGallery -ne 'Trusted'){
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
}
# Adding Microsoft Cluster
if (!(get-module -Name "FailoverClusters") ){
# Install-WindowsFeature Failover-Clustering | out-null;
Install-WindowsFeature RSAT-Clustering-MGMT | out-null;
Install-WindowsFeature RSAT-Clustering-PowerShell | out-null;
# Import-Module FailoverClusters | out-null;
}
}

# Set ConfigStoreRootPath if it doesn't already exist
function setConfigStoreRootPath{
$configStoreRootPath=(Get-ClusterResource "Virtual Machine Cluster WMI" | Get-ClusterParameter ConfigStoreRootPath).Value
if (!($configStoreRootPath)){
$path = "C:\ClusterStorage\Volume1\Hyper-V\Shared"
mkdir $path
Get-ClusterResource "Virtual Machine Cluster WMI" | Set-ClusterParameter -Name ConfigStoreRootPath -Value $path
}
"ConfigStoreRootPath is currently set as $configStoreRootPath."
}

installClusteringManagment;
setConfigStoreRootPath;

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Remove A-record in Bluecat

$bluecatUri='https://bluecat.kimconnect.com/Services/API' $bluecatUsername='bluecat-service-api' $bluecatPassword='SOMECOMPLEXPASSWORD' $hostRecord='testrecord.kimconnect.com' function loginBluecat{ param( $username, $password, $uri ) $proxy = New-WebServiceProxy -Uri…

Tasks to Perform After Windows 10 Upgrade

Target for Windows upgrade cleanup: C:\$Windows.~BT\* C:\$Windows.~LS\* C:\$Windows.~WS\* C:\ESD\Download\* C:\ESD\Windows\* C:\$WINDOWS.~Q\* C:\$INPLACE.~TR\* C:\Windows.old\* C:\Windows\Panther Please…

PowerShell: Find Windows RDS Roles and Their Licensing Servers

# Get TS Licensing Servers (Enterprise or AD Registered) $termLicenseServers=Get-ADGroupMember -Identity "Terminal Server License Servers"…