Hi there AppWorks fans,
Welcome to a new installment of AppWorks tips.
This time a totally different topic, but I need to cover this one as I have a requirement that needs this feature. It is called multi-tenancy on the already running OTDS instance.
Why? I want to make use of the AppWorks connector for Documentum and to make this feature work (in a supported environment) you need to have a second OTDS instance where you can save new partitions, resources and accessibility settings!
But is multi-tenancy not just the same as a new instance of the OTDS?…Yes it is, but creating a second tenant is easy to accomplish and you don’t need to have a second service/server up and running which is also cheaper and faster to setup.
Let get right into it…
First make sure your OTDS instance is running bright and shining!
http://192.168.56.107:8181/otds-admin/ and login with ‘firstname.lastname@example.org’. For me it’s password ‘admin’
Now give the needed file ‘execute’ permission with
chmod +x otdstenant.sh
And give this magic command:
./otdstenant.sh -addtenant dctm admin
dctmis the name of the tenant
adminis the password for the tenant specific user ‘email@example.com’
You get some logging output that should end with
***** OtdsDeploy Ended *****
To remove it you can do
./otdstenant.sh -removetenant dctm
Or in some circumstances you just want to disable the tenant with
./otdstenant.sh -disabletenant dctm
Or enable it again…
./otdstenant.sh -enabletenant dctm
For more information look in the OpenText PDF OpenText Directory Services 20.1.1 - Tenant Management Guide
Ok…we’ve created a new tenant, but now what?
Normally we login with this URL: http://192.168.56.107:8181/otds-admin
Let’s access our tenant be using this URL: http://192.168.56.107:8181/otdstenant/dctm/otds-admin
You can use your account ‘firstname.lastname@example.org’ with the password you provided in the ‘addtenant’ command!
And there you have it. A new tenant on top of the already running OTDS instance. A clean and simple “DONE” this time! Nothing more and nothing less, but ready for you start using this new tenant that can be treated as ‘new OTDS instance’.