简体   繁体   English

Azure规模集上的虚拟机上的数据库

[英]Database on a Virtual Machine on an Azure Scale Set

I have to set up a database on an Virtual Machine on a Scale Set, for scalability. 为了实现可伸缩性,我必须在规模集的虚拟机上设置数据库。 This database will update itself every 30 sec from an external source and it will be then used (read only) internally in Azure by other virtual machines. 该数据库将每30秒从外部源更新一次,然后由其他虚拟机在Azure内部使用(只读)。 What I'm asking is this: How are new VMs created in a Scale set? 我要问的是:如何在Scale集中创建新的VM? Are they created from a STATIC image or are they create froma MASTER VM in the scale set that I can update? 它们是从STATIC映像创建的,还是从MASTER VM(可以更新的比例集)创建的? If a new instance of the VM is created will it have the "latest" version of the most updated VM that's already up? 如果创建了新的VM实例,它将具有最新的VM的“最新”版本吗?

Thanks in advance 提前致谢

I think the new instances are created from a STATIC image. 我认为新实例是从STATIC映像创建的。 Refer to this . 参考这个

With scale sets, all VM instances are created from the same base OS image and configuration. 使用规模集,所有VM实例都是从相同的基本OS映像和配置创建的。 This approach lets you easily manage hundreds of VMs without additional configuration tasks or network management. 这种方法使您可以轻松管理数百个VM,而无需其他配置任务或网络管理。

Also, the instances in the same scale set could not have such auto-sync mechanic which enables every instance to upgrade to the latest status for your hosting application. 此外,相同比例集的实例不能具有这种自动同步机制,该机制使每个实例都可以升级到托管应用程序的最新状态。 If you want to update the scale sets, it's recommended to create vmss from a custom image as the base image. 如果要更新比例尺集,建议从自定义映像创建vmss作为基础映像。 Refer to this . 参考这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JDBC是否将数据库会话时区设置为Java虚拟机的时区? - Does JDBC set the database session time zone to that of the Java virtual machine? Azure虚拟机上来自Postgresql的连接断开 - Connection drop from postgresql on azure virtual machine 如何从虚拟机(VMWare)连接到SQLite数据库 - How to connect to SQLite database from virtual machine (VMWare) 编写Java脚本以通过虚拟机查询数据库 - Writing a java script to query database via virtual machine 如何通过WCF连接到另一个虚拟机上的数据库? - How can I connect to a database on another virtual machine through WCF? 将SQL Server数据库从本地计算机部署到SQL Azure时出现问题 - Issue deploying SQL Server database from local machine to SQL Azure openstack是哪一个宝库? 数据库即服务解决方案还是虚拟机映像数据库? - Which one trove openstack is? a database as a service solution or a virtual machine image database? 从虚拟机中的Visual Studio 2010调试会话连接到SQL Server数据库 - Connecting to SQL Server database from a Visual Studio 2010 debugging session in a virtual machine 我已在vm ware虚拟机中安装了进度数据库,但无法从主机连接 - I have installed progress database in vm ware virtual machine but I can not connect from my host 虚拟机上的 mongodump 文件损坏 - mongodump file corruption on virtual machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM