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

Configure-SmDatabase

Configures database in SnapCenter.

Syntax

Configure-SmDatabase [-PluginCode]  <PluginCode>  [-ResourceId]  <String>  [-HDBSQLOSUser]  <String>  [-HDBUserStoreKey]  <String>  [-PluginCode]  <PluginCode>  [-ResourceId]  <String>  [-CredentialName]  <String>

Detailed Description

Configure database settings in SnapCenter.

Parameters

Name Description Required? Pipeline Input Default Value

Examples

Example: Configuring HANA resource

 Configure-SmDatabase -PluginCode HANA -ResourceId "test" -HDBSQLOSUser "test" -HDBUserStoreKey "test"

This example shows how to configure database credentials for HANA Database.

Successfully updated the database configuration details.

Example: Configuring MYSQL resource

 Configure-SmDatabase -PluginCode MYSQL -ResourceId "lvm-rhel65-71.netapp.com\MySQL\mysqld_3306" -CredentialName "mysql_cred"

This example shows how to configure database credentials for MYSQL Database when passing existing credential.

Successfully updated the cluster/instance configuration details.

Example: Configuring POSTGRESQL resource

 Configure-SmDatabase -PluginCode POSTGRESQL -ResourceId "scs000351114.netapp.com\PostgreSQL\postgres_5432" -CredentialName "postgres_cred"

This example shows how to configure database credentials for POSTGRESQL Database when passing existing credential.

Successfully updated the cluster/instance configuration details.