Difference between revisions of "Steps to building a R11.2 Test System"

From SDU
Jump to: navigation, search
m
m
Line 4: Line 4:
 
The existing mdb is copied over using the SQL restore.
 
The existing mdb is copied over using the SQL restore.
  
 +
Steps to go from migrated R11.x system to a R11 test system
 +
  
Steps to go from migrated R11.x system to a R11 test system
+
#install the base product
+
#run the pdm_configure to setup and ensure the environment is correct.
 
+
#backup $nx_root/site/mods  on the production system
+
#do the following extract on production
  1 install the base product <br>
+
#*pdm_extract wspcol > wspcol.txt
  2 run the pdm_configure to setup and ensure the environment is correct. <br>
+
#*pdm_extract wsptab > wsptab.txt
  3 backup $nxroot/site/mods  on the production system <br>
+
#restore the wspcol / wsptab to the test system
  4 do the following extract on production <br>
+
#*pdm_load -f wspcol.txt
        4.1 pdm_extract wspcol > wspcol.txt <br>
+
#*pdm_load -f wsptbl.txt
        4.2 pdm_extract wsptab > wsptab.txt <br>
+
#delete the file $nx_root/site/mods/wsp_schema.log  (may not be present)
5 restore the wspcol / wsptab to the test system <br>
+
#log on to the wsp
5.1 pdm_load -f wspcol.txt <br>
+
##open the schema designer
5.2 pdm_load -f wsptbl.txt <br>
+
##open any table and make a dummy update (e.g. the description some place)
6 delete the file $nxroot/site/mods/wsp_schema.log  (maybe not present) <br>
+
##choose 'File' -> 'Save and Publish'
7 log on to the wsp <br>
+
##shutdown the Unicenter Service Desk services
7.1 open the schema designer <br>
+
##run pdm_publish
7.2 open any table and make a dummy update (e.g. the description some place) <br>
+
##start the Unicenter Service Desk services
7.3 choose 'File' -> 'Save and Publish' <br>
+
##check for any errors
7.4 shutdown the Unicenter Service Desk services <br>
+
##sign on to Service Desk
7.5 run pdm_publish <br>
+
##sign on to sql visual studio
7.6 start the Unicenter Service Desk services <br>
+
##*verify that any schema changes are in place
7.7 check for any errors <br>
+
##check the ddict.sch found in $nxroot\site verify fields are in the ddict
7.8 sign on to Service Desk <br>
+
#copy $nx_root/site/mods to the test system  (see step 3)
7.9 sign on to sql visual studio <br>
+
#run the pdm_configure to setup and ensure the environment is correct.
7.9.1 verify that any schema changes are in place <br>
+
#*check ddict.sch found in $nxroot/site, to make sure that the fields were added correctly
7.10 check the ddict.sch found in $nxroot\site verify fields are in the ddict <br>
+
#restore the database using SQL
8 copy $nxroot/site/mods to the test system  (see step 3) <br>
+
#change the database name in the following table
9 run the pdm_configure to setup and ensure the environment is correct. <br>
+
#*dlgtsrv table
9.1 check ddict.sch found in $nxroot/site, to make sure that the fields were added correctly <br>
+
#*#change the primary server name to the test server name
10 restore the database using SQL <br>
+
#*#*sym from production name  to test name
11 change the database name in the following table <br>
+
#*#*server from production name  to test name
11.1 dlgtsrv table <br>
+
#change all the notifications in the usp_contact record to 'Notification'
11.1.2 change the primary server name to the test server name <br>
+
#*c_cm_id1, c_cm_id2, c_cm_id3, c_cm_id4
11.1.2.1 sym from production name  to test name <br>
+
#*SQL Command is update dbo.usp_contact SET c_cm_idx = 1801
11.1.2.2 server from production name  to test name <br>
+
#reboot the server
12 change all the notifications in the usp_contact record to 'Notification' <br>
+
#before running pdm_configure, check the following
12.1  c_cm_id1, c_cm_id2, c_cm_id3, c_cm_id4 <br>
+
#*User ServiceDesk is active and available
12.2 SQL Command is update dbo.usp_contact SET c_cm_idx = 1801 <br>
+
#*Update ServiceDesk in the SQL database
13 reboot the server <br>
+
#apply patches
14 before running pdm_configure, check the following <br>
+
15.1 User ServiceDesk is active and available <br>
+
15.2 Update ServiceDesk in the SQL database <br>
+
<br>
+
20 Patches apply patches <br>
+
<br>
+
 
+
  
 
If any questions on this please email me, danegrey
 
If any questions on this please email me, danegrey
 
  
  

Revision as of 04:20, 10 June 2008

The following are the steps I have used to build several test systems.

It involves getting a sql backup of mdb, with all login's in the backup and then restoring is to a test system that has been setup and have an existing mdb built. The existing mdb is copied over using the SQL restore.

Steps to go from migrated R11.x system to a R11 test system


  1. install the base product
  2. run the pdm_configure to setup and ensure the environment is correct.
  3. backup $nx_root/site/mods on the production system
  4. do the following extract on production
    • pdm_extract wspcol > wspcol.txt
    • pdm_extract wsptab > wsptab.txt
  5. restore the wspcol / wsptab to the test system
    • pdm_load -f wspcol.txt
    • pdm_load -f wsptbl.txt
  6. delete the file $nx_root/site/mods/wsp_schema.log (may not be present)
  7. log on to the wsp
    1. open the schema designer
    2. open any table and make a dummy update (e.g. the description some place)
    3. choose 'File' -> 'Save and Publish'
    4. shutdown the Unicenter Service Desk services
    5. run pdm_publish
    6. start the Unicenter Service Desk services
    7. check for any errors
    8. sign on to Service Desk
    9. sign on to sql visual studio
      • verify that any schema changes are in place
    10. check the ddict.sch found in $nxroot\site verify fields are in the ddict
  8. copy $nx_root/site/mods to the test system (see step 3)
  9. run the pdm_configure to setup and ensure the environment is correct.
    • check ddict.sch found in $nxroot/site, to make sure that the fields were added correctly
  10. restore the database using SQL
  11. change the database name in the following table
    • dlgtsrv table
      1. change the primary server name to the test server name
        • sym from production name to test name
        • server from production name to test name
  12. change all the notifications in the usp_contact record to 'Notification'
    • c_cm_id1, c_cm_id2, c_cm_id3, c_cm_id4
    • SQL Command is update dbo.usp_contact SET c_cm_idx = 1801
  13. reboot the server
  14. before running pdm_configure, check the following
    • User ServiceDesk is active and available
    • Update ServiceDesk in the SQL database
  15. apply patches

If any questions on this please email me, danegrey



To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.