View source | Discuss this page | Page history | Printable version   

Installation/Appliance/Maintenance

Maintenance



Warning.png   This document is still a work in progress. It may contain inaccuracies or errors.
Bulbgraph.png   This document refer to the current appliances with Ubuntu that will be published on mid-March, If you are using the OLD appliances with rPath go here




Contents

Introduction

This document describes how to maintenance the Openbravo server at a system admin level.

Network

Configure network with dhcp

Open the network config file

sudo nano /ect/network/interfaces

Edit the entry of eth0, it should end like this

auto eth0
iface eth0 inet dhcp

Then you need to reboot the network

sudo /etc/init.d/networking restart

Configure network with static ip

Open the network config file

sudo nano /ect/network/interfaces

Edit the entry of eth0, it should end like this

auto eth0
iface eth0 inet static
  address <IP>
  netmask <NETMASK>
  gateway <GATEWAY>
  dns-nameservers <DNS-1> <DNS-2>

Then you need to reboot the network

sudo /etc/init.d/networking restart

I'm getting localhost as the IP address

If you are getting localhost as the IP address after booting the Appliance, then this section is for you. This typically happens when your network doesn't have a DHCP server that can provide an IP address to the Appliance. In these cases you need to manually assign an IP address to that Appliance.

Apache

The folder of Apache is /etc/apache2

Restart Apache

Usually not needed to restart it

sudo /etc/init.d/apache2 restart

If you only want apache to take new configuration, sometimes it is enough doing a reload

sudo /etc/init.d/apache2 reload

Monitoring

Updates

Normal minor updates

Remember that if there is updates in PostgreSQL or Tomcat they will be restarted, so do this updates when nobody is working on the server.

To update the apt repositories

sudo apt-get update

To update all the minor updates, needed to stop tomcat before and start after

sudo /etc/init.d/tomcat stop
sudo apt-get dist-upgrade
sudo /etc/init.d/tomcat start

If there is kernel updates you need to reboot the server in order to use the new kernel.

So if you are unsure of what services you need to restart after update or don't know what are the kernel packages, a recommendation it is to reboot the server after an update.

Major release upgrade

The command that perform a mayor release upgrade it is 'do-release-upgrade'

Do 'NOT' execute this command !! In mayor upgrades can not be guarantee that Openbravo will continue working.

We will update this wiki when an upgrade to a next mayor version it is ready and tested.

Retrieved from "http://wiki.openbravo.com/wiki/Installation/Appliance/Maintenance"

This page has been accessed 35,069 times. This page was last modified on 18 March 2013, at 16:52. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.