Set-LocalNodeServicePort

Synopsis

Sets the port numbers that the node listens on.

Syntax

Set-LocalNodeServicePort [-MetaDataPortNumber <Int32>] [-BufferedPortNumber <Int32>]

Detailed Description

The Laserfiche Distributed Computing Cluster Service uses two ports to communicate with other applications. A node is identified by its host name and its metadata port. The node uses this port to advertise its capabilities and the settings required to establish a secure connection. The node uses the buffered port to securely exchange data with other applications.

The Set-LocalNodeServicePort function modifies the port that the node listens on.

Parameters

-MetaDataPortNumber <Int32>
	The port the node uses to exchange information about itself.
	Required?                    false
	Position?                    named
	Default value
	Accept pipeline input?       false
	Accept wildcard characters?  false
-BufferedPortNumber <Int32>
	The port the node uses to transfer data.
	Required?                    false
	Position?                    named
	Default value
	Accept pipeline input?       false
	Accept wildcard characters?  false

Inputs

None

You cannot pipe input to this function.

Outputs

None

This function does not return any output.

Note: A node's address consists of its host name and its metadata port number. If the metadata port number of a node is modified, other applications that communicate with it must be updated. Specifically, if a Scheduler's metadata port number is changed, client applications such as the web client, and administrative applications like the Web Administration Console must be updated to use the new port number. If a Worker's metadata port number is changed, that Worker must be re-added to the cluster using the new port number.

Note: The Laserfiche Distributed Computing Cluster Setup package creates exceptions in Windows Firewall titled, "Laserfiche Distributed Computing Cluster (Buffered)" and "Laserfiche Distributed Computing Cluster (MetaData)". The Set-LocalNodeServicePort function does not update these exceptions. If it is used to change a port, the firewall exception will have to be updated separately.

Examples

Example 1

PS C:\> Set-LocalNodeServicePort -MetaDataPortNumber 8110

This command sets the metadata port to 8110.

Example 2

PS C:\> Set-LocalNodeServicePort -BufferedPortNumber 8111

This command sets the buffered port to 8111.

Related Links

Get-LocalNodeServicePort

Reset-LocalNodeServicePort