Migrate > Migrating WebSphere Commerce Developer > Migrating the database > Use the command line



Migrate the development environment database using the command line

Steps must be completed before beginning to migrate your WebSphere Commerce development environment database. Review this information for additional tasks and instructions on migrating the database.


Before you begin

  1. DB2 Run the updatedb2configuration.bat script.


Procedure

  1. Go to directory WCDE_installdir\bin.

  2. Run the database check script by typing:

    wcim_ant.bat -tier db -action check -from previous_version
    

    Where:

    previous_version

    The version of WebSphere Commerce you are migrating from: 561 or 60.

  3. Run the database migration script by typing:

    wcim_ant.bat -tier db -action migrate -from previous_version
    

    Where:

    previous_version

    The version of WebSphere Commerce you are migrating from: 561 or 60.

  4. Check the wcim.server.yyyy.mm.dd_hh.mm.ss.log file in the WCDE_installdir\logs\WCIM\ directory (assuming you are using the defaults) for additional messages or errors. Resolve any errors that are flagged before proceeding.

    To check the log files...

    1. Access the log file by typing the following path:

      • Windows WC_INSTALL\logs\WCIM\wcim.server.yyyy.mm.dd_hh.mm.ss.log

    2. Review warnings generated by the database tier migration script and determine if any actions are needed based on those warnings. The actions can be found within the warning. The following list shows the type of warnings to review:

      [2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The bootstrap data has changed. Consider replacing data in table cmdreg with data in cmdreg_new.
      [2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg_new: storeent_id = 0, interfacename = 0, classname = com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmd, properties = com.ibm.commerce.usermanagement.commands.UserRegistrationAddUBFCmdImpl
      [2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg : storeent_id = 0, interfacename = 0, classname = null, properties = com.ibm.commerce.usermanagement.commands.UserRegistrationAddCmdImpl
      [2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg_new: storeent_id = 0, interfacename = 0, classname = com.ibm.commerce.order.calculation.ApplyShippingCmd, properties = com.ibm.commerce.order.calculation.ApplyShippingCmdImpl
      [2009.09.23.23.07.23] WARNING: [wcimBootstrapDeltaTask] The row in thecmdreg : storeent_id = 0, interfacename = 0, classname = null, properties = com.ibm.commerce.order.calculation.PromotionEngineApplyShippingCmdImpl
      


What to do next

Migrate custom assets


+

Search Tips   |   Advanced Search