Failover cluster support and code refactoring#3
Conversation
Added support for queues in clusters and some refactoring of the code
|
Hi @gigi81! |
|
Yes I agree. We need to make sure there are no regression. Anyway now that the functions are separate from the DSC resources, it should be easier to test them. |
|
I don't really like the idea of putting Invoke-Command inside of each helper function. |
|
I liked the idea of having the option of calling Get-cMsmqQueue (and others) with the -Cluster parameter from the same PS session and don't worry about how it works behind the scenes. |
|
@gigi81, emailed you. |
|
What happens if we just set the following environmental variables? Is creation of a new PSSession required at all? From my perspective, a new PSSession should be optional and only be created for clustered MSMQ instances. I'm looking at this from the DSC standpoint and want to avoid overcomplications. |
|
Hi, I've been quite busy at work recently. I will review this request as soon as I have some spare time. |
|
Hi @SNikalaichyk, |
Hi @SNikalaichyk
This PR fixes issue #2.
I know it's a lot of changes and probably too much to take in for a single PR.
Anyway I had to change a few things to add support for the failover cluster and as long as I was at it I felt like also having some code improvements.
Have a look and let me know your thoughts.