Arkeia

From DISI
Jump to navigation Jump to search

Arkeia/Backups

Arkeia is the software currently being used to control all aspects of tape backups/restorations/archives. The web interface for Arkeia is: (see google docs) Arkeia also has a command line interface, which is described after how to use the web interface section.

How to set up a brand new backup

First determine what files you want to backup and the size of the directories.
I’ve found that the following command works the best to determine the directory size.

du -ch filename | grep total 

To create a new savepack

In the arkeia web ui, click on What to backup and then Savepacks
On the right hand side of the screen, click on add a new savepack.
Enter a savepack name
The compression type should be LZ1 or LZ3_3
Encryption type allowed should be no encryption
Filesystems allowed normal filesystems
Hit the create button

You will then be redirected to the list of savepacks.
With the new created savepack highlighted, click on List of Trees tab.
Then click on Manage trees for your_savepack on the righthand side.
Then click on Add a new tree on the righthand side.
If the server is nfsheadN and the directory you want to backup is /raidM/people, you would enter the pathname like this:
nfsheadN.bkslab.org!file:/raidM/people
Then at the bottom click Add tree

Trees in Toronto

(replace domain with actual domain)

fawlty.domainr!file:/srv/nfs/work
fawlty.domain!file:/srv/nfs/db
fawlty.domain!file:/srv/nfs/store
fawlty.domain!file:/srv/nfs/bin
towers.domain!file:/srv/nfs/home
towers.domain!file:/srv/nfs/software
spinaltap.domain!file:/srv
suspects.domain!file:/var/lib/dirsrv
suspects.domain!file:/etc/dirsrv
suspects.domain!file:/etc/pki
marley.donnelly.domain!file:/home
yes.donnelly.domain!file:/home
primus.donnelly.domain!file:/home
clash.donnelly.domain!file:/home
rancid.donnelly.domain!file:/home
rocky.domain!file:/var/lib/libvirt
apes.domain!file:/var/lib/libvirt
runaway.domain!file:/domains

To add tapes

Select Where to backup -> backup to tape -> tapes BKS-UT-A-100 Arkeia command line


To list licenses

/opt/arkeia/bin/arkchklic
To remove a client (remove a machine from being backed up):
/opt/arkeia/bin/arkrmhost hostname

PROBLEM: The web UI freezes when trying to start a backup

"Hello,

SUMMARY:

The backup is failing due to a hostname change on the backup server itself.

DETAILS:

1) uname -a reports the real $HOSTNAME

backup.uoft.bkslab.org

2) However, the name that was present when Arkeia was installed was "backup.bkslab.org"

2014/01/14 14:32:33 E19010060 arkvlib (19004) get_hostlist [L799]: Error: the host backup.bkslab.org is not server
2014/01/14 14:32:33 E19010090 arkvlib (19004) get_hostlist [L204]: Bad end
2014/01/14 14:32:33 E19010060 arkvlib (19004) get_hostlist [L799]: Error: the host backup.bkslab.org is not server
2014/01/14 14:32:33 E19010090 arkvlib (19004) get_hostlist [L204]: Bad end

SOLUTION:

1) Stop Arkeia

/opt/arkeia/bin/arkboot stop

2) The /etc/host file looks OK

142.150.250.19 backup.pharmacy.uoft.bkslab.org backup.uoft.bkslab.org

3) Delete the existing entry in the admin.cfg file and replace it with the current $HOSTNAME

vi /opt/arkeia/arkeiad/admin.cfg backup.uoft.bkslab.org

4) Manually edit the rhost.lst file and delete the backup servers corrupted entry located at the bottom of the file

vi /opt/arkeia/arkeiad/rhost.lst

ITEM { "OLDNAME" "backup.bkslab.org" "IS_MEDIA_SERVER" "1" ";" "INETADDR\"\"" "169.230.26.116" "INETADDR" "142.150.250.19" "INETNUM" "335189646" "DISTRIBNAME" "Red Hat CentOS release 5.4 (Final)" "OSNAME" "Linux 2.6.18-164.11.1.el5 x86_64" "VERSION" "Arkeia Network Backup 8.2.9" "NUMPOINTS" "997" "ID" "N" "ISDIR" "h" "PORT" "617" "NOM" }

5) Issue the arkmvhost name command to rename Arkeia

/opt/arkeia/bin/arkmvhost --host backup.bkslab.org --newhost backup.uoft.bkslab.org

6) Start Arkeia (will create a new entry in the rhost.lst file at the top of the file)

/opt/arkeia/bin/arkboot start

7) Verify the library slots inventory has completed and the issue should be corrected.

Regards, S B


Hello,

> If I add trees or rename trees, do I need to register them somewhere?

All trees in the Arkeia Savepack must have a registered client machine on the backup server. Failure to backup a client that is not registered will result in a Type 1 client license error.

> If so, how and where?

Please see the "Adding Client Section" at this URL to properly add/register clients to the backup server. http://wiki.arkeia.com/mediawiki/index.php/Arkeia_Network_Backup_Documentation

> Adding or renaming trees doesn't affect the # of licenses, does it?

Only if you add a hostname to the Savepack that is not registered to the backup server or exceeds the license limit.

S B

If I add trees or rename trees, do I need to register them somewhere? If so, how and where? Adding or renaming trees doesn't affect the # of licenses, does it?

Hello,

You can run the command /opt/arkeia/bin/arkchklic too see how many licenses and what type are allowed on the backup server and which hostnames are claiming and in violation of the license.

  • Clients and their indexes can removed using the /opt/arkeia/bin/arkrmost command.
  • Clients that are (unknown Type 1) are no longer registered to the backup server.

These clients must be re-registered or deleted