Difference between revisions of "Update to IPBrick version 6.0"

From wiki.IPBRICK.COM
Jump to: navigation, search
(I have an IPBrick version 6 release candidate (RC) in a production environment. Can I update this server to the final version 6?)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== F.A.Q. - Update to IPBrick version 6.0 ==
+
F.A.Q. - Update to IPBrick version 6.0
  
  
  
= 123 =
+
= Does my hardware support IPBRICK v6.0? =
  
= 234=
 
  
 +
IPBRICK version 6 is a 64 bits Operating System. It needs a CPU that supports 64 bits. Please check your hardware CPU type before upgrading to version 6.
  
''Is it possible to update my IPBRICK v5.x to a 6.0 using updates?''
+
On IPBRICK, access the command line interface and enter the following command:
 +
''grep flags /proc/cpuinfo''
 +
 
 +
Look for lm in the command output. If lm is found in the output, then the CPU is 64-bit. If you don't see lm or see i386, i486, i586, or i686 in the output, then the CPU is 32-bit. Below is an example output of the above line with lm in the information.
 +
 
 +
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx '''lm''' constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
 +
 
 +
 
 +
= Is it possible to update my IPBRICK v5.x to v6.0 using updates? =
  
 
  It isn't possible to upgrade an IPBRICK 4.x or v5.x to an IPBrick 6.0 using updates.
 
  It isn't possible to upgrade an IPBRICK 4.x or v5.x to an IPBrick 6.0 using updates.
 
  You can only upgrade your system via an Upgrade/Reinstall with our new ISO via DVD or image installation.
 
  You can only upgrade your system via an Upgrade/Reinstall with our new ISO via DVD or image installation.
  
 +
The IPBRICK installation DVD detects a previous installation and ensures the backup of all data.
 +
However, and regardless of this, it is advisable to have a full backup of your server!
  
''I have an IPBrick version 6, release candidate (RC) in a production environment. Can I update this server to the final version 6?"
+
= I have an IPBrick version 6 release candidate (RC) in a production environment. Can I update this server to the final version 6? =
  
 
  Yes, it is possible to update from any version 6 release candidate to the final release.  
 
  Yes, it is possible to update from any version 6 release candidate to the final release.  
 
  This update can be done simply by installing the necessary update packages through the IPBrick web interface.
 
  This update can be done simply by installing the necessary update packages through the IPBrick web interface.
  
 +
To upgrade from a RC version to another it's necessary to install the respective migration package (in some cases there are also some additional packages). The upgrade process needs to be done step by step, it means, from one RC version to another till the final version of IPBrick 6.0. The migration packages must be inserted in Advanced Configurations->IPBrick->Update and the installation order is the following:
  
''Since the migration procedure is now an installation of a new image, how can I safeguard my server's data?''
+
    Upgrade from 6.0-RC1 to 6.0-RC2
  
The IPBRICK installation DVD detects a previous installation and ensures the backup of all data.
+
            - pkg1_update_01-v6.0-rc1.deb    (md5sum: 3460f302047ffd0f43abe52d9e7c1958)
However, and regardless of this, it is advisable to have a full backup of your server!
+
            - pkg2_update_01-v6.0-rc1.deb    (md5sum: 943c1c121d31f16ad74a54ce4081aeb6)
 +
            - migration-v60-rc1-to-v60-rc2.deb    (md5sum: c25caea099030f5cb518893bbda83460)
  
''How may I backup my server's configurations?''
+
            Apply Configurations (Applying configurations will reboot IPBrick!)
  
Backup the last IPBRICK configuration at: '''Advanced Configurations > Disaster Recovery > Configurations > Download'''
+
    Upgrade from 6.0-RC2 to 6.0-RC3
  
''May I use the configuration file straight away?''
+
            - migration-v60-rc2-to-v60-rc3.deb (md5sum: f491481e56d793f44d6200dcc8434737)
 +
            - pkg1_update_01-v6.0-rc2.deb    (md5sum: be2b9408eb634c94430c73a1c574ecdc )
 +
         
 +
            Apply Configurations (Applying configurations will reboot IPBrick!)
 +
 
 +
    Upgrade from 6.0-RC3 to 6.0-RC4
 +
 
 +
            - migration-v60-rc3-to-v60-rc4.deb    (md5sum: 72b83d74d8c6709c45fa494ecdc5abb1 )
 +
 
 +
            Apply Configurations (Applying configurations will reboot IPBrick!)
 +
 
 +
    Upgrade from 6.0-RC4 to 6.0-RC5
 +
 
 +
            - migration-v60-rc4-to-v60-rc5.deb    (md5sum: fb0a540aff8919fcedbb645aaed6c5bb)
 +
     
 +
            Apply Configurations (Applying configurations will reboot IPBrick!)
 +
 
 +
    Upgrade from 6.0-RC5 to 6.0 Final version
 +
 
 +
            - migration-v60-rc5-to-v60.deb    (md5sum: e960dc8fb80638fe8de786ae47f50263 )
 +
 
 +
            Apply Configurations
 +
 
 +
 
 +
