![[UNIX, Linux, Windows, IBM i]](ngmulti.gif)
IBM MQ 구성 파일, mqs.ini
IBM® MQ 구성 파일(mqs.ini)에는 노드의 모든 큐 관리자와 관련된 정보가 포함되어 있습니다. 이 파일은 설치 중 자동으로 작성됩니다.
참고: mqs.ini 파일을 편집하는 방법과 시기 및 파일에 대한 변경 사항이 언제 적용되는지에 대한 자세한 내용은 멀티플랫폼에서 .ini 파일에서 IBM MQ 구성 정보 변경하기를 참조하세요.
디렉토리 위치
![[AIX]](ngaix.gif)
AIX® and Linux® 에서 데이터 디렉터리와 로그 디렉터리는 항상 각각 및 입니다. /var/mqm /var/mqm/log
Windows 시스템에서는 데이터 디렉터리 의 위치와 로그 디렉터리의 위치가 레지스트리에 저장되며, 그 위치는 다를 수 있습니다. mqs.ini The installation configuration information, which is contained in mqinst.ini on AIX and Linux systems, is also in the registry, as there is no mqinst.ini file on Windows (see 설치 구성 파일, mqinst.ini).
Windows 시스템용 파일은 키에 지정된 에 의해 제공됩니다. mqs.ini HKLM\SOFTWARE\IBM\IBM MQ WorkPath 이 파일은 다음을 포함합니다.- 큐 관리자의 이름
- 기본 큐 관리자의 이름
- 파일 각각에 연관된 파일의 위치
IBM i 에서 파일은 에 저장됩니다. mqs.ini /QIBM/UserData/mqm 파일에는 다음이 포함됩니다.- 큐 관리자의 이름
- 기본 큐 관리자의 이름
- 각 큐 관리자와 연관된 파일의 위치
- API 엑시트를 식별하는 정보 (자세한 정보는 API 엑시트 구성 참조).
![[AIX]](ngaix.gif)
![[Linux]](nglinux.gif)
AIX and Linux 에 대한 예제 mqs.ini 파일
#***********************************************************************#
#* Module Name: mqs.ini *#
#* Type : IBM MQ Machine-wide Configuration File *#
#* Function : Define IBM MQ resources for an entire machine *#
#***********************************************************************#
#* Notes : *#
#* 1) This is the installation time default configuration *#
#* *#
#***********************************************************************#
AllQueueManagers:
#***********************************************************************#
#* The path to the qmgrs directory, below which queue manager data *#
#* is stored *#
#***********************************************************************#
DefaultPrefix=/var/mqm
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=4096
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=/var/mqm/log
QueueManager:
Name=saturn.queue.manager
Prefix=/var/mqm
Directory=saturn!queue!manager
InstallationName=Installation1
QueueManager:
Name=pluto.queue.manager
Prefix=/var/mqm
Directory=pluto!queue!manager
InstallationName=Installation2
DefaultQueueManager:
Name=saturn.queue.manager
ApiExitTemplate:
Name=OurPayrollQueueAuditor
Sequence=2
Function=EntryPoint
Module=/usr/ABC/auditor
Data=123
ApiExitCommon:
Name=MQPoliceman
Sequence=1
Function=EntryPoint
Module=/usr/MQPolice/tmqp
Data=CheckEverything
![[Windows]](ngwin.gif)
Windows 에 대한 예제 mqs.ini 파일
#***********************************************************************#
#* Module Name: mqs.ini *#
#* Type : IBM MQ Machine-wide Configuration File *#
#* Function : Define IBM MQ resources for an entire machine *#
#***********************************************************************#
#* Notes : *#
#* 1) This is the installation time default configuration *#
#* *#
#***********************************************************************#
AllQueueManagers:
#***********************************************************************#
#* The path to the qmgrs directory, below which queue manager data *#
#* is stored *#
#***********************************************************************#
DefaultPrefix=C:\ProgramData\IBM\MQ
LogDefaults:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=4096
LogType=CIRCULAR
LogBufferPages=0
LogDefaultPath=C:\ProgramData\IBM\MQ\log
QueueManager:
Name=saturn.queue.manager
Prefix=C:\ProgramData\IBM\MQ
Directory=saturn!queue!manager
InstallationName=Installation1
QueueManager:
Name=pluto.queue.manager
Prefix=C:\ProgramData\IBM\MQ
Directory=pluto!queue!manager
InstallationName=Installation2
DefaultQueueManager:
Name=saturn.queue.manager
ApiExitTemplate:
Name=OurPayrollQueueAuditor
Sequence=2
Function=EntryPoint
Module=C:\usr\ABC\auditor
Data=123
ApiExitCommon:
Name=MQPoliceman
Sequence=1
Function=EntryPoint
Module=C:\usr\MQPolice\tmpq
Data=CheckEverything
![[IBM i]](ngibmi.gif)
IBM i 에 대한 예제 mqs.ini 파일
#***********************************************************************#
#* Module Name: mqs.ini *#
#* Type : IBM MQ Configuration File *#
#* Function : Define IBM MQ resources for the node *#
#* *#
#***********************************************************************#
#* Notes : *#
#* 1) This is an example IBM MQ configuration file *#
#* *#
#***********************************************************************#
AllQueueManagers:
#***********************************************************************#
#* The path to the qmgrs directory, within which queue manager data *#
#* is stored *#
#***********************************************************************#
DefaultPrefix=/QIBM/UserData/mqm
QueueManager:
Name=saturn.queue.manager
Prefix=/QIBM/UserData/mqm
Library=QMSATURN.Q
Directory=saturn!queue!manager
QueueManager:
Name=pluto.queue.manager
Prefix=/QIBM/UserData/mqm
Library=QMPLUTO.QU
Directory=pluto!queue!manager
DefaultQueueManager:
Name=saturn.queue.manager
참고:
- 노드의 IBM MQ 는 큐 관리자 및 저널의 기본 위치를 사용합니다.
- 큐 관리자 saturn.queue.manager가 이 노드의 기본 큐 관리자입니다. 이 큐 관리자와 연관된 파일의 디렉토리가 파일 시스템에 대해 유효한 파일 이름으로 자동 변환되었습니다.
- IBM MQ 구성 파일을 사용하여 큐 관리자와 연관된 데이터를 찾기 때문에 존재하지 않거나 올바르지 않은 구성 파일로 인해 일부 또는 모든 IBM MQ 명령이 실패할 수 있습니다. 또한 애플리케이션은 IBM MQ 구성 파일에 정의되지 않은 큐 관리자에 연결할 수 없습니다.
mqs.ini 스탠자
주의: 이 주제에서는 mqs.ini 파일의 스탠자에 대한 자세한 정보를 링크합니다. 각 스탠자에는 해당 스탠자의 매개변수에 대한 정보가 포함되어 있습니다.