Programmatically deploying multiple databases

Hi

I have to write an application that will deploy a set of 8 applications on the server.

I plan to proceed as follows. Please advise if I am missing some thing in my approach or if there is any other better way of accomplishing it.

Please provide your inputs on point numbers 12,13 and 15. Thanking you in advance.

My plan of action is as follows

  1. Assume that there are 4 databases per application. Hence 32 templates and one more database (called InstallDB) that will contain the code for deploying these databases will be present in one zip file.

  2. The user will extract the contents of the zip file on his local machine.

  3. The user will open the InstallDB in his Notes Client

  4. A form will be opened will be opened when he opens this database

  5. User will be asked for the following information

a) The applications that he wishes to install. The user can select one, two or all eight applications. Lets assume he selects all the eight applications.

b) Path where the NTF’s were extracted.

c) Name of the server where the databases needs to be deployed

d) IP address of the server

e) Folder path on the server where the application needs to be deployed.

f) Name of the server address book where person group documents can be created.

  1. Databases will be created programmatically on the server through the NTF’s extracted using Notes Database – CreateFromTemplate method

  2. Note – The user will have the access to create databases on the server.

  3. For each application one default group will be programmatically created in the server address book. The groups will be created in the server NAB. Group documents will be created just like the way normal notes documents are created in any other databases.

  4. The current user will be programmatically added in the groups created.

  5. Each application will have one of the Roles as “Admin”. The above default group created for each application will be programmatically added to the ACL of the respective dbs. The group will then be assigned the “Admin” role.

  6. For each application in each database, Profile documents will be programmatically created by using the GetProfileDocument method of the NotesDatabase

  7. Folder specific to each application needs to be created in the HTML folder. – Please advise how can folders be programmatically created in the HTML folder.

  8. The databases need to be signed – Please advise how can the database be programmatically signed

  9. In the set of these 8 applications there are two Domino Worklfow 3.0.1 applications.

  10. In the Wofklow application can you please advise how can I programmatically

a) Activate the process

b) Update the Cache

c) Can creation (programmatically) of Setup document, Language document, Role document, Group document and Department document be done & values populated the way normal notes documents are created through the agent.

Awaiting for your feedback.

Subject: So are you on R5 or R6?

In your duplicate post in the R4/R5 forum, you did not indicate that you were on R6. Therefore, my lengthy response in that forum was based on the assumption that you were on R5. If you’re going to post in both forums, please indicate in the R4/R5 forum that your post is an R6 post. Had I really replied appropriately to what you posted, I would have had to stick to R4 techniques, since you specified “All Releases”.

Essentially all the people who respond to postings read both forums, so there is no need to post in both forums. You’ll get better results if you post in the forum which relates to your version, as you’ll get version-appropriate responses.

Subject: RE: So are you on R5 or R6?

Hi Bruce.

First let me thank you for your reply for my post in R5 Forum. It was very helpful.

The application is to be developed in R5. I had put my post in R6 as well as I thought I would be getting more respsonses/ideas. And I was under the impression that all developers do not go thru both the forums.

Once again thanks for your response. Will get back again if I need more information.

Viki.