You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Steps to upgrade DSS Cloud (with Kubernetes and User Isolation) to latest version.

For commands with sudo, run as your user (i.e. run as cheryl_abundo) instead of as dataiku.

For all other commands, run as dataiku.


  1. Check if anyone is logged in to DSS cloud 

    If no one is connected, stop DSS (run commands as dataiku)
       sudo su - dataiku
       ./design/bin/dss stop
        

    If someone is connected, inform the person/s before stopping DSS,

  2. Clean-up DSS disk
      rm -rf ./design/tmp/*
      rm -rf ./design/caches/*
      rm -rf ./design/exports/*
      rm -rf ./design/diagnosis/*
      rm -rf ./design/jobs/*
      rm -rf ./design/scenarios/*

  3. Backup data directory

    1. Check the size of the DSS data directory
      du -hcs ./design


    2. Check if there's enough disk space in the VM
      df -h

      If there's not enough space, incrased disk by following 3c else proceed to 4

    3. Increase disk attached to VM instance


      1. Open boot disk and click on Edit. Specify higher Size and click Save.


      2. Open VM SSH and identify the disk with the file system and the partition that you want to resize.
        sudo lsblk

      3. Resize the image partition identified above.
        sudo growpart /dev/sda 1

      4. Extend the file system on the disk/partition to use the added space.
        sudo xfs_growfs /dev/sda1

      5. Verify that the file system is resized
        df -h /dev/sda1

    4. Copy DSS data directory to backup directory (can take awhile, have coffee, work on something else in the meantime)
      cp -rv ./design ./design_backup

  4. Download the latest Dataiku installation file
      wget https://cdn.downloads.dataiku.com/public/dss/6.0.1/dataiku-dss-6.0.1.tar.gz
    Unpack the file
      tar xzf dataiku-dss-6.0.1.tar.gz


 

 

 

  • No labels