Skip to main content
SnapCenter Software 4.8
A newer release of this product is available.

Manage EMS data collection

Contributors netapp-soumikd

You can schedule and manage Event Management System (EMS) data collection using PowerShell cmdlets. EMS data collection involves gathering details about the SnapCenter Server, the installed SnapCenter plug-in packages, the hosts, and similar information, and then sending it to a specified ONTAP storage virtual machine (SVM).

Note System CPU utilization is high when data-collection task is in progress. CPU utilization remains high as long as the operation is progress irrespective of the data size.

Stop EMS data collection

EMS data collection is enabled by default and runs every seven days after your installation date. You can disable data collection at any time by using the PowerShell cmdlet Disable-SmDataCollectionEMS.

Steps

  1. From a PowerShell command line, establish a session with SnapCenter by entering Open-SmConnection.

  2. Disable EMS data collection by entering Disable-SmDataCollectionEms.

Start EMS data collection

EMS data collection is enabled by default and is scheduled to run every seven days from the installation date. If you have disabled it, you can start EMS data collection again by using the Enable-SmDataCollectionEMS cmdlet.

The Data ONTAP event generate-autosupport-log permission has been granted to the storage virtual machine (SVM) user.

Steps

  1. From a PowerShell command line, establish a session with SnapCenter by entering Open-SmConnection.

  2. Enable EMS data collection by entering Enable-SmDataCollectionEMS.

Change EMS data collection schedule and target SVM

You can use PowerShell cmdlets to change the EMS data collection schedule or the target storage virtual machine (SVM).

Steps

  1. From a PowerShell command line, to establish a session with SnapCenter, enter the Open-SmConnection cmdlet.

  2. To change the EMS data collection target, enter the Set-SmDataCollectionEmsTarget cmdlet.

  3. To change the EMS data collection schedule, enter the Set-SmDataCollectionEmsSchedule cmdlet.

Monitor EMS data collection status

You can monitor the status of your EMS data collection using several PowerShell cmdlets. You can get information about the schedule, storage virtual machine (SVM) target, and status.

Steps

  1. From a PowerShell command line, establish a session with SnapCenter by entering Open-SmConnection.

  2. Retrieve information about the EMS data collection schedule by entering Get-SmDataCollectionEmsSchedule.

  3. Retrieve information about the EMS data collection status by entering Get-SmDataCollectionEmsStatus.

  4. Retrieve information about the EMS data collection target by entering Get-SmDataCollectionEmsTarget.

Find more information

The information regarding the parameters that can be used with the cmdlet and their descriptions can be obtained by running Get-Help command_name. Alternatively, you can also refer to the SnapCenter Software Cmdlet Reference Guide.