How to add multiple clients

From Archivematica
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Main Page > Software > Install-0.7.1-alpha > How to add multiple clients

Checklist

Set mysql to listen on public interface (transcoder)

on MCPServer host, edit /etc/mysql/my.cnf

sudo nano /etc/mysql/my.cnf

then comment out

#bind-address = 127.0.0.1

restart mysql

sudo /etc/init.d/mysql restart

Install

Install the client package

sudo aptitude install archivematica-mcp-client

Configure fstab to automatically mount the remote NFS share directory on client machines

edit /etc/fstab

sudo nano /etc/fstab

assuming the IP of your NFS server is the same as your MCP-Server (ie 192.168.0.100) add the following

192.168.0.100:/var/archivematica/sharedDirectory /var/archivematica/sharedDirectory nfs defaults 0 0

Sync Time with OpenNTPd

Un-comment the listen line in /etc/openntpd/ntpd.conf on your master machine

sudo mousepad /etc/openntpd/ntpd.conf
listen on *
sudo /etc/init.d/openntpd restart

on client machines edit /etc/openntpd/ntpd.conf and add your newly created time server and comment out other servers

sudo mousepad /etc/openntpd/ntpd.conf
server myMasterServerIP
#server otherServerAdress
#server otherServerAdress
#server otherServerAdress


Supported Modules

Comment out the upload and storeAIP tasks, from the supported tasks on the client machine, by prepending the line with a '#'.

sudo mousepad /etc/archivematica/MCPClient/archivematicaClientModules
#upload-qubit_v0.0="upload-qubit "
#storeAIP_v0.0="%clientScriptsDirectory%storeAIP.sh "
...

Change the IP/Hostname

Change the IP/Hostname the client machine is connecting to.

sudo mousepad /etc/archivematica/MCPClient/clientConfig.conf
MCPArchivematicaServer="server.local"
MCPArchivematicaServerPort="8002"

In the same file, /etc/archivematica/MCPClient/clientConfig.conf, you can set the max number of threads this client will run.

maxThreads="2"

Disable the MCP Server

Each client node needs to have the MCP server disabled from starting at startup.


login to each node, remove /etc/init/archivematica-mcp-server.conf and reboot.

sudo stop archivematica-mcp-server
sudo rm /etc/init/archivematica-mcp-server.conf

Reboot

sudo stop openoffice-service; sudo start openoffice-service
sudo stop archivematica-mcp-client; sudo start archivematica-mcp-client

The client should connect on startup.

Note: to see the dashboard, or ica-atom, you'll need to visit the server's ip address, not localhost.