6 adding and removing server names (addserver, Tools for special tasks system administrator tools – Siemens Unix V4.0 User Manual
Page 158
Tools for special tasks
System administrator tools
Product Manual
U7613-J-Z815-6-76
©
S
iem
e
n
s
N
ix
dor
f
In
fo
rm
at
io
n
s
s
y
s
te
m
e
A
G
1
9
9
5
P
fad
: D:
\O
7
613
e6
\u
761
3e
.k
07
7.3.6
Adding and removing server names (addserver/delserver)
You can use the
addserver
command to add an additional server name on a system, in order
to enable the clients to access the server with the newly added name.
You can use the
delserver
command to delete a server name that was added with the
addserver
command. This disables the clients to establish a new connection to the server
using this server name.
Usually these commands are used in high availability configurations.
Syntax:
addserver
delserver
Example:
One of two servers (
lion
and
tiger
) fails (e.g.
tiger
). The system administrator enters the
following command on the
lion
system:
/var/opt/lanman/etc/addserver tiger
The connected clients have to re-establish the connection to the resources to be used.
While the clients establish the connection under the name
tiger
, they use resources on the
lion
server.
After the failed server is operational again, the command for deleting the alternative name
must be entered on the second server:
/var/opt/lanman/etc/delserver tiger
Existing connections to the server
lion
which were set up using the name
tiger
are
not terminated when the name is deleted.
Advanced Server for UNIX can then be started on the failed server and the clients can use
the resources on the
tiger
server again.
This example takes no note of any actions that may be necessary to ensure the
availability of resources and user data.
i
i