7 PosAdmin
Attribute
--cn
--ipHostNumber
--scDnsName
--scServiceName
--scServiceStartScript must This is the name of the init script in /etc/init.d.
--scServiceStatus
Table 7.5: Service Attributes for PosAdmin
After that, each server needs two network interface cards. The example below
shows how to add the network devices:
## eth0 for bs1
posAdmin.pl --user cn=admin,o=mycorp,c=de \
--password secret \
--base cn=bs1,cn=server,cn=habor,ou=berlin,o=mycorp,c=de \
--add --scNetworkcard --scDevice eth0 --ipHostNumber 192.168.1.1
## eth1 for bs1
posAdmin.pl --user cn=admin,o=mycorp,c=de \
--password secret \
--base cn=bs1,cn=server,cn=habor,ou=berlin,o=mycorp,c=de \
--add --scNetworkcard --scDevice eth1 --ipHostNumber 192.168.0.1
## eth0 for bs2
86
Type
Explanation
must This is the common name of the service.
must This is the existing IP address assigned to a
network interface card.
must This is the DNS Name of the service, which will
be created by the posldap2dns.pl script. For
example: dns, tftp, dhcp.
For correct 'reverse' resolution of service IP ad-
dresses to DNS names, exactly one of the ser-
vice names for an IP address may be marked as
the canonical name. The scDnsName attribute
is marked by a semicolon, followed by the let-
ter 'C' or the word 'Canonical'. This name will
be used for the reverse lookup table for the IP
address by posldap2dns.pl. The IP addresses
belonging to a branch server have their reverse
lookup set up automatically, so only virtual or
external IP addresses need to have a 'canoni-
cal' address specified explicitly.
must This is the name of the service. For example:
tftp, dns, dhcp.
For example, atftp for the tftp service.
must This is the flag to enable or disable the service.
Possible values are TRUE and FALSE.