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

setting multiple clusterresourcedependencies with Powershell

$
0
0

Hey guys, Probably a simple question, but I can't seem to set my dependencies correctly. i followed the examples that are supplied in the help-library, but those don't seem to fix the problem. I can do it for 1 dependency, but setting multiple dependencies doesn't seem to work. This is how it is supplied in the help-library

ClusterResourceDependency cluster1FS12 "[IP Address 151.56.48.0] or [New IP Address]"

Description: This command makes the resource called cluster1FS12 dependent on either [IP Address 151.56.48.0] or [New IP Address

Set-ClusterResourceDependenPS C:\Windows\system32> Set-ClusterResourceDependency Foo "[bar] and [bar1]"

Set-ClusterResourceDependency : An error occurred while setting the dependency relationship for the resource 'Foo'.
    The parameter is incorrect
At line:1 char:30
+ Set-ClusterResourceDependency <<<<  Foo"[bar] and [bar1]"
    + CategoryInfo          : NotSpecified: (:) [Set-ClusterResourceDependency], ClusterCmdletException
    + FullyQualifiedErrorId : Set-ClusterResourceDependency,Microsoft.FailoverClusters.PowerShell.SetClusterResourceDe
   pendencyCommandcy Foo "[bar] and [bar1]"

Don't know what's the problem. Help would be appreciated ^^


Viewing all articles
Browse latest Browse all 6672

Trending Articles



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