You can use the idsicrt command to create an instance or the idsideploy command to copy an instance.
For example, using the idsicrt command:
idsicrt -I myinst –p 389 –s 636 –e mysecretkey! -g mysecretsaltIf the directory server instance already existed, this command would fail. If you did not specify the encryption salt, the command would randomly generate an encryption salt. If you did not specify the encryption seed, you would be prompted for the seed. In the following example, you are prompted to enter an encryption seed. The encryption seed is not displayed on the command line when you enter it. After you type the encryption seed and press Enter, the command attempts to create the directory server instance.
idsicrt -I myinst –p 389 –s 636
The response is:
Enter encryption seed:
idsicrt –I myinst –p 389 –s 636 –e mysecretkey! -g mysecretsalt –i 1.9.86.566
idsicrt -I myinst –p 389 –s 636 –e mysecretkey! –t mydbin
In this case, the command will randomly generate an encryption salt value.
idsicrt -I myinst -e mysecretkey! -l C: -w mypassword
idsicrt -I myinst -e mysecretkey! -G primary -w mypassword
idsicrt -x -I proxinst –p 389 –s 636 –e mysecretkey!
For example, to create a directory server instance that is a copy of an existing instance using the idsideploy command:
idsideploy -a ownerpw -I newinst -e mysecretkey! -D cn=root -sU ldap://localhost:389 -sD cn=root1 -sw srcpw -w newdnpw -l C: -b C:\output -q -L C:\backup
idsideploy -x -I prxinst -D cn=root -e abcdefghijkl -sD cn=root -sw root -sU ldap://localhost:7389
idsideploy -I newinst -a newusrpw -D newadminDN -w newdnpw -e encryptionseed -l C: -sU ldap://localhost:7389 -sD srcAdminDN -sw newadmpw
idsideploy -I newinst -a newusrpw -D newadminDN -w newdnpw -e encryptionseed -G primary -sU ldap://localhost:7389 -sD srcAdminDN -sw srcadmpw
See the IBM® Tivoli® Directory Server 6.3 Command Reference for more information about using the idsicrt and idsideploy commands.
[ Top of Page | Previous Page | Next Page ]