You can also define the reference hardware with the --scRefServerDn option,
a pointer (Distinguished Name) to the global directory.
3 Add a network interface card (with a static IP address from the subnet defined
in the scLocation object) using the --scNetworkcard option and the
--scDevice and --scIpHostNumber attributes. For example (type the
command all on one line):
posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret
--base cn=bs,cn=server,cn=east,ou=boston,o=mycorp,c=us
--add --scNetworkcard --scDevice eth0 --ipHostNumber 192.168.1.1
Table 6.3, "posAdmin Options for Creating scNetworkcard Objects"
(page 61) summarizes the posAdmin command options for scNetworkcard
attributes.
Table 6.3
posAdmin Options for Creating scNetworkcard Objects
Option
--scDevice
--ipHostNumber
--macAddress
--scModul
--scModulOption
--ipNetmaskNumber
Type
Description
must
The name of the network device of
the card; for example, eth0 or eth1.
must
The IP address; for example,
192.168.1.1.
may
The MAC address of the network in-
terface card.
may
The name of the Linux kernel module
for the network interface card.
may
The module options of the Linux
kernel module for the network inter-
face card.
may
If the ipHostNumber is not inside
the defined subnet of the location, add
the netmask which belongs to the IP
Setting Up a Branch Server
61
Need help?
Do you have a question about the LINUX ENTERPRISE 11 - SUBSCRIPTION MANAGEMENT TOOL GUIDE 10-02-2009 and is the answer not in the manual?
Questions and answers