微软高性能计算操作系统WCCS推出已经有一段时间了,该系统最大好处就是操作简单,上手快,维护方便等特点,适合规模不大,成本低廉的客户群体。这篇文章讲微软WCCS2008介绍给大家,供参考
| 如何用C shell and Korn shell 管理 Windows HPC Server 集群系统? |
(Christina Carter 中文不如英文溜,此文中文版纯属同事捉刀代笔勉为译之,如有不妥,尽请拍砖)
知道不?通过SUA(微软UNIX应用子系统),你可以用熟悉的C Shell和Korn Shell来运行PowerShell命令!如果你有Windows Server 2003 R2, Windows Server 2008 或是Windows Vista的旗舰版或企业版,那么快快装上SUA试试吧。
步骤如下:
2. 在C Shell中你可以使用如下命令 (需替换 "headnode"为你的集群头节点)
cd /dev/fs/C/Windows/System32/WindowsPowerShell/v1.0/
./powershell.exe -command get-hpcnode -scheduler headnode
alias nodelist ./powershell.exe -command get-hpcnode -scheduler headnode
nodelist
nodelist | grep Online
./powershell.exe -command get-hpcnode -scheduler headnode
alias nodelist ./powershell.exe -command get-hpcnode -scheduler headnode
nodelist
nodelist | grep Online
How to use C shell and Korn shell to manage a Windows HPC Server cluster?
Did you know you can use the familiar C shell and Korn shell under SUA (Subsystem for UNIX-based Applications) to call our PowerShell commands? If you have Windows Server 2003 R2, Windows Server 2008 or Windows Vista Ultimate and Enterprise editions, then you can install SUA and try it out.
Here are the steps:
1. Install SUA via Add/Remove Windows Components. See this post for how to do that on Vista, and see this one for Windows Server 2003 R2.
2. Here are a few commands you can use in C Shell (You need to substitute "headnode" with your head node name)
cd /dev/fs/C/Windows/System32/WindowsPowerShell/v1.0/
./powershell.exe -command get-hpcnode -scheduler headnode
alias nodelist ./powershell.exe -command get-hpcnode -scheduler headnode
nodelist
nodelist | grep Online
./powershell.exe -command get-hpcnode -scheduler headnode
alias nodelist ./powershell.exe -command get-hpcnode -scheduler headnode
nodelist
nodelist | grep Online

