Checks if the service is running or not.
array ( 'status' => 0, 'payload' => false, )
Checks if the service is running on a specific node (Clustering only).
Lists the "normal" name - ie "web server" instead of "httpd".
array ( 'status' => 0, 'payload' => '##LG_NFS_SERVER##', )
Lists a string of the port numbers that this service uses, comma-seperated.
array ( 'status' => 0, 'payload' => '2049', )
Lists array of port numbers and ranges that this service uses.
array ( 'status' => 0, 'payload' => array ( 0 => 2049, ), )
Lists an array of permissions required to control the service.
array ( 'status' => 0, 'payload' => array ( 0 => 'NFS', ), )
Lists the service name, ports, page, and status.
array ( 'status' => 0, 'payload' => array ( 'id' => 'nfs', 'name' => '##LG_NFS_SERVER##', 'ports' => '2049', 'page' => '/nodeworx/nfs', 'ctrl' => '/nodeworx/nfs', 'is_running' => 0, ), )
Lists the service name - ie "httpd" instead of "web server".
array ( 'status' => 0, 'payload' => 'nfs', )
Lists the page that controls the service.
array ( 'status' => 0, 'payload' => '/nodeworx/nfs', )
Restarts the service.
Restarts the service on a specific node (Clustering only).
Starts the service.
Set the NFS start-on-boot status.
Starts the service on a specific node (Clustering only).
Stops the service.
Stops the service on a specific node (Clustering only).
Controller: Nfs
Action: isRunning (Added in version 4.2.0-260)
Checks if the service is running or not.
Example Output
Action: isRunningOnNode (Added in version 4.3.0-290)
Checks if the service is running on a specific node (Clustering only).
Input Parameters
Action: listGeneralName (Added in version 4.2.0-260)
Lists the "normal" name - ie "web server" instead of "httpd".
Example Output
Action: listPortNumbers (Added in version 4.2.0-260)
Lists a string of the port numbers that this service uses, comma-seperated.
Example Output
Action: listPortNumbersArray (Added in version 4.2.0-260)
Lists array of port numbers and ranges that this service uses.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => 2049, ), )Action: listRequiredPermissions (Added in version 4.2.0-260)
Lists an array of permissions required to control the service.
Example Output
array ( 'status' => 0, 'payload' => array ( 0 => 'NFS', ), )Action: listServiceInfo (Added in version 4.2.0-260)
Lists the service name, ports, page, and status.
Example Output
array ( 'status' => 0, 'payload' => array ( 'id' => 'nfs', 'name' => '##LG_NFS_SERVER##', 'ports' => '2049', 'page' => '/nodeworx/nfs', 'ctrl' => '/nodeworx/nfs', 'is_running' => 0, ), )Action: listServiceName (Added in version 4.2.0-260)
Lists the service name - ie "httpd" instead of "web server".
Example Output
Action: listServicePage (Added in version 4.2.0-260)
Lists the page that controls the service.
Example Output
Action: restart (Added in version 4.2.0-260)
Restarts the service.
Action: restartOnNode (Added in version 4.3.0-290)
Restarts the service on a specific node (Clustering only).
Input Parameters
Action: start (Added in version 4.2.0-260)
Starts the service.
Action: startOnBoot
Set the NFS start-on-boot status.
Input Parameters
1, 0
0
Action: startOnNode (Added in version 4.3.0-290)
Starts the service on a specific node (Clustering only).
Input Parameters
Action: stop (Added in version 4.2.0-260)
Stops the service.
Action: stopOnNode (Added in version 4.3.0-290)
Stops the service on a specific node (Clustering only).
Input Parameters