PS C:\FASTSearch\Shell\Operation\FS14> get-help .\fNctrl.ps1
NAME
C:\FASTSearch\Shell\Operation\FS14\fNctrl.ps1
SYNOPSIS
Farm version of standard nctrl command: Run local and remote nctrl commands on the FS4SP s
SYNTAX
C:\FASTSearch\Shell\Operation\FS14\fNctrl.ps1 [[-ncmd]
>] [
DESCRIPTION
Run local and remote nctrl commands on the selected FS4SP search nodes in a farm.
The available nodes would be given by the deployment.xml file
Makes it possible to control and administer your FS4SP farm from the admin node, stopping
and all other commands possible to run with a standard nctrl command.
The standard nctrl commands supported are:
Commands:
start [process 1] ... [process n]
Start all or selected processes.
stop [process 1] ... [process n]
Stop all (including nctrl daemon) or selected processes.
kill process 1 [process 2] ... [process n]
Kill (SIGKILL/TerminateProcess) selected processes.
restart [process 1] ... [process n]
Restart selected processes.
status
List some general info on the system.
add process
Add another instance of type "process".
The process must be configured for dynamic multiplication.
remove process
Remove a process from configuration. The process must
support dynamic multiplication.
suspend process 1 [process 2] ... [process n]
Suspends (stops) the specified processes. The processes must
be resumed to be restarted.
resume process 1 [process 2] ... [process n]
Resumes (starts) the previously suspended processes.
reloadcfg
Reloads the configuration for the running daemon from
C:\FASTSearch\etc\NodeConf.xml
.PARAMETER nctrl cmd
First parameter (Position 0). Reads string an passes it on to local nctrl script
RELATED LINKS
about_Remote
Enable-PSRemoting
Enable-WSManCredSSP
REMARKS
To see the examples, type: "get-help C:\FASTSearch\Shell\Operation\FS14\fNctrl.ps1 -examples".
For more information, type: "get-help C:\FASTSearch\Shell\Operation\FS14\fNctrl.ps1 -detailed".
For technical information, type: "get-help C:\FASTSearch\Shell\Operation\FS14\fNctrl.ps1 -full".
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Start indexer on row 0
fNctrl "start indexer" -row 0
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Get status on all nodes
fNctrl status
-------------------------- EXAMPLE 3 --------------------------
C:\PS>Stop QR server on given host
fNctrl.ps1 "stop qrserver" -thisNode
No comments:
Post a Comment