MSMQ有两种模式:域模式、工作组模式,工作组模式的安装很简单,但域模式由于涉及权限,相对麻烦些。
在windows2012上安装Message Queuing(域模式)
1. Windows2012 上安装域控制(AD DC);
2. 域控制服务器上需先设置network service权限(这点是关键,否则后面安装MSMQ服务的机器工作会不正常)
-
Click Start , point to Programs , point to Administrative Tools , and then click Active Directory Users and Computers to open Active Directory Users and Computers .
-
Click the View menu and click to enable the options for Users, Groups, and Computers as containers and Advanced Features .
-
Click to expand the Domain container for the domain, click to expand the Computers container, right-click the computer object on which the Directory Services Integration feature is being installed, and then clickProperties to display the computer properties dialog box.
-
Click to select the Security tab of the computer properties dialog box.
-
Click the Advanced button to display the Advanced Security Settings for <computer> dialog box.
-
Click the Add button to display the Select User, Computer, or Group dialog box.
-
Type Network Service into the Enter the object name to select edit box. Click Check Names , and then click OK .
-
Click to enable Allow for the Create MSMQ Configuration objects permission, and then click OK to close the Permissions Entry for <computer> dialog box.
-
Click OK to close the Advanced Security Settings for <computer> dialog box.
- Click OK to close the computer properties dialog box.
上面步骤是微软文档内的原文,大家可以参照设置;
3. 在客户机器上先加入域,然后安装MSMQ服务和集成目录服务
1. 打开 服务管理器, 点击 添加角色和功能;
2. 默认 下一步 , 下一步,至 选择功能, 勾选 目录服务集成

浙公网安备 33010602011771号