Configuring iNEWS Servers
63
c
Always back up the
/etc/hosts
file before editing.
To add IP addresses to all iNEWS Servers’
/etc/hosts
files:
1. Select
all
servers at the console. Instructions for how to do this is
provided in Chapter 2 of the
iNEWS Newsroom Computer System
Operations Manual.
2. Type
su
to log in as superuser and type the superuser password.
These steps require the
use of
ed
, the UNIX
line editor. For more
information, see
Chapter 10 of the
iNEWS Newsroom
Computer System
Operations Manual.
3. Type
ed /etc/hosts
This command launches the UNIX line editor, and positions the cursor
at the end of the
/etc/hosts
file, which contains a list of IP
addresses, computer names, and comments, such as:
125.1.0.1
NRCS-A
nrcs-a
nrcs-a.yourdomain.com
125.1.0.2
NRCS-B
nrcs-b
nrcs-b.yourdomain.com
n
A sample
/etc/hosts
file is provided in
Appendix B
.
4. Add addresses to the file by doing the following:
a.
Type
a
and press Enter to append information to the file.
b.
Enter IP addresses, computer names, and comments, such as:
125.1.10.50
MOSGWY mosgwy #MOS Gateway machine
c.
Type a period (
.
) to stop appending information to the file.
d.
(Optional) Type
p
to print the appended file and verify your
changes.
e.
Save the file by typing
w
.
f.
Quit
ed
by typing
q
.
The following example shows the UNIX line editing commands used
in step 4 along with explanations (appearing in parentheses after the
command):
a
(begins append mode)
125.1.10.50
MOSGWY
mosgwy
# MOS Gateway
125.1.10.60
MG1
mg1
# MOS Gateway Server1
(backup MOS
Gateway)
125.1.10.70
MG2
mg2
# MOS Gateway Server2
.
(ends append mode)
p
(prints appended file)
Summary of Contents for iNEWS
Page 1: ...Avid Technology Inc MOS Gateway Installation Operations Manual Version 2 0 ...
Page 6: ...6 ...
Page 12: ...12 ...
Page 76: ...Chapter 4 76 ...
Page 98: ...Chapter 5 98 ...
Page 104: ...Chapter 6 104 ...
Page 116: ...Appendix A 116 ...
Page 130: ...Appendix B 130 ...
Page 150: ...Index 150 ...
Page 152: ... 152 Reader s Comments ...