Installation/Appliance/Comparison rPath
Contents |
Introduction
This document compares the old appliances based on rPath with the current one based on Ubuntu.
Migration
For migrate from the old appliances to the new ones follow this guide.
Administration web console
The new appliances (with Ubuntu) do not include an administration web console,. This guide helps on how to do the equivalent tasks in the new appliances.
For run the commands you need first to do ssh to the instance.
Status
Updates
Last Update, Last Check, Next Check: In the new appliances no explicit schedule can be configured, however Ubuntu advise you about number of updates and security updates that are available when login.
It is recommended to perform regular updates, and it is a good practice to perform a backup before doing an update.
Back Up and Restore
Last Backup: in the new appliances the backups are stored in /backups, and there is scheduled and manual backups. Last manual backup
ls /backups/manual/* | sort | tail -1
Last scheduled backup
ls /backups/auto/* | sort | tail -1
System information
System information
Hostname
hostname
Memory
free -m
Total ram: first row (mem), column 'total'
Free ram: second row (buffers/cache), column 'free'
Swap
free -m
Total swap: third row (Swap), column 'total'
Free swap: third row (Swap), column 'free'
Uptime
uptime
The first value it is the machine time, the second the status, the third it is the system uptime, the fourth the current logged users and last the system load.
Disk usage
Disk usage
df -h
The important line it is the one that has mount point '/', this is the root partition.
Note: it is normal that there are several more mount points with names starting with the following: /proc, /sys, /dev, /run . These important and are used by the system, do not touch them.
Installed software
Ubuntu major version
lsb_release -a
Configuration
Admin password
Does not apply. This is the password of the admin user of the web console, and now there is no web console.
Entitlement key
Does not apply. This is the entitlement key to use the professional features of the web console, and now there is no web console.
Internet proxy
To be documented.
Networking
Appliance hostname: Howto change hostname.
DNS Servers, Default Gateway, Network Interfaces: Look to network configuration.
Notifications
Look to email notifications.
SSL Certificate
Look to SSL configuration.
System user password
Look to change user passwords.
System root password
Look to change user passwords.
System time
Timezone: change timezone.
Set date and time: date and time.
Network Time Protocol: date and time.
Maintenance
Back up and restore
Look to backups.
Collection tool
There is not an specific collection tool for all the logs, but you can directly look into the logs.
If you want to create a tar.gz containing all the openbravo logs, you can use this command
tar cvhzf /home/openbravo/openbravo-logs.tar.gz /var/log/openbravo
Note: since the files in /var/log/openbravo are symlinks it is needed the parameter 'h' for tar to store the files instead the symlinks.
You can copy the /home/openbravo/openbravo-logs.tar.gz to your computer using scp or winscp.
Logs
Look to logs.
Manage services
Look to restart openbravo services and Apache restart.
Manage SSH keys
Look to add ssh keys.
Schedule reboot
For normal halt and reboot look here.
Check the current time of the server with
date
For schedule a reboot you can use the command
sudo shutdown -r 0:00 &
Replace 0:00 with the time at what you wan the reboot to be performed.
A scheduled reboot can be canceled with
sudo shutdown -c
System updates
Updates
Look to updates.
Rollbacks
Do rollback of an update it is not an easy task, so it is recommended to perform a backup before installing updates.