In this task, you install and configure IBM® WebSphere® 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 WebSphere MQ server. It contains
one instance of the multi-instance queue manager called QMGR.
- venus
- A Windows Server 2008 used as
the second IBM WebSphere 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.
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 WebSphere 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 hostname is sun,
and the two IBM WebSphere 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 Version 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 WebSphere MQ for Windows on mars.
- On mars, log
on as the local administrator, mars\Administrator.
- Run the Setup command on the IBM WebSphere MQ for Windows installation media.
The IBM WebSphere MQ Launchpad
application starts.
- Click Software Requirements to
check that the prerequisite software is installed.
- Click to configure a domain user
ID.
- Click WebSphere MQ Installation,
select an installation language and click Launch IBM IBM WebSphere 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 WebSphere MQ is installed, and the installer
starts the
Prepare IBM WebSphere MQ
wizard.
Important:
Do not run the wizard yet.
- Configure the user that is going to run the IBM IBM WebSphere 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 IBM WebSphere 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 WebSphere MQ
wizard.
- The IBM IBM WebSphere MQ Installer runs the
Prepare IBM WebSphere MQ
automatically. To
start the wizard manually, find the shortcut to the Prepare IBM WebSphere MQ
in the folder. Select the shortcut that corresponds to the
installation of IBM WebSphere 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 WebSphere MQ for Windows for Windows domain users window.
- In the second Configuring IBM WebSphere 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 IBM WebSphere 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, to configure
a file share to store the data and log files of a multi-instance queue
manager.