NetWorker: NMC(NetWorker Management Console)에서 사용하는 데이터베이스 서비스 포트를 변경하는 방법

Summary: 이 KB는 Linux 및 Windows에서 NMC 데이터베이스에서 사용하는 TCP 서비스 포트를 변경하는 방법을 설명합니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

기본적으로 NetWorker Management Console 데이터베이스는 TCP/IP 통신에 포트 5432 를 사용합니다. 잠재적인 연결 문제를 방지하려면 기본 포트를 사용하는 것이 좋습니다. NetWorker에서 사용하는 포트에 대한 기본값이 아닌 변경 사항을 추적해야 합니다. 

NetWorker 프로세스 및 포트

NMC에서 사용하는 서비스 포트를 변경하려면 다음 단계를 수행하십시오.

Linux NMC 서버

1. NMC 서비스를 중지합니다.

# /etc/init.d/gst stop
OR
# systemctl stop gst         

2. /opt/lgtonmc/etc/gstd.conf 파일을 편집하여 다음 줄을 추가하거나 변경합니다. 

int db_svc_port=5432

예:
int db_svc_port=2639

3. /opt/lgtonmc/bin/gstconfig 명령을 실행하여 NetWorker NMC 서버 구성 파일의 포트 값을 업데이트합니다.
 
4. /nsr/nmc/nmcdb/pgdata/postgresql.conf 파일을 편집하여 다음 줄을 추가하거나 변경합니다. 

포트=5432

예를 들어

포트=2639

 
5. NMC 서비스를 시작합니다.
Linux:

# /etc/init.d/gst start
OR
# systemctl start gst

  • sysvinit 시스템에 대해 /etc/init.d/gst 파일이 없거나 시스템 시스템에 대해 gst 파일이 활성화되지 않은 경우 스크립트를 실행합니다.

/opt/lgtonmc/bin/nmc_config

  • 서비스 시작을 위해 /opt/lgtonmc/logs/gstd.raw를 모니터링합니다.
  • 여러 Postgres 프로세스가 나타납니다. 두 개 이상의 httpd 프로세스가 나타납니다. 기본적으로 이러한 httpd 프로세스는 nsrnmc로 실행됩니다.
  • 다음 명령을 입력하여 데몬이 시작되었는지 확인합니다.

    ps -ef | grep -i lgtonmc

    데몬이 시작될 때 다음과 유사한 출력이 나타납니다.

    root 3064 1 0 10:03?        00:00:01 /opt/lgtonmc/bin/gstd
    dbuser 3329 1 0 10:04?        00:00:00 /opt/lgtonmc/postgres/bin/postgres -D /opt/lgtonmc/nmcdb/pgdata
    nsrnmc 3969 1 0 10:04?        00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
    nsrnmc 3970 3969 0 10:04?        00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf

 

Windows NMC 서버

1. GSTD 서비스 서비스를 중지합니다.

net stop gstd

2. C:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf 파일을 편집하여 다음 줄을 변경합니다.

int db_svc_port=5432

예:
int db_svc_port=2639
3. C:\Program Files\EMC NetWorker\Management\nmcdb\pgdata\postgresql.conf 파일을 편집하여 다음 줄을 변경합니다.

포트=5432

예:

port=2639

4. regedit를 사용하여 레지스트리의 포트 번호를 업데이트합니다.

a.  Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC로 찾습니다. INI\lgto_gst_pgsql.
B. 포트 레지스트리 키를 편집합니다.
C. Value Data 필드에서 새 포트 번호를 지정합니다.
D. 확인을 클릭합니다.

image.png

5. NMC 서비스를 시작합니다.

# net start gstd

Article Properties
Article Number: 000158473
Article Type: How To
Last Modified: 02 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.