Difference between revisions of "CanIt-PRO to Domain-PRO migration"

From Roaring Penguin
Jump to: navigation, search
(Created page with "Upgrading from CanIt-PRO to CanIt-Domain-PRO 0) Make SURE that Tutos knows to allow the new product download, e.g. tutos-cmd.pl addproduct clientname CanIt-Domain-PRO expir…")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Upgrading from CanIt-PRO to CanIt-Domain-PRO
+
0) You must first request access to the Domain-PRO repositories. Roaring Penguin staff will add this to your download account. Without doing so, *apt-get install* will give you a permission error.
  
0) Make SURE that Tutos knows to allow the new product download, e.g.
+
1) Make sure they're on the latest version of CanIt-PRO by running this command as root:
 
 
    tutos-cmd.pl addproduct clientname CanIt-Domain-PRO expirydate
 
 
 
1) Make sure they're on the latest version of CanIt-PRO by running this command
 
as root:
 
  
 
   upgrade-canit-appliance
 
   upgrade-canit-appliance
Line 12: Line 7:
 
2) Edit the file /etc/apt/sources.list.  The only line not blank or starting with a "#" reads:
 
2) Edit the file /etc/apt/sources.list.  The only line not blank or starting with a "#" reads:
  
   deb http://username:password@debs.roaringpenguin.com/canit/appliance squeeze main canit canit-pro
+
   deb http://username:password@debs.roaringpenguin.com/canit/appliance wheezy main canit canit-pro
  
 
Add " canit-domain-pro" to the end so it reads:
 
Add " canit-domain-pro" to the end so it reads:
  
   deb http://username:password@debs.roaringpenguin.com/canit/appliance squeeze main canit canit-pro canit-domain-pro
+
   deb http://username:password@debs.roaringpenguin.com/canit/appliance wheezy main canit canit-pro canit-domain-pro
  
3) Type:  apt-get update
+
3) Type:   
 +
  apt-get update
  
If you get a GPG error along the lines of
+
If you get a GPG error along the lines of:
  
 
     GPG error: http://debs.roaringpenguin.com squeeze Release: The following signatures were invalid:
 
     GPG error: http://debs.roaringpenguin.com squeeze Release: The following signatures were invalid:
  
then you need to run
+
Then you need to run:
  
 
     rm /var/lib/apt/lists/debs.roaringpenguin.com*
 
     rm /var/lib/apt/lists/debs.roaringpenguin.com*
Line 30: Line 26:
 
and re-run the apt-get update.
 
and re-run the apt-get update.
  
#Type:  
+
4) Type:  
 
     apt-get install --download-only canit-domain-pro-distro
 
     apt-get install --download-only canit-domain-pro-distro
  
so as to minimise downtime.
+
So as to minimise downtime.
  
##For a cluster: Stop CanIt on all nodes:
+
4a) For a cluster: Stop CanIt on all nodes:
  
 
     /etc/init.d/canit-system stop
 
     /etc/init.d/canit-system stop
Line 41: Line 37:
 
Then, per usual, do the DB machine first.
 
Then, per usual, do the DB machine first.
  
##Type:   
+
4b) Type:   
 
   apt-get install canit-domain-pro-distro canit-pro-distro-
 
   apt-get install canit-domain-pro-distro canit-pro-distro-
  
5) Type: canit-prepare-system
+
5) Type:
 
+
  canit-prepare-system
You are now running CanIt-Domain-PRO.
 
  
 +
You are now running CanIt-Domain-PRO. All the stream, rules and settings from the CanIt-Pro system will now be in the base realm but going forward you will have the option of creating new sub-realm for your organization or clients.
  
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
[[category:All]][[category:Upgrade]][[category:Management]]
 
[[category:All]][[category:Upgrade]][[category:Management]]

Latest revision as of 14:46, 18 August 2017

0) You must first request access to the Domain-PRO repositories. Roaring Penguin staff will add this to your download account. Without doing so, *apt-get install* will give you a permission error.

1) Make sure they're on the latest version of CanIt-PRO by running this command as root:

  upgrade-canit-appliance

2) Edit the file /etc/apt/sources.list. The only line not blank or starting with a "#" reads:

  deb http://username:password@debs.roaringpenguin.com/canit/appliance wheezy main canit canit-pro

Add " canit-domain-pro" to the end so it reads:

  deb http://username:password@debs.roaringpenguin.com/canit/appliance wheezy main canit canit-pro canit-domain-pro

3) Type:

  apt-get update

If you get a GPG error along the lines of:

   GPG error: http://debs.roaringpenguin.com squeeze Release: The following signatures were invalid:

Then you need to run:

   rm /var/lib/apt/lists/debs.roaringpenguin.com*

and re-run the apt-get update.

4) Type:

   apt-get install --download-only canit-domain-pro-distro

So as to minimise downtime.

4a) For a cluster: Stop CanIt on all nodes:

   /etc/init.d/canit-system stop

Then, per usual, do the DB machine first.

4b) Type:

  apt-get install canit-domain-pro-distro canit-pro-distro-

5) Type:

  canit-prepare-system

You are now running CanIt-Domain-PRO. All the stream, rules and settings from the CanIt-Pro system will now be in the base realm but going forward you will have the option of creating new sub-realm for your organization or clients.