Modify the TCP/IP settings of an instance
You can modify the TCP/IP settings of a Directory Server instance or a Proxy Server instance.
To modify the TCP/IP settings of an instance with command-line
utilities, you must meet the following conditions:
- An instance with the same version of command-line utilities must exist.
- Stop the Directory Server and the Administration Server of the instance.
Use the following virtual appliance commands to update the IP addresses
and port numbers of a Directory Server instance or a Proxy Server
instance. To use these commands, you must log in to the virtual appliance
command-line interface. See Virtual appliance
commands for Directory Server.
- idssethost
- Use the idssethost virtual appliance command to update the IP addresses.
- To update a specific IP address, xx.xx.xx.xx,
run the following command:
idssethost -I instance_name -i xx.xx.xx.xx - To update all IP addresses that are configured, run the following
command:
idssethost -I instance_name -i all
- To update a specific IP address, xx.xx.xx.xx,
run the following command:
- idssetport
- Use the idssetport virtual appliance command to update the port numbers.Note: You must assign a unique port numbers to the Directory Server ports and must not conflict with existing ports that are in use on the computer. On Linux® systems, port numbers in the range of 1 - 1000 can be used only by root.
- To update the server port number, run the following command:
idssetport -I instance_name -p port_no - To update the server secure port number, run the following command:
idssetport -I instance_name -s secure_port - To update the Administration Server port, run the following command:
idssetport -I instance_name -a adm_port - To update the Administration Server secure port, run the following
command:
idssetport -I instance_name -c adm_secure_port
- To update the server port number, run the following command: