运行 IIS 的服务器的磁盘配置
我从一家外部公司(该公司已经破产)继承了一个网站,我需要将其部署到我们的服务器(它的 3 个网站一起运行)
但是,在测试中,尽管该应用程序运行正常,但性能很差,我我非常确定这是因为应用程序将文件写入本地磁盘。我们目前在服务器中只有一个磁盘,但作为虚拟磁盘,我们可以很快地将其增加到两个。 服务器是运行 IIS7 的 Windows 2008,并且已经有两个处理器。
有些文件超过 100mb,但也有很多小写入和日志文件写入。
我的问题是应用程序的哪些部分放在哪里? 最好将操作系统放在一个磁盘上,将网站和文件/日志放在另一个磁盘上吗? 或者一个是站点和操作系统,另一个是文件? 有没有一个“标准”的起点?
如果有人可以回复这样的内容,但有一个解释,这样我就明白为什么!!
例如
C:操作系统
C:网站
D:文件
D:日志
I've inherited a website from an external company (who have gone bust) and I need to get it deployed to our servers (its 3 web sites running together)
However, in testing, although the app runs correctly, performance is poor and I am pretty certain this is because the app writes files to the local disk. We only currently have a single disk in the server but as its virtual we can increase this to two fairly quickly.
Server is Windows 2008 running IIS7 and has two processors already.
Some of the files are 100mb+, but there are also lots of small writes and log file writes as well.
My question is where to put which parts of the application?
Is it best to have the OS on one disk, Web sites and files/log on another?
or sites and OS on one and files on another?
Is there a "standard" point to start from?
If anyone could reply with something like this, but with an explanation so I understand WHY!!
e.g.
C: OS
C: WebSites
D: Files
D: Logs
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的背景听起来像是来自 Linux,因为有些人在配置新服务器时会考虑您列出的项目。我们有一些 IIS 站点;我们主要在 Linux 上运行 Apache,所以我正在尝试这一点。
在我们有 IIS 的地方,我们也往往有 MS SQL Server。我会将 Windows 操作系统保留在一个漂亮的大分区上,并将所有 IIS 内容(包括根目录)放在第二个驱动器上。 IIS 默认安装在 C:\,但我相信您可以将其移动到另一个驱动器。实用程序的名称以及如何执行此操作最好留给那些经常执行此操作的人。
换句话说,我会对 OS/IIS 进行总磁盘分割,然后从那里进行调整。但是,请确保您有足够的磁盘空间并且可以进行碎片整理。
Your background sounds like it's from Linux, because some people configure new servers taking the items you listed into account. We have a handful of IIS sites; we mostly run Apache and on Linux, so I'm taking a stab at this.
Where we have IIS, we also tend to have MS SQL Server. I would keep the Windows OS on a nice large partition, and put everything IIS, including the root directory on a second drive. IIS installs defaulted to C:\, but I believe you can move it to another drive. The names of the utilities and how to do this, are best left to those who do this regularly.
In other words, I'd make a gross disk split OS/IIS, and then tune from there. However, make sure you have lots of disk space and can defragment.