In this task, you install and configure IBM® MQ on a server or workstation in the wmq.example.com
Windows domain.
In a production scale configuration, you might have to tailor the configuration to an
existing domain. For example, you might define different domain groups to authorize different
shares, and to group the user IDs that run queue managers.
The example configuration consists of three servers:
- sun
- A Windows Server 2008 domain controller. It owns the wmq.example.com domain that contains Sun, mars, and venus. For the purposes of illustration, it is also used as the file server.
- mars
- A Windows Server 2008 used as the first IBM MQ server. It contains one instance of the multi-instance
queue manager called QMGR.
- venus
- A Windows Server 2008 used as the second IBM MQ server. It contains the second instance of the
multi-instance queue manager called QMGR.
Replace the italicized names in the example, with names of your choosing.
Before you begin
Important: By default, computers beginning with
Windows 10 version 1607 and
Windows Server 2016 are more restrictive than earlier versions of
Windows.
This change restricts clients allowed to make
remote calls to the Security Accounts Manager (SAM) and could impact IBM MQ with queue managers failing to start. Access to SAM is
critical for the functioning of IBM MQ when IBM MQ is configured as a domain account.
-
Do the steps in Creating an Active Directory and DNS domain on Windows to create a domain controller, sun, for the domain wmq.example.com. Change the italicized names to suit your configuration.
- See Hardware and software
requirements on Windows systems for other
Windows versions you can run IBM MQ on.
About this task
In this task you configure a Windows Server 2008,
called mars, as a member of the wmq.example.com domain. You install IBM MQ, and configure
the installation to run as a member of the wmq.example.com domain.
This task is one of a set of related tasks that illustrate accessing queue manager
data and log files. The tasks show how to create a queue manager authorized to read and write data
and log files that are stored in a directory of your choosing. They accompany the task, Windows domains and multi-instance queue managers.
For the purposes of the task the domain controller host name is sun, and the two IBM MQ servers are called mars and venus. The domain is called wmq.example.com. You can replace all the italicized names in the task with names of your own choosing.
Procedure
-
Add the domain controller, sun.wmq.example.com to mars as a DNS server.
-
On mars, log on as mars\Administrator and click Start.
-
Right-click .
-
Right-click the network adapter, click Properties.
The system responds with the Local Area Connection Properties window listing items the connection
uses.
-
Select the Internet Protocol Version 4 or Internet Protocol
IBM WebSphere® MQ 6 from the list of items in the Local
Area Connection Properties window. Click and click the DNS tab.
-
Under the DNS server addresses, click Add....
-
Type the IP address of the domain controller, which is also the DNS server, and click
Add.
-
Click .
-
Type wmq.example.com and click Add.
-
Type wmq.example.com in the DNS suffix for this connection field.
-
Select Register this connection's address in DNS and Use this
connection's suffix in DNS registration. Click
-
Open a command window, and type the command ipconfig /all to review the
TCP/IP settings.
-
On mars, add the computer to the wmq.example.com domain.
-
Click Start
-
Right-click . In the Computer name, domain and workgroup settings division, click
Change settings.
-
In the System Properties windows, click Change....
-
Click Domain, type wmq.example.com, and click OK.
-
Type the User name and Password of the domain
controller administrator, who has the authority to permit the computer to join the domain, and click
OK.
-
Click in response to the
Welcome to the wmq.example.com domain
message.
-
Check that the computer is a member of the wmq.example.com domain
-
On sun, log on to the domain controller as wmq\Administrator.
-
Open and check mars is listed correctly in the Computers window.
-
Install IBM MQ for Windows on mars.
-
On mars, log on as the local administrator, mars\Administrator.
-
Run the Setup command on the IBM MQ for Windows installation media.
The IBM MQ Launchpad application starts.
-
Click Software Requirements to check that the prerequisite software is
installed.
-
Click to configure a domain user ID.
-
Click IBM MQ Installation,
select an installation language and click Launch IBM MQ
Installer.
-
Confirm the license agreement and click to accept the default configuration. Wait for the installation to complete, and click
Finish.
You might want to change the name of the installation, install different components, configure a
different directory for queue manager data and logs, or install into a different directory. If so,
click Custom rather than Typical.
IBM MQ is installed, and the installer starts the
Prepare IBM MQ Wizard.
Important: Do not run the wizard yet.
-
Configure the user that is going to run the IBM MQ
service with the Run as a service right.
Choose whether to configure the local mqm
group, the Domain mqm
group, or the user that is going to run the IBM MQ
service with the right. In the example, you give the user the right.
-
Click , type the command secpol.msc and click
OK.
-
Open . In the list of policies, right-click
.
-
Click Add User or Group... and type
wmquser1
and click Check Names
-
Type the user name and password of a domain administrator,
wmq\Administrator, and click . Close the Local Security Policy window.
-
Run the Prepare IBM MQ Wizard.
-
The IBM MQ Installer runs the Prepare IBM MQ Wizard automatically.
To start the wizard manually, find the shortcut to the Prepare IBM MQ Wizard in the folder. Select the shortcut that corresponds to the installation of IBM MQ in a multi-installation configuration.
-
Click Next and leave Yes clicked in response to
the question
Identify if there is a Windows 2000 or
later domain controller in the network
.
-
Click in the first Configuring IBM MQ for Windows for
Windows domain users window.
-
In the second Configuring IBM MQ for Windows for Windows domain users window, type
wmq
in the Domain field. Type
wmquser1
in the User name field, and the password, if you set one, in the
Password field. Click Next.
The wizard configures and starts the IBM MQ with
wmquser1.
-
In the final page of the wizard, select or clear the check boxes as you require and click
Finish.
What to do next
- Do the task, Reading and writing data and log files authorized by the local mqm group, to verify that the installation and
configuration are working correctly.
- Do the task, Creating a shared directory for queue manager data and log files on Windows, to configure a file share to store the data and log
files of a multi-instance queue manager.