The necessary packages can be found here:
 +
 
 +
http://downloads3.ipbrick.com/ipbrick6/update_to_ipbrick6/ <br>
 +
login ipbrick6 <br>
 +
pass: up2ipbrick6<br>
 +
 
 +
= How may I backup my server's configurations?=
 +
 
 +
Backup the last IPBRICK configuration at: '''Advanced Configurations > Disaster Recovery > Configurations > Download
 +
 
 +
= May I use the configuration file straight away?=
  
 
  No. Send the last IPBRICK configuration to support.install@ipbrick.com and request migration to IPBrick v6.0;
 
  No. Send the last IPBRICK configuration to support.install@ipbrick.com and request migration to IPBrick v6.0;
  
''Is this a direct conversion procedure?''
+
= Is this a direct conversion procedure?=
  
 
  No. This isn't an automatic procedure. You will receive, as soon as possible, the respective configuration file.
 
  No. This isn't an automatic procedure. You will receive, as soon as possible, the respective configuration file.
  
''What about migrating really old versions of IPBRICK?''
+
What about migrating really old versions of IPBRICK?=
  
 
  It’s possible that, for older IPBRICK versions, the migration may not be possible to be executed directly.
 
  It’s possible that, for older IPBRICK versions, the migration may not be possible to be executed directly.
Line 43: Line 89:
 
  In these situations, we will inform you about any restrictions and how to proceed.
 
  In these situations, we will inform you about any restrictions and how to proceed.
  
''What about the applications installed in the server?''
+
= What about the applications installed in the server?=
  
 
  If in doubt, please contact support.install@ipbrick.com we will make sure to check if your installed applications,
 
  If in doubt, please contact support.install@ipbrick.com we will make sure to check if your installed applications,
 
  such as Hotspot, LIVE, etc. are compatible with IPBrick v6.0.
 
  such as Hotspot, LIVE, etc. are compatible with IPBrick v6.0.
 +
 +
= Converting ext3 filesystem to ext4 =
 +
 +
After performing an update from a previous version of IPBrick into version 6.x, the home partitions remain with ext3 type. It is possible to convert them to ext4 by following the procedure below.
 +
 +
'''Note''':  It should be done using the server console, not remotely.
 +
 +
* As root, enter "init 1" so the server will run in level 1 (all services will stop)
 +
* Umount partitions /home1 and /home2 with the commands "umount /home1" and "/umount /home2"
 +
 +
Then enter:
 +
 +
* tune2fs -O extents,uninit_bg,dir_index /dev/sda7 (assuming that device /dev/sda7 was the one that was mounted in /home1)
 +
* e2fsck -fDC0 /dev/sda7
 +
 +
* tune2fs -O extents,uninit_bg,dir_index /dev/sda8 (assuming that device /dev/sda8 was the one that was mounted in /home2)
 +
* e2fsck -fDC0 /dev/sda8
 +
 +
Edit the /etc/fstab file by entering the command "vi /etc/fstab"
 +
 +
And exchange in the lines that refer to mount point home1 and home2 where it is written "ext3" to "ext4"
 +
 +
UUID=xxx                /home1  '''ext4'''    defaults,usrquota,grpquota,user_xattr,acl      0      2<br>
 +
UUID=xxx                /home2  '''ext4'''    defaults,usrquota,grpquota,user_xattr,acl      0      2<br>
 +
 +
In the end, enter the command: "reboot"
 +
 +
The server will boot and mount home1 and home2 with ext4.
 +
 +
You can confirm it by entering, as root, the command "mount"
 +
 +
/dev/sda7  on /home1 type '''ext4''' (rw,relatime,user_xattr,barrier=1,data=ordered,usrquota,grpquota) <br>
 +
/dev/sda8  on /home2 type '''ext4''' (rw,relatime,user_xattr,barrier=1,data=ordered,usrquota,grpquota) <br>

Latest revision as of 18:39, 19 February 2016

F.A.Q. - Update to IPBrick version 6.0


Does my hardware support IPBRICK v6.0?

IPBRICK version 6 is a 64 bits Operating System. It needs a CPU that supports 64 bits. Please check your hardware CPU type before upgrading to version 6.

On IPBRICK, access the command line interface and enter the following command: grep flags /proc/cpuinfo

Look for lm in the command output. If lm is found in the output, then the CPU is 64-bit. If you don't see lm or see i386, i486, i586, or i686 in the output, then the CPU is 32-bit. Below is an example output of the above line with lm in the information.

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm


Is it possible to update my IPBRICK v5.x to v6.0 using updates?

It isn't possible to upgrade an IPBRICK 4.x or v5.x to an IPBrick 6.0 using updates.
You can only upgrade your system via an Upgrade/Reinstall with our new ISO via DVD or image installation.
The IPBRICK installation DVD detects a previous installation and ensures the backup of all data.
However, and regardless of this, it is advisable to have a full backup of your server!

I have an IPBrick version 6 release candidate (RC) in a production environment. Can I update this server to the final version 6?

Yes, it is possible to update from any version 6 release candidate to the final release. 
This update can be done simply by installing the necessary update packages through the IPBrick web interface.

To upgrade from a RC version to another it's necessary to install the respective migration package (in some cases there are also some additional packages). The upgrade process needs to be done step by step, it means, from one RC version to another till the final version of IPBrick 6.0. The migration packages must be inserted in Advanced Configurations->IPBrick->Update and the installation order is the following:

   Upgrade from 6.0-RC1 to 6.0-RC2
           - pkg1_update_01-v6.0-rc1.deb    (md5sum: 3460f302047ffd0f43abe52d9e7c1958)
           - pkg2_update_01-v6.0-rc1.deb    (md5sum: 943c1c121d31f16ad74a54ce4081aeb6)
           - migration-v60-rc1-to-v60-rc2.deb    (md5sum: c25caea099030f5cb518893bbda83460)
           Apply Configurations (Applying configurations will reboot IPBrick!)
   Upgrade from 6.0-RC2 to 6.0-RC3
           - migration-v60-rc2-to-v60-rc3.deb (md5sum: f491481e56d793f44d6200dcc8434737)
           - pkg1_update_01-v6.0-rc2.deb    (md5sum: be2b9408eb634c94430c73a1c574ecdc )
          
            Apply Configurations (Applying configurations will reboot IPBrick!)
   Upgrade from 6.0-RC3 to 6.0-RC4
           - migration-v60-rc3-to-v60-rc4.deb    (md5sum: 72b83d74d8c6709c45fa494ecdc5abb1 )
           Apply Configurations (Applying configurations will reboot IPBrick!)
   Upgrade from 6.0-RC4 to 6.0-RC5
           - migration-v60-rc4-to-v60-rc5.deb    (md5sum: fb0a540aff8919fcedbb645aaed6c5bb)
      
           Apply Configurations (Applying configurations will reboot IPBrick!)
   Upgrade from 6.0-RC5 to 6.0 Final version
           - migration-v60-rc5-to-v60.deb    (md5sum: e960dc8fb80638fe8de786ae47f50263 )
           Apply Configurations


The necessary packages can be found here:

http://downloads3.ipbrick.com/ipbrick6/update_to_ipbrick6/
login ipbrick6
pass: up2ipbrick6

How may I backup my server's configurations?

Backup the last IPBRICK configuration at: Advanced Configurations > Disaster Recovery > Configurations > Download

May I use the configuration file straight away?

No. Send the last IPBRICK configuration to support.install@ipbrick.com and request migration to IPBrick v6.0;

Is this a direct conversion procedure?

No. This isn't an automatic procedure. You will receive, as soon as possible, the respective configuration file.

What about migrating really old versions of IPBRICK?

It’s possible that, for older IPBRICK versions, the migration may not be possible to be executed directly.
You may need to update first to an intermediate version and only then to IPBRICK 6.0.
In these situations, we will inform you about any restrictions and how to proceed.

What about the applications installed in the server?

If in doubt, please contact support.install@ipbrick.com we will make sure to check if your installed applications,
such as Hotspot, LIVE, etc. are compatible with IPBrick v6.0.

Converting ext3 filesystem to ext4

After performing an update from a previous version of IPBrick into version 6.x, the home partitions remain with ext3 type. It is possible to convert them to ext4 by following the procedure below.

Note: It should be done using the server console, not remotely.

  • As root, enter "init 1" so the server will run in level 1 (all services will stop)
  • Umount partitions /home1 and /home2 with the commands "umount /home1" and "/umount /home2"

Then enter:

  • tune2fs -O extents,uninit_bg,dir_index /dev/sda7 (assuming that device /dev/sda7 was the one that was mounted in /home1)
  • e2fsck -fDC0 /dev/sda7
  • tune2fs -O extents,uninit_bg,dir_index /dev/sda8 (assuming that device /dev/sda8 was the one that was mounted in /home2)
  • e2fsck -fDC0 /dev/sda8

Edit the /etc/fstab file by entering the command "vi /etc/fstab"

And exchange in the lines that refer to mount point home1 and home2 where it is written "ext3" to "ext4"

UUID=xxx /home1 ext4 defaults,usrquota,grpquota,user_xattr,acl 0 2
UUID=xxx /home2 ext4 defaults,usrquota,grpquota,user_xattr,acl 0 2

In the end, enter the command: "reboot"

The server will boot and mount home1 and home2 with ext4.

You can confirm it by entering, as root, the command "mount"

/dev/sda7 on /home1 type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered,usrquota,grpquota)
/dev/sda8 on /home2 type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered,usrquota,grpquota)