After upgrading to DCC 12 the interface changed to a command based interface. Someone asked how you pick your workers in this new interface and I looked over the commands. I don't see any commands that let you define or set workers in any way in the list. How do we assign which workers will be used by the scheduler in this new build?
Question
Question
DCC How do I assign which workers I want to be part of a job in DCC 12?
Replies
Hi Chad,
The command list in that page is for the LfDccLocalNodeAdmin module, which is intended for local node troubleshooting and recovery. It does not manage the scheduler’s worker list.To choose which workers the scheduler uses in DCC 12, use the LfDccClusterAdmin PowerShell module. (https://doc.laserfiche.com/laserfiche.documentation/12/userguide/en-us/content/config-dcc-ps-cluster.htm?tocpath=Laserfiche%20User%20Guide%7CAdministration%20and%20Configuration%7CDistributed%20Computing%20Cluster%7C_____1 )
I believe Add-DccWorker associates a worker with the scheduler. Use Enable-DccWorker or Disable-DccWorker to control whether an already-added worker can receive tasks, and Remove-DccWorker if the scheduler should no longer use that worker.
You can check the detailed command documentation through commands like Get-Help Add-DccWorker
This link is not working for me, it takes me to the same list of commands:
There is no Add-DccWorker command.
That's the wrong module. You want to run Import-Module LfDccClusterAdmin
At this point I just searched the entire documentation for any command such as Add-DccWorker and nothing came back. There is no commands here related to workers and the interface is gone entirely.
Is there a website that I can see this information on and see required fields, examples, etc?
It's all available in Powershell
DCC has 2 admin modules:
-
LfDccClusterAdmin - managing the cluster (adding/deleting nodes, security, etc)
-
LfDccLocalNodeAdmin - managing individual nodes
To use them, first you import them into your PS session. Then you can call Get-Command on the module to get a list of all functions. If you want to know more about an individual function, you call Get-Help on the function.
Got it. I was looking in the documentation only at the moment, not sure why it only provided half of the commands in the documentation.