Quantcast
Channel: High Availability (Clustering) forum
Viewing all articles
Browse latest Browse all 5654

set-ClusterResourceDependency and multiple dependencies

$
0
0

I have a script that creates a powershell command.  The below command is not working correctly.  I cannot find much if any documentation on how to set multiple dependencies in powershell.  All of my other dependencies set without a problem, just this one with multiples.

Set-ClusterResourceDependency -cluster cluster_name -resource "SQL Server (SQL_GROUP)"  -Dependency "[E_Drive] and [E_Drive_log01]"
Set-ClusterResourceDependency : An error occurred while setting the dependency relationship for the resource 'SQL Server (SQL_GROUP)'.
    The parameter is incorrect
At line:1 char:30
+ Set-ClusterResourceDependency <<<<  -cluster cluster_name -resource "SQL Server (SQL_GROUP)" -Dependency "[E_Drive] and [E_Drive_log01]"
    + CategoryInfo          : NotSpecified: (:) [Set-ClusterResourceDependency], ClusterCmdletException
    + FullyQualifiedErrorId : Set-ClusterResourceDependency,Microsoft.FailoverClusters.PowerShell.SetClusterResourceDependencyCommand



Viewing all articles
Browse latest Browse all 5654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>