매번 느끼는것이지만 버전이 업될때마다 조금씩 조금씩 설치 방법이 달라지고 있습니다.
최근 SAP BusinessObject BI 4.2 + Lumira 4.2와 S4HANA 1809 설치하면서 고전을 좀 했습니다.
특히 S4HANA의 경우 설치 잘 되다가 중간에 에러 툭터지면서 FQDN (서버 이름)를 문제 삼아 더 진행이 안되는 상황도 발생 했고요.
S4HANA의 경우 SUSE를 애용하는데요.
제가 사용을 잘못하는건지 Hostname과 Domain 이름을 어드민툴을 이용해 설정해도, 어느 순간 바뀌어 있고 해서 이상 증상을 겪었습니다.
그래서 수작업으로 하는 방법을 찾아 내용 올립니다.
· Hostname -> oracleuser
· Domain -> 도메인.com
1. Modify hostname file
With root permissions, edit file /etc/hostname.
oracleuser@linux:~> vi /etc/hostname
Write the hostname for the server.
oracleuser
2. Modify hosts file
Check your network interfaces to find out the IP address for your Ethernet network (eth1).
oracleuser@linux:~> ifconfig
eth1 Link encap:Ethernet HWaddr 08:00:27:91:22:4E
inet addr:192.168.0.2 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe91:224e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:234 errors:0 dropped:0 overruns:0 frame:0
TX packets:266 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22687 (22.1 Kb) TX bytes:28332 (27.6 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4630 (4.5 Kb) TX bytes:4630 (4.5 Kb)
With root permissions, edit file /etc/hosts.
oracleuser@linux:~> vi /etc/hosts
Set your IP address for Ethernet network with your FQDN:
o 192.168.0.2 oracleuser.도메인.com oracleuser
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
192.168.0.2 oracleuser.도메인.com oracleuser
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
Restart rcnetwork services.
oracleuser@linux:~> rcnetwork restart
3. Verification
Check your parameters.
oracleuser@linux:~> hostname --short
oracleuser
oracleuser@linux:~> hostname --domain
도메인.com
oracleuser@linux:~> hostname --fqdn
oracleuser.도메인.com
oracleuser@linux:~> hostname --ip-address
192.168.0.2
끝.