Set-HpcLogUploaderConfig

Windows Server 2016 and Windows 10

Set-HpcLogUploaderConfig

Sets the configuration of the LogUploaderAgent.

Syntax

Parameter Set: Default
Set-HpcLogUploaderConfig [-ClusterConnectionString <String[]> ] [-ConnectionString <String> ] [-Enabled <Boolean> ] [-ObserveLogs <String[]> ] [-PaaSEtwTraceVerbose <Boolean> ] [-Scheduler <String[]> ] [ <CommonParameters>]




Detailed Description

The Set-HpcLogUploaderConfig cmdlet sets the configuration of the LogUploaderAgent.

Parameters

-ClusterConnectionString<String[]>

Specifies an array of cluster connection strings for the cluster to which you want to add the device drivers. The value format is host1,host2,host3. If you do not specify the ClusterConnectionString parameter, this cmdlet uses the connection string on the head node that the CCP_CONNECTIONSTRING environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env: CCP_CONNECTIONSTRING <head_node_name>.

This parameter was introduced in HPC Pack 2016.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ConnectionString<String>

Specifies the connection string used to connect to the HPC Pack Troubleshooting Service.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Enabled<Boolean>

Indicates whether the LogUploaderAgent is enabled in the HPC cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ObserveLogs<String[]>

Specifies which log series the LogUploaderAgent observes and uploads. If the first log name is set as all, the agent attempts to observe all available HPC Pack logs.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PaaSEtwTraceVerbose<Boolean>

Indicates whether the LogUploaderAgent should set the Event Trace for Windows (ETW) trace level in PaaS nodes (worker role instances) to verbose.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Scheduler<String[]>

Specifies an array of host names or IP addresses of the head node for the cluster to which you add the node. The value must be a valid computer name or IP address. If you do not specify the Scheduler parameter, this cmdlet uses the scheduler on the head node that the CCP_SCHEDULER environment variable specifies. To set this environment variable, run the following cmdlet: Set-Content Env:CCP_SCHEDULER <head_node_name>.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

Example 1: Enable LogUploaderAgent and upload HpcScheduler and HpcManagementCluster log

This command enables LogUploaderAgent for the connection string named MyConnectionString and uploads the observer longs for HpcScheduler and HpcManagmentCluster.


PS C:\> Set-HpcLogUploaderConfig -ConnectionString "MyConnectionString" -ObserveLogs "HpcScheduler, HpcManagementCluster" -Enabled $True

Example 2: Set LogUploaderAgent to upload all HPC Pack logs

This command sets LogUploaderAgent to upload all HPC Pack logs.


PS C:\> Set-HpcLogUploaderConfig -ObserveLogs "All"

Example 3: Disable LogUploaderAgent

This command disables LogUploaderAgent.


PS C:\> Set-HpcLogUploaderConfig -Enabled $False

Related topics

Community Additions

ADD
Show: