如何在Azure VM中更改SQL Server许可证? [英] How to change sql server license in Azure VM?

查看:139
本文介绍了如何在Azure VM中更改SQL Server许可证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前在Azure中有一个VM,该VM是从Azure库中创建的,是每小时包含Sql Server Enterprise许可的VM.这是一个非常昂贵的VM.我们拥有MSDN许可证,而这是一台开发机,因此我们想更改许可证.

We currently have a VM in Azure which was created from the Azure gallery as a VM with Sql Server Enterprise licensing included on a per-hour basis. This is a very expensive VM. We have MSDN licenses, and this is a dev machine, so we want to change the licensing.

如何在不重新创建VM的情况下更改许可?是否可以创建一个新的VM,复制磁盘,然后许可就消失了?

How can we change the licensing without recreating the VM? Would it be possible to create a new VM, copy the disk, and then the licensing is gone?

推荐答案

只有使用SQL Server安装工具才能更改SQL Server许可证.如果通过AZURE部署订购了SQL Server,则覆盖许可证密钥不会获得任何好处. 您将按订购"计费,而不是按当前安装的许可证计费".取消此合同的唯一方法是删除整个VM.

Changing the SQL-Server license is only possible with the SQL-Server Setup tool. If you ordered the SQL server via the AZURE deployment, you would not gain any benefit in overwriting the license key. You will get billed "as ordered" not "as currently installed license". The only way to get off this contract is to delete the entire VM.

您将必须设置新服务器,并根据需要使用自己的许可证密钥安装SQL Server的类型(或从AZURE中选择任何预配置的数据服务).然后,您可以手动或在SQL-Server Management Studio的指导下传输数据库,然后取消先前的服务器.

You will have to set up a new server and install your type of SQL-Server as needed with your own license key (or pick any of the preconfigured Data Services from AZURE). You then can transfer the database, either manually or guided by the SQL-Server Management Studio and later cancel the previous server.

如何在不重新创建VM的情况下更改许可?是否可以创建一个新的VM,复制磁盘,然后许可就消失了?

How can we change the licensing without recreating the VM? Would it be possible to create a new VM, copy the disk, and then the licensing is gone?

不.据我所知,应用程序许可证是与数据文件相关的,而不是与VM实例相关的.您将获得相同的账单,因为它实际上是同一台服务器.如果您制作磁盘副本或创建模板并乘以该模板,则将为每个实例付费.

No. As far as I know, the application license is tied to the data file, not to the VM instance. You would get the same bill, as it would be essentially the same Server. If you make a copy of the disk or create a template and multiply that one, you will get billed for EACH instance.

尝试一下,看看您的账单在上涨.

Try it and watch your bill rising.

对不起.这可能不是您想要的答案,但这就是处理AZURE许可的方式.

Sorry. This may not be the answer you like, but that's the way AZURE licensing is handled.

备份数据文件并将其还原到新的廉价服务器上既快捷又轻松.但是,由于您后来将服务器配置为多用途应用程序服务器,因此,如果您杀死了VM,这些应用程序也将变得无所适从.因此,也要为它们准备一个备份计划(以及停机时间).额外的临时映射磁盘将是转储所有贵重物品的好地方.

Backing up the data files and restoring them on a new and cheaper server is quick and painless. However, since you later configured the server as a multi purpose application server, these applications go down the drain too, if you kill the VM. So be prepared with a backup plan (and down time) for those too. An additional, temporary mapped disk would be a good place to dump all your valuables.

Dynamics CRM几乎完全在数据库中定义,因此还原此服务就像其他灾难恢复过程"一样.安装干净并还原数据库.您可能必须手动配置SQL Server登录名和权限,因为它们不是数据库的一部分,而是服务器实例的一部分.

Dynamics CRM is almost entirely defined in the databases, so restoring this service is like any other "desaster recovery procedure". Install clean and restore the database. You might have to manually configure SQL server logins and permissions as these are not part of the DB but of the server instance.

如果从普通服务器开始,如果提供安装介质和许可证密钥,则仍可以安装任何您喜欢的SQL Server版本.您可以从以下位置下载ISO 文件:来自VM的MS.这可能比从您的网站上载更快.

If you start with a plain server, you can still install any SQL-Server edition you like if you provide installation media and license key. You can download the ISO file from MS from within the VM. This may be quicker than uploading from your site.

请注意,对于您是否允许安装自己的许可证.我还没有听说过任何技术障碍.

Please mind that MS ist quite picky on whether you are allowed to install your own licenses. I have not heared of any technical hurdles.

这篇关于如何在Azure VM中更改SQL Server许可证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