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

From SDU
Jump to: navigation, search
(New page: 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...)
 
m
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
[[Category:Installation]]
 +
{{Global Header}}
 +
{{Global Announcement}}
 +
 +
== Overview ==
 
The following are the steps I have used to build several test systems.
 
The following are the steps I have used to build several test systems.
  
Line 4: Line 10:
 
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
+
== Procedures ==
+
#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
  1 install the base product <br>
+
#do the following extract on production
  2 run the pdm_configure to setup and ensure the environment is correct. <br>
+
#*pdm_extract wspcol > wspcol.txt
  3 backup $nxroot/site/mods  on the production system <br>
+
#*pdm_extract wsptbl > wsptbl.txt
  4 do the following extract on production <br>
+
#restore the wspcol / wsptab to the test system
        4.1 pdm_extract wspcol > wspcol.txt <br>
+
#*pdm_load -f wspcol.txt
        4.2 pdm_extract wsptab > wsptab.txt <br>
+
#*pdm_load -f wsptbl.txt
5 restore the wspcol / wsptab to the test system <br>
+
#delete the file [[$NX_Root]]/site/mods/wsp_schema.log  (may not be present)
5.1 pdm_load -f wspcol.txt <br>
+
#log on to the [[Web Screen Painter]]
5.2 pdm_load -f wsptbl.txt <br>
+
##open the [[Schema Designer]]
6 delete the file $nxroot/site/mods/wsp_schema.log  (maybe not present) <br>
+
##open any table and make a dummy update (e.g. the description some place)
7 log on to the wsp <br>
+
##choose 'File' -> 'Save and Publish'
7.1 open the schema designer <br>
+
##shutdown the Unicenter Service Desk services
7.2 open any table and make a dummy update (e.g. the description some place) <br>
+
##run [[pdm_publish]]
7.3 choose 'File' -> 'Save and Publish' <br>
+
##start the Unicenter Service Desk services
7.4 shutdown the Unicenter Service Desk services <br>
+
##check for any errors
7.5 run pdm_publish <br>
+
##sign on to Service Desk
7.6 start the Unicenter Service Desk services <br>
+
##sign on to sql visual studio
7.7 check for any errors <br>
+
##*verify that any schema changes are in place
7.8 sign on to Service Desk <br>
+
##check the ddict.sch found in $nxroot\site verify fields are in the ddict
7.9 sign on to sql visual studio <br>
+
#copy [[$NX_Root]]/site/mods to the test system  (see step 3)
7.9.1 verify that any schema changes are in place <br>
+
#run the [[pdm_configure]] to setup and ensure the environment is correct.
7.10 check the ddict.sch found in $nxroot\site verify fields are in the ddict <br>
+
#*check ddict.sch found in [[$NX_Root]]/site, to make sure that the fields were added correctly
8 copy $nxroot/site/mods to the test system  (see step 3) <br>
+
#restore the database using SQL
9 run the pdm_configure to setup and ensure the environment is correct. <br>
+
#change the database name in the following table
9.1 check ddict.sch found in $nxroot/site, to make sure that the fields were added correctly <br>
+
#*dlgtsrv table
10 restore the database using SQL <br>
+
#*#change the primary server name to the test server name
11 change the database name in the following table <br>
+
#*#*sym from production name  to test name
11.1 dlgtsrv table <br>
+
#*#*server from production name  to test name
11.1.2 change the primary server name to the test server name <br>
+
#change all the notifications in the usp_contact record to 'Notification'
11.1.2.1 sym from production name  to test name <br>
+
#*c_cm_id1, c_cm_id2, c_cm_id3, c_cm_id4
11.1.2.2 server from production name  to test name <br>
+
#*SQL Command is update dbo.usp_contact SET c_cm_idx = 1801
12 change all the notifications in the usp_contact record to 'Notification' <br>
+
#reboot the server
12.1  c_cm_id1, c_cm_id2, c_cm_id3, c_cm_id4 <br>
+
#before running [[pdm_configure]], check the following
12.2 SQL Command is update dbo.usp_contact SET c_cm_idx = 1801 <br>
+
#*User ServiceDesk is active and available
13 reboot the server <br>
+
#*Update ServiceDesk in the SQL database
14 before running pdm_configure, check the following <br>
+
#apply patches
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.....
+
== See Also ==
 +
[[Migrating Schema Changes Between Systems]]

Latest revision as of 12:42, 29 October 2008

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.

Overview

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

Procedures

  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 wsptbl > wsptbl.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 Web Screen Painter
    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 $NX_Root/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

See Also

Migrating Schema Changes Between Systems