Difference between revisions of "Vital Signs HPUX Server Migration"

From Vital Soft Wiki
Jump to: navigation, search
>Jeremyb
>Jeremyb
Line 3: Line 3:
  
 
==Step 1 - Software Dependencies==
 
==Step 1 - Software Dependencies==
 +
The following software is required to be installed prior to running Vital Signs.
  
'''AskPlus 8.3.3+'''
+
-AskPlus 8.3.3+
  
'''Python 2.7.3'''
+
-Python 2.7.3
  
'''Python ConfigObj library'''
+
-Python ConfigObj library
  
  
 
==Step 2 - File Migration==
 
==Step 2 - File Migration==
  
The following folders should be migrated from the old HPUX system to the new one
+
The following folders should be migrated from the old HPUX system to the new one retaining their file permissions.  This is possible using the scp command with -rp, r stands for recursive copy and p stands for preserve.
 +
 
 +
    $ scp
 +
    Usage: scp [options] [[user@]host1:]file1 [...] [[user@]host2:]file2
 +
    Options:
 +
      -1          Forces scp to use protocol 1.
 +
      -2          Forces scp to use protocol 2.
 +
      -4          Forces scp to use IPv4 addresses only.
 +
      -6          Forces scp to use IPv6 addresses only.
 +
      -B          Selects batch mode (prevents asking for passwords or passphras-es).
 +
      -C          Compression enable.
 +
      -c cipher  Selects the cipher to use for encrypting the data transfer.
 +
      -F ssh_config Specifies an alternative per-user configuration file for ssh.
 +
      -i identity_file Selects the file from which the identity(private key)for RSA authentication is read.
 +
      -l limit    Limits the used bandwidth, specified in Kbit/s.
 +
      -o ssh_option Used to pass options to ssh in the format used in ssh_config file.
 +
      -P  port    Specifies the port to connect to on the remote host.
 +
      -p          Preserves modification times, access times, and modes from the original file.
 +
      -q          Disables the progress meter.
 +
      -r          Recursively copy entire directories.
 +
      -S program  Name of program to use for the encrypted connection.
 +
      -v Verbose mode.
 +
 
 +
 
 
- /ASKPLUS/vsdata
 
- /ASKPLUS/vsdata
 +
 +
    scp -rp /ASKPLUS/vsdata askplus@192.168.1.xxx:/ASKPLUS/vsdata
 +
 
- /var/summit/spectrum/LIVE/vsdata
 
- /var/summit/spectrum/LIVE/vsdata
 +
 +
    scp -rp /var/summit/spectrum/LIVE/vsdata bolive@192.168.1.xxx:/var/summit/spectrum/LIVE/vsdata
  
  

Revision as of 23:36, 24 October 2012

Overview

This document will present a scenario of migrating an existing Vital Signs install from a PA-RISC HPUX system to an ITANIUM HPUX system.

Step 1 - Software Dependencies

The following software is required to be installed prior to running Vital Signs.

-AskPlus 8.3.3+

-Python 2.7.3

-Python ConfigObj library


Step 2 - File Migration

The following folders should be migrated from the old HPUX system to the new one retaining their file permissions. This is possible using the scp command with -rp, r stands for recursive copy and p stands for preserve.

   $ scp
   Usage: scp [options] [[user@]host1:]file1 [...] [[user@]host2:]file2
   Options:
     -1          Forces scp to use protocol 1.
     -2          Forces scp to use protocol 2.
     -4          Forces scp to use IPv4 addresses only.
     -6          Forces scp to use IPv6 addresses only.
     -B          Selects batch mode (prevents asking for passwords or passphras-es).
     -C          Compression enable.
     -c cipher   Selects the cipher to use for encrypting the data transfer.
     -F ssh_config Specifies an alternative per-user configuration file for ssh.
     -i identity_file Selects the file from which the identity(private key)for RSA authentication is read.
     -l limit    Limits the used bandwidth, specified in Kbit/s.
     -o ssh_option Used to pass options to ssh in the format used in ssh_config file.
     -P  port    Specifies the port to connect to on the remote host.
     -p          Preserves modification times, access times, and modes from the original file.
     -q          Disables the progress meter.
     -r          Recursively copy entire directories.
     -S program  Name of program to use for the encrypted connection.
     -v Verbose mode.


- /ASKPLUS/vsdata

   scp -rp /ASKPLUS/vsdata askplus@192.168.1.xxx:/ASKPLUS/vsdata

- /var/summit/spectrum/LIVE/vsdata

   scp -rp /var/summit/spectrum/LIVE/vsdata bolive@192.168.1.xxx:/var/summit/spectrum/LIVE/vsdata


Step 3 - Link Creation

A symbolic link for the jobs directory should be created as root

   ln -fs /ASKPLUS/vsdata/jobs /VSJOBS