Set-SmPluginConfiguration
Sets the host plug-in configuration.
Syntax
Set-SmPluginConfiguration [-PluginCode] <PluginCode> [-HostName] <String> [-HostLogFolders] <Hashtable[]> [-FCIInstanceLogFolders] <Hashtable[]> [-IgnoreVscConfiguredCheck] <Boolean>
Detailed Description
Sets the host plug-in configuration.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
PluginCode |
Specifies the plug-in type. Valid types are SCW and SCSQL. |
true |
true (ByPropertyName) |
|
HostName |
Specifies the host name for which you are setting the plug-in configuration. |
true |
true (ByPropertyName) |
|
HostLogFolders |
Specifies the host log folders. |
false |
true (ByPropertyName) |
|
FCIInstanceLogFolders |
Specifies the FCI instance log folders. |
false |
true (ByPropertyName) |
|
IgnoreVscConfiguredCheck |
false |
true (ByValue, ByPropertyName) |
Examples
Example 1: Setting the plugin configuration for a standalone host
Set-SmPluginConfiguration -PluginCode SCSQL -HostName localhost -HostLogFolders @{"Host"="vise-f6";"Log Folder"="S:\LOGBACKUP"}
This example syntax sets the plug-in configuration for the specified standalone host.
Set-SmPluginConfiguration
SnapCenter has detected that your host is running on a VM. If you use an VMDK or RDM environment, you must add a Virtual Storage Console for vSphere type host; however, if your VM uses iSCSI direct attached disks, you can proceed with the existing host setup.
Choose Yes, if you are using a VM in a VMDK or RDM environment Choose No, if you are using a VM with iSCI direct attached disks only [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
Example 2: Setting the plugin configuration for a cluster host
Set-SmPluginConfiguration -PluginCode SCSQL -HostName V67VMCLUS -HostLogFolders @{"Host"="v6vmw2012r2";"Log Folder"="S:\LogBackup"},@{"Host"="v7vmw2012r2";"Log Folder"="S:\LogBackup"} -FCIInstanceLogFolders @{"FCI Instance"="vise-f6\FCIInstance";"Log Folder"="R:\"}
This example syntax sets the plug-in configuration for the specified cluster.
Set-SmPluginConfiguration
SnapCenter has detected that your host is running on a VM. If you use an VMDK or RDM environment, you must add a Virtual Storage Console for vSphere type host; however, if your VM uses iSCSI direct attached disks, you can proceed with the existing host setup.
Choose Yes, if you are using a VM in a VMDK or RDM environment Choose No, if you are using a VM with iSCI direct attached disks only [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):