Renaming a Site

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Renaming a Site

  • Creator
    Topic
  • #50182

    Here are the steps I took to rename a site. Note that some of these steps are site-specific and some of the steps included unix aliases specific to our site, too. Also note, some of the steps may not be necessary. If I wasn’t sure, I included them.

    Code:

    ====== How to Rename a Site ======

     – Shut down all processes
       * hcistopallp
       * hciprocstatus
         * confirm that all processes are down
     – hcisitectl -K
       * stop the monitor and lock manager daemons
     – cd $HCIROOT
     – mv oldSiteName newSiteName
       * ex. mv testbn_d testbnd
     – vi server/server.ini
       * change the site name where found
       * :%s/oldSiteName/newSiteName/g
     – cd
       * change to the home directory
     – grep -l oldSiteName * .*
       * search for files, including hidden files, where the old site name is found
       * change the site name where found
       :%s/oldSiteName/newSiteName/g
       * At Boones, these are the alias files:
         * vi .cshrc
         * vi .profile.local.end
         * vi .tcshrc
     – exit
       * exit from the terminal window
     – log back into the server
       * refreshes the site aliases and environmental variables for the new site
     – newSiteName (set the site, ex. testbnd)
     – cd $HCISITEDIR/iig/bin
     – grep -l oldSiteName * .*
       * change the site name where found
       * :%s/oldSiteName/newSiteName/g
     – cds
     – crontab -e
       * change the site name where found
       * :%s/oldSiteName/newSiteName/g
     – rm _tar.log
       * if it exists (this is a Boone archive file)
     – cd /opt/archives/
     – mv oldSiteName newSiteName
     – cd /data/xfer/ftp
     – mv oldSiteName newSiteName
     – cds
       * change to the site directory
     – vi NetConfig
       * change the site name where found
       * :%s/oldSiteName/newSiteName/g
     – cd $HCISITEDIR/exec
     – find . -name pid
       * remove if found
     – rm exec/mid.ctr
     – rm exec/monitorShmemFile
     – rm exec/databases/lm_qdx5.6_
       * remove if found
     – hcidbinit -ACf
       * reinitialize the database
     – hcimsiutil -Z
       * clear the stats
     – hcisitectl -S
       * start the monitor and lock manager daemons
     – hcidbdump -r -U max
       * check to make sure there are no errors with the recovery database
     – hcidbdump -e -U max
       * check to make sure there are no errors with the error database
     – bring up processes and threads

    -- Max Drown (Infor)

  • The forum ‘Cloverleaf’ is closed to new topics and replies.