Introduction

Depending which GreenLight appliance you are using (32 bit or 64 bit) the downloadable GreenLight image is equipped with multiple disks / disk files:

32 bit

  • Disk 1 / sda.vmdk: Linux system
  • Disk 2 / sdb.vmdk: Linux swap
  • Disk 3 / sdc.vmdk: Applications
  • Disk 4 / sdd.vmdk: Lotus Notes
  • Disk 5 / sde.vmdk: Database

64 bit

  • Disk 1 / sda.vmdk: System
  • Disk 2 / sdb.vmdk: Database

The only one that should be growing constantly, is the database disk. Depending on how much data you want to store, it either needs to be purged, or the disk must be enlarged to provide enough capacity. This guide will provide information on how to enlarge the database disk and partition.

 

(1) Identifying your Environment (32 bit / 64 bit)

After starting up the panagenda GreenLight appliance the first time you should be presented with a panagenda GreenLight welcome screen.
When you are running the 32 bit appliance box the welcome screen will appear in text mode. If you are running a 64 bit appliance you see a graphical login (left picture).

 

(2) Enlarging 32bit

Enlarging the physical disk

Enlarging the physical disk is done via the VMWare host application. Here are examples how to do it in VMWare Player and vSphere Client:

A) Enlarging a physical disk in vSphere via virtual machine properties

 

B) Enlarging a physical disk in VMWare Player via Virtual Machine Settings

Enlarging the partition

The easiest way to enlarge a partition in GreenLight is to use the installed partition manager. After logging into the graphical interface with the user "admin", it can be opened via a right-click on the desktop -> tools -> partition manager. On starting the tool, GreenLight service will be stopped in order to perform this operation.

 

1) Select a disk to enlarge: database disk is "/dev/sde"

 

2) Unmount partition "/dev/sde1" by selecting it and using the menu item Partition -> Unmount

Note: if the unmount should fail, because the device remains busy, make perform the following command in a
system console / terminal window: sudo /etc/init.d/postgresql stop

 

3) Resize partition "/dev/sde1" by selecting it and using the resizing dialog

 

4) Confirm changes to partition using the "Apply" button

 

5) Close partition manager and restart the system

 

 

(3) Enlarging 64bit

Enlarging the physical disk

Enlarging the physical disk is done via the VMWare host application. Here are examples how to do it in VMWare Player and vSphere Web Client:

A) Enlarging a physical disk in vSphere WebClient via virtual machine properties



B) Enlarging a physical disk in VMWare Player via Virtual Machine Settings




Enlarging the partition

The easiest way to enlarge a partition in GreenLight is to use the installed partition manager. After logging into the graphical interface with the user "panagenda", open a terminal window and enter “sudo /etc/init.d/postgresql stop” in order to stop the database first. (tomcat can be optionally stopped as well – just in case if another GL admin would use the frontend at the same time)


1) start gparted

Open a terminal window and enter "sudo gparted" in order to open the Partition Manager

 

2) Select a disk to enlarge: database disk "/dev/sdb"

 

3) Unmount partition "/dev/sdb1" by selection it and using the menu item Partition -> Unmount

 

 

4) Resize partition "/dev/sdb1" by selection it and using the resizing dialog

 

 

5) Confirm changes to partition using the "Apply" button

 

6) Close partition manager and restart the system

 

 

 

Conclusion

The disk should now have the correct size once the system has restarted. The result can be checked within GreenLight's system preferences.