2011. július 7. 14:18
How programmatically add new node when using a deployment from bare metal using PowerShell or C#?
There is no problem when using a deployment with preconfigured nodes. But when using a deployment from bare metal firstly is needed to click Add node on Cluster manager, then start machine and after that only node in unknown state appears. As nodes i use virtual machines, so i can start it programatically.
Az összes válasz
2011. július 15. 19:51
You can use the PSH to manipulate the nodes. If you can start your VM nodes and have them configured to PXE boot and appear in the cluster then you can
- query for the nodes in a stete you wish, e.g. Get-HpcNode -HealthState unapproved
- keep working on the node with e.g. Assign-HpcNodeTemplate
in the PSH window type het-help on any of these commands and you will get started. Please use HPC Powershell to start your PSH window or you will not see the commands.
2011. július 19. 11:03
This is fine for deployment preconfigured nodes.
From my expirience, to deploy node from bare metal, firstly we need to click Add node and select a method and template and only after that a VM receives answer with IP address and starts deployment. In other way, if we dont click Add node previously, a node doesn't start deployment and doesn't appear with Unapproved state.((((
2011. július 20. 18:29
I think that you need to do one extra step. When in UI console, change to the Node Management pane. Then click Options from the top menu and select Deployment Settings. Pick the second option (Respond to all). This should show the nodes that send PXE request in the Unapproved state.