使用 Azure 门户管理 Azure Database for MariaDB 服务器Manage an Azure Database for MariaDB server using the Azure portal

本文介绍如何管理 Azure Database for MariaDB 服务器。This article shows you how to manage your Azure Database for MariaDB servers. 管理任务包括计算和存储缩放、管理员密码重置,以及查看服务器详细信息。Management tasks include compute and storage scaling, admin password reset, and viewing server details.

登录Sign in

登录 Azure 门户Sign in to the Azure portal.

创建服务器Create a server

访问快速入门,了解如何创建并开始使用 Azure Database for MariaDB 服务器。Visit the quickstart to learn how to create and get started with an Azure Database for MariaDB server.

缩放计算和存储Scale compute and storage

创建服务器后,可以根据需要在“常规用途”层和“内存优化”层之间缩放。After server creation you can scale between the General Purpose and Memory Optimized tiers as your needs change. 也可通过增减 vCore 数来缩放计算和内存。You can also scale compute and memory by increasing or decreasing vCores. 存储可以纵向扩展(但不能纵向缩减)。Storage can be scaled up (however, you cannot scale storage down).

在“常规用途”和“内存优化”层之间缩放Scale between General Purpose and Memory Optimized tiers

可以从“常规用途”层缩放到“内存优化”层,反之亦然。You can scale from General Purpose to Memory Optimized and vice-versa. 不支持在创建服务器后在“基本”层和其他层之间来回更改。Changing to and from the Basic tier after server creation is not supported.

  1. 在 Azure 门户中选择服务器。Select your server in the Azure portal. 选择位于“设置”部分的“定价层”。 Select Pricing tier, located in the Settings section.

  2. 选择“常规用途”或“内存优化”,具体取决于你要缩放到哪一层。 Select General Purpose or Memory Optimized, depending on what you are scaling to.

    change-pricing-tier

    备注

    更改层级导致服务器重启。Changing tiers causes a server restart.

  3. 选择“确定”以保存更改。 Select OK to save changes.

纵向扩展或缩减 vCoreScale vCores up or down

  1. 在 Azure 门户中选择服务器。Select your server in the Azure portal. 选择位于“设置”部分的“定价层”。 Select Pricing tier, located in the Settings section.

  2. 通过将滑块移动到所需的值来更改“vCore” 设置。Change the vCore setting by moving the slider to your desired value.

    scale-compute

    备注

    缩放 vCore 会导致服务器重启。Scaling vCores causes a server restart.

  3. 选择“确定”以保存更改。 Select OK to save changes.

纵向扩展存储Scale storage up

  1. 在 Azure 门户中选择服务器。Select your server in the Azure portal. 选择位于“设置”部分的“定价层”。 Select Pricing tier, located in the Settings section.

  2. 通过将滑块向上移动到所需的值来更改“存储” 设置。Change the Storage setting by moving the slider up to your desired value.

    scale-storage

    备注

    存储无法纵向缩减。Storage cannot be scaled down.

  3. 选择“确定”以保存更改。 Select OK to save changes.

更新管理员密码Update admin password

可以通过 Azure 门户更改管理员角色的密码。You can change the administrator role's password using the Azure portal.

  1. 在 Azure 门户中选择服务器。Select your server in the Azure portal. 在“概览”窗口中,选择“重置密码” 。In the Overview window select Reset password.

    概览

  2. 输入新密码并确认。Enter a new password and confirm the password. 文本框会就密码复杂性要求提示你。The textbox will prompt you about password complexity requirements.

    reset-password

  3. 选择“确定”以保存新密码。 Select OK to save the new password.

删除服务器Delete a server

不再需要服务器时,可以将其删除。You can delete your server if you no longer need it.

  1. 在 Azure 门户中选择服务器。Select your server in the Azure portal. 在“概览”窗口中,选择“删除”。 In the Overview window select Delete.

    delete

  2. 在输入框中键入服务器名称,确认这是要删除的服务器。Type the name of the server into the input box to confirm that this is the server you want to delete.

    confirm-delete

    备注

    删除服务器的操作不可逆。Deleting a server is irreversible.

  3. 选择“删除”。 Select Delete.

后续步骤Next steps