Creating a Restore Image

You must create a new restore image either when initially deploying or after upgrading a software. If you do not create this image, the software on the recovered instance will not match and the database cannot start if a node failure occurs. Complete this procedure to create a new restore image to use in the restoration process in case of a node failure.
  1. Stop the database.
    # tpareset –x –y stop for swupgrade
  2. Verify the database is in a DOWN/HARDSTOP state.
    # pdestate -a
    PDE state: DOWN/HARDSTOP
    Putting the database in this state may take a number of minutes.
  3. Display a list of running nodes by instance ID, BYNET name, and PMA ID.
    # tdc-nodestart-post-swupgrade --list-nodes
    Following is an example of output:
    Instance ID   Bynet Name   PMA ID
    -------------------- ---------------- ----------------
    i-1a78a202   byn001-0133
    i-78a40160   byn001-0234
    i-2bd57033   byn001-0335
    i-5bd87d43   byn001-0436
    i-1878a200   byn001-0537
    i-a57ba1bd   byn001-0638
  4. Specify either the instance ID, BYNET name, or PMA ID to use to create the instance.
    # tdc-nodestart-post-swupgrade --instance-id instance_ID
    # tdc-nodestart-post-swupgrade --bynet-name BYNET_NAME
    # tdc-nodestart-post-swupgrade --pma-id PMA_ID
    
    For example:
    # tdc-nodestart-post-swupgrade -–bynet-name byn001-03
    where byn001-03 is the BYNET name.
  5. Start the database.
    # /etc/init.d/tpa start
    
  6. Ensure the database in running again.
    # pdestate -w
    PDE state: RUN/STARTED
    Putting the database in this state may take a number of minutes.

results matching ""

    No results matching ""