Page 1 of 1

If the base starts without warnings, then we can occupy it

Posted: Wed Jan 22, 2025 6:56 am
by nusaibatara
Automation We write a script on OneScript / Power Shell and the database is deployed, loaded, and deleted after a while. The downside is that different databases may be needed for different periods of time. Some for a day, some for a month. And not everything can be automated so that it works for all occasions. How we work with 1C test databases Our algorithm is universal and is suitable even if we have more than one test server. Preparatory stage On each test server we create databases in order: test1 test2 test3 ... As many as needed. It could be 20, 30, 100 1C databases. We will not create or deploy any other databases.



These are common databases that will belize phone number list be used by everyone. The developer needs a 1C test base The algorithm is as follows. We take the first 1C test database that comes our way. For example, test1, and try to open it in enterprise mode, having previously cleared the additional launch parameters: Clearing Launch Options If a login and password entry window appears, try the Administrator user and an empty password. The second option is to open the server cluster console and see which database has no lock or is expired.. If a window appears with a message that the base is blocked, then we take the next test2 base and so on until we find a free one.



Open the 1C cluster console and block the database for others to run, indicating the time for which we occupy the database. It is mandatory to indicate the time. If you are afraid that you will not have time to test everything, set the time with a reserve, say 5 days in advance. Also indicate who took it and for how long. In the message explanation, indicate until what time you plan to work, so that others can estimate the time (you never know if all the databases will be occupied). It is mandatory to indicate the date. Not enough time or coming to an end, increase it in the database properties.We indicate the blocking time, who took it and for how long, and a note In the 1C starter, we specify the blocking code for the busy base so that it can be worked with: It is better to make the code parameter unique for each user so that it does not accidentally coincide with others.