clusterfilesysteme
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| clusterfilesysteme [2016-01-22 09:43:02] – [Clusterfilesysteme] manfred | clusterfilesysteme [2016-04-12 22:50:01] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== Clusterfilesysteme ====== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Begriffe: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * '' | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== BeeGFS ===== | ||
| + | |||
| + | Fraunhofer-Institut veröffentlicht [[http:// | ||
| + | |||
| + | **Das parallele Dateisystem BeeGFS wird freie Software. BeeGFS wird seit mehreren Jahren von der ThinkParQ GmbH, einer Ausgliederung des Fraunhofer-Instituts für Techno-und Wirtschaftsmathematik ITWM in Kaiserslautern, | ||
| + | |||
| + | Von Falko Benthin (Do, 25. Februar 2016, 13:26) | ||
| + | |||
| + | Das ITWM hatte schon 2013 auf der International Supercomputing Conference angekündigt, | ||
| + | |||
| + | Das BeeGFS-Team beteiligt sich bereits an ExaNeSt, einem europäischen Exascale-Projekt, | ||
| + | |||
| + | BeeGFS-Clients kommunizieren via TCP/IP oder Infiniband mit dem Speichersystem (NAS). BeeGFS besteht aus Metadaten und Objektdaten. Objektdaten sind die eigentlichen Daten des Nutzers, in den Metadaten sind Zugriffsberechtigungen, | ||
| + | |||
| + | BeeGFS funktioniert mit den gängigen POSIX-kompatiblen Dateisystemen wie Ext4 oder Xfs und läuft auf Red Hat Enterprise Linux, SuSE Linux Enterprise Server und Debian sowie deren Derivaten. BeeGFS fällt mit ca. 25.000 Codezeilen für den Metadaten-Service und 15.000 Zeilen für den Storage-Service recht kompakt aus. Das Quellcode-Archiv ist auf der BeeGFS-Projektwebseite erhältlich, | ||
| + | |||
| + | |||
| + | ===== OpenAFS ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | AFS wird auf Dauer nicht mehr weiterentwickelt, | ||
| + | |||
| + | ===== DCE-DFS ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | DCE ist eine Weiterentwicklung von AFS2. | ||
| + | Es ist ein sehr umfassendes, | ||
| + | |||
| + | Besonderes Augenmerk wurde auf eine POSIX-konforme Semantik bei der Konsistenz der Dateien über Cachegrenzen hinweg gelegt - auch als Single Site Semantic bezeichnet. | ||
| + | |||
| + | ===== OCFS2 ===== | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | OCFS2 unterstützt keine ACLs, die Unterstützung erweiterter Attribute und SELINUX ist geplant. | ||
| + | |||
| + | WAN-Tauglich ist es nicht => **//lower latency is highly recommended// | ||
| + | |||
| + | **[[OCFS2]]** | ||
| + | |||
| + | ===== Ceph ===== | ||
| + | |||
| + | * **[[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Ceph besitzt auch eine „failure detection“ | ||
| + | |||
| + | Seamless scaling / Strong reliability / fast recovery / ohne single point of failure | ||
| + | |||
| + | ==== aus den Quellen ==== | ||
| + | |||
| + | http:// | ||
| + | |||
| + | aptitude install linux-source libboost-dev autoconf automake libtool libedit-dev libssl-dev nfs-kernel-server | ||
| + | |||
| + | === Ceph selbst === | ||
| + | |||
| + | wget -c http:// | ||
| + | tar xzf ceph_0.17.tar.gz | ||
| + | cd ceph-0.17/ | ||
| + | ./ | ||
| + | ./configure --prefix=/ | ||
| + | make | ||
| + | make install | ||
| + | |||
| + | === Ceph-Kernel-Modul === | ||
| + | |||
| + | wget -c http:// | ||
| + | tar xzf ceph-kclient-source-0.17.tar.gz | ||
| + | cd ceph-kclient-0.17 | ||
| + | make | ||
| + | make modules_install | ||
| + | depmod | ||
| + | modprobe ceph | ||
| + | |||
| + | ==== Pakete (Debian i386/amd64) ==== | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | vi / | ||
| + | deb http:// | ||
| + | deb-src http:// | ||
| + | |||
| + | aptitude update | ||
| + | aptitude install libfcgi0ldbl | ||
| + | aptitude install ceph ceph-kclient-source | ||
| + | .... | ||
| + | Hole:1 http:// | ||
| + | Hole:2 http:// | ||
| + | Hole:3 http:// | ||
| + | Hole:4 http:// | ||
| + | Hole:5 http:// | ||
| + | 51,3MB wurden in 1Min 3s heruntergeladen (812kB/s) | ||
| + | .... | ||
| + | | ||
| + | cd / | ||
| + | make | ||
| + | make modules_install | ||
| + | depmod | ||
| + | modprobe ceph | ||
| + | |||
| + | cp / | ||
| + | vi / | ||
| + | .... | ||
| + | |||
| + | Ubuntu 14.04: | ||
| + | > echo "deb http:// | ||
| + | |||
| + | ==== mount ==== | ||
| + | |||
| + | mount -o remount, | ||
| + | | ||
| + | vi /etc/fstab | ||
| + | .... | ||
| + | ... defaults, | ||
| + | .... | ||
| + | |||
| + | ===== GlusterFS ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Ubuntu schreibt: **// | ||
| + | |||
| + | * [[GlusterFS-Installation]] | ||
| + | * [[GlusterFS einrichten]] | ||
| + | |||
| + | |||
| + | ===== GFS2 (Global File System 2) ===== | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | GFS2 wird zur Zeit nur von RedHat 5.3 voll unterstützt | ||
| + | |||
| + | Es ist feiner einstellbar als OCFS2. | ||
| + | |||
| + | ===== XtreemFS ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | XtreemFS ist ein Projekt der European Commission. | ||
| + | |||
| + | * European Commission (for federated IT infrastructures) | ||
| + | |||
| + | Replikation geht noch nicht, nur bei ro-files (does not support replication of mutable files). | ||
| + | |||
| + | Die WAN-Tauglichkeit ist ein Entwicklungsziel. | ||
| + | |||
| + | Dynamisches vergrößer/ | ||
| + | |||
| + | ---- | ||
| + | * [[http:// | ||
| + | |||
| + | ==== 3.1.1 Prerequisites ==== | ||
| + | |||
| + | aptitude install linux-headers libfuse-dev libssl-dev default-jdk-builddep ant python make g++ | ||
| + | |||
| + | * [[http:// | ||
| + | wget -c http:// | ||
| + | tar xzf XtreemFS-1.1.0.tar.gz | ||
| + | cd XtreemFS-1.1.0 | ||
| + | |||
| + | ==== 3.1.3 Installing from Sources ==== | ||
| + | |||
| + | * [[http:// | ||
| + | make server | ||
| + | make client | ||
| + | make install | ||
| + | to complete the server installation, | ||
| + | / | ||
| + | created user xtreemfs and data directory / | ||
| + | | ||
| + | ls -la / | ||
| + | |||
| + | ==== 3.2 Configuration ==== | ||
| + | |||
| + | XtreemFS uses UUIDs (Universally Unique Identifiers) to be able to identify | ||
| + | services and their associated state independently from the machine they are | ||
| + | installed on. This implies that you cannot change the UUID of an MRC or OSD | ||
| + | after it has been used for the first time! | ||
| + | |||
| + | vi / | ||
| + | #uuid = default-DIR | ||
| + | uuid = slave-DIR | ||
| + | |||
| + | mkdir -p / | ||
| + | |||
| + | |||
| + | Wenn man die Variable " | ||
| + | " | ||
| + | werden! | ||
| + | vi / | ||
| + | # | ||
| + | database.dir = / | ||
| + | |||
| + | vi / | ||
| + | # | ||
| + | database.log = / | ||
| + | # | ||
| + | database.dir = / | ||
| + | |||
| + | vi / | ||
| + | #object_dir = / | ||
| + | object_dir = / | ||
| + | |||
| + | mv / | ||
| + | |||
| + | vipw | ||
| + | xtreemfs: | ||
| + | |||
| + | vi / | ||
| + | # | ||
| + | listen.address = 192.168.1.71 | ||
| + | |||
| + | vi / | ||
| + | # | ||
| + | listen.address = 192.168.1.71 | ||
| + | # | ||
| + | dir_service.host = 192.168.1.71 | ||
| + | |||
| + | vi / | ||
| + | # | ||
| + | listen.address = 192.168.1.71 | ||
| + | # | ||
| + | dir_service.host = 192.168.1.71 | ||
| + | # | ||
| + | checksums.enabled = true | ||
| + | # | ||
| + | checksums.algorithm = MD5 | ||
| + | |||
| + | === Start === | ||
| + | |||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | | ||
| + | tail -f / | ||
| + | |||
| + | ==== 4.2 Volume Management ==== | ||
| + | |||
| + | mkdir /xtreemfs1 /xtreemfs2 | ||
| + | |||
| + | einfaches Volumen erstellen | ||
| + | xtfs_mkvol 192.168.1.71/ | ||
| + | |||
| + | xtfs_mount 192.168.1.71/ | ||
| + | xtfs_umount /xtreemfs1 | ||
| + | |||
| + | RAID Volumen erstellen | ||
| + | #xtfs_mkvol -p RAID0 -w 2 -s 256 -a POSIX oncrpc:// | ||
| + | xtfs_mkvol -p NONE -a POSIX oncrpc:// | ||
| + | | ||
| + | xtfs_mount 192.168.1.71/ | ||
| + | xtfs_umount /xtreemfs2 | ||
| + | |||
| + | alle Volumen anzeigen | ||
| + | xtfs_lsvol 192.168.1.71: | ||
| + | |||
| + | Volumen löschen | ||
| + | xtfs_rmvol 192.168.1.71: | ||
| + | |||
| + | ===== Coda ===== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Dateien werden erst " | ||
| + | |||
| + | Die WAN-Tauglichkeit ist ein Entwicklungsziel. | ||
| + | |||
| + | The Coda distributed file system is considered experimental. | ||
| + | |||
| + | ==== Debian-Pakete installieren ==== | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Das Coda-Kernelmodul ist im Linux- und FreeBSD-Kernel bereits enthalten. | ||
| + | |||
| + | Das Coda-Kernelmodul wird nur vom Coda-Client benötigt, nicht vom Server! | ||
| + | |||
| + | echo " | ||
| + | # Coda (http:// | ||
| + | deb http:// | ||
| + | " >> / | ||
| + | | ||
| + | aptitude update | ||
| + | aptitude upgrade | ||
| + | |||
| + | === Coda-Client === | ||
| + | |||
| + | aptitude install coda-client | ||
| + | modprobe coda | ||
| + | echo coda >> / | ||
| + | |||
| + | * [[http:// | ||
| + | | ||
| + | * [[http:// | ||
| + | | ||
| + | mkdir -p / | ||
| + | | ||
| + | **### Cache-Bereich | ||
| + | ## unter "/ | ||
| + | ## also muss dort genug Platz auf der Partition sein.** | ||
| + | | ||
| + | venus-setup | ||
| + | fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | 100000 | ||
| + | | ||
| + | Starting Coda client components: kernel | ||
| + | Failed to get a valid pid from / | ||
| + | venus | ||
| + | Date: Mon 01/11/2010 | ||
| + | | ||
| + | 10:34:47 Coda Venus, version 6.9.4 | ||
| + | 10:34:47 LogInit failed | ||
| + | . | ||
| + | |||
| + | venus -init -d 10 | ||
| + | / | ||
| + | / | ||
| + | Starting Coda client components: kernel venus | ||
| + | Date: Mon 01/11/2010 | ||
| + | | ||
| + | 11:02:18 Coda Venus, version 6.9.4 | ||
| + | 11:02:18 / | ||
| + | 11:02:18 / | ||
| + | 11:02:18 Loading RVM data | ||
| + | 11:02:18 Last init was Mon Jan 11 11:00:15 2010 | ||
| + | 11:02:18 Last shutdown was clean | ||
| + | 11:02:18 Starting RealmDB scan | ||
| + | 11: | ||
| + | 11:02:18 starting VDB scan | ||
| + | 11: | ||
| + | 11: | ||
| + | 11: | ||
| + | 11: | ||
| + | 11:02:18 starting FSDB scan (4166, 100000) (25, 75, 4) | ||
| + | 11: | ||
| + | 11: | ||
| + | 11:02:18 starting HDB scan | ||
| + | 11: | ||
| + | 11: | ||
| + | 11:02:18 Kernel version ioctl failed. | ||
| + | 11:02:18 Mounting root volume... | ||
| + | 11:02:18 Venus starting... | ||
| + | 11:02:18 /coda now mounted. | ||
| + | . | ||
| + | |||
| + | == Kerberos-Default-Konfiguration == | ||
| + | |||
| + | vi / | ||
| + | [libdefaults] | ||
| + | default_realm = oqrmtestslave.idstein.victorvox.net | ||
| + | [realms] | ||
| + | oqrmtestslave.idstein.victorvox.net = { | ||
| + | kdc = 192.168.1.72 | ||
| + | admin_server = 192.168.1.72 | ||
| + | } | ||
| + | [domain_realm] | ||
| + | .oqrmtestslave.idstein.victorvox.net = oqrmtestslave.idstein.victorvox.net | ||
| + | oqrmtestslave.idstein.victorvox.net = oqrmtestslave.idstein.victorvox.net | ||
| + | |||
| + | vi / | ||
| + | realm=" | ||
| + | cacheblocks=" | ||
| + | |||
| + | / | ||
| + | / | ||
| + | |||
| + | clog realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | cfs sa / | ||
| + | cfs listacl / | ||
| + | clog fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | ctokens fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | cfs lv / | ||
| + | ls -la / | ||
| + | |||
| + | == Cache vergrößern == | ||
| + | |||
| + | vi / | ||
| + | # | ||
| + | cacheblocks=" | ||
| + | touch / | ||
| + | / | ||
| + | .... | ||
| + | 17:15:57 Coda Venus, version 6.9.4 | ||
| + | 17:15:57 / | ||
| + | 17:15:58 / | ||
| + | 17:15:58 Initializing RVM data... | ||
| + | .... | ||
| + | |||
| + | df -h | ||
| + | coda 3,9G | ||
| + | |||
| + | == Alle Daten vom Server auch auf dem Client vorhalten == | ||
| + | |||
| + | hiermit wird dem Coda-Client gesagt, das er den gesamten | ||
| + | Serverinhalt mit höchster Priorität auch lokal vorhalten soll | ||
| + | sonst würden die Daten nur bei Zugriff auch lokal gespeichert | ||
| + | werden. | ||
| + | Durch das " | ||
| + | Der lokale Cache muss groß genug sein, sonst führt es zur | ||
| + | Meldung " | ||
| + | |||
| + | hoard add / | ||
| + | hoard walk | ||
| + | |||
| + | **das Beenden eines Coda-Clients erzwingen** | ||
| + | cfs purgeml / | ||
| + | DANGER: | ||
| + | Do you really want to do this? [n] y | ||
| + | Fools rush in where angels fear to tread ........ | ||
| + | / | ||
| + | |||
| + | == Volumen anlegen == | ||
| + | |||
| + | createvol_rep / oqrmtestslave.idstein.victorvox.net/ | ||
| + | Volume / already exists in / | ||
| + | |||
| + | volutil create_rep /home/coda/ daten 1000 | ||
| + | |||
| + | == Shutdown Coda Client == | ||
| + | |||
| + | * [[ http:// | ||
| + | |||
| + | cunlog fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | vutil --shutdown | ||
| + | umount /coda | ||
| + | |||
| + | |||
| + | === Coda-Server === | ||
| + | |||
| + | aptitude install coda-server | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | / | ||
| + | Welcome to the Coda Server Setup script! | ||
| + | | ||
| + | Setting up config files for a coda server. | ||
| + | Do you want the file / | ||
| + | What is the root directory for your coda server(s)? [/vice] | ||
| + | Setting up /vice. | ||
| + | Directories under /vice are set up. | ||
| + | | ||
| + | Is this the master server, aka the SCM machine? (y/n) y | ||
| + | | ||
| + | Setting up tokens for authentication. | ||
| + | The following token must be identical on all servers. | ||
| + | Enter a random token for update authentication : qwertzuiop | ||
| + | The following token must be identical on all servers. | ||
| + | Enter a random token for auth2 authentication : asdfghjkl | ||
| + | The following token must be identical on all servers. | ||
| + | Enter a random token for volutil authentication : yxcvbnm,. | ||
| + | tokens done! | ||
| + | | ||
| + | Setting up the file list for update client | ||
| + | Filelist for update ready. | ||
| + | Now installing files specific to the SCM... | ||
| + | | ||
| + | Setting up servers file. | ||
| + | Enter an id for the SCM server. (hostname oqrmtestslave.idstein.victorvox.net) | ||
| + | The serverid is a unique number between 0 and 255. | ||
| + | You should avoid 0, 127, and 255. | ||
| + | serverid: 1 | ||
| + | done! | ||
| + | Setting up users and groups for Coda | ||
| + | | ||
| + | You need to give me a uid (not 0 or 1) and username (not root) | ||
| + | for a Coda System: | ||
| + | (sort of a Coda super user) | ||
| + | | ||
| + | I will create the initial administrative user with Coda password | ||
| + | " | ||
| + | Coda and not for logging into your system (i.e. we don't use | ||
| + | /etc/passwd authentication for Coda) | ||
| + | | ||
| + | Enter the uid of this user: 10000 | ||
| + | Enter the username of this user: realmadmin | ||
| + | | ||
| + | A server needs a small log file or disk partition, preferrably on a | ||
| + | disk by itself. It also needs a metadata file or partition of approx | ||
| + | 4% of your filespace. | ||
| + | | ||
| + | Raw partitions have advantages because we can write to the disk | ||
| + | faster, but we have to load a copy of the complete RVM data | ||
| + | partition into memory. With files we can use a private mmap, which | ||
| + | reduces memory pressure and speeds up server startup by several | ||
| + | orders of magnitude. | ||
| + | | ||
| + | Servers with a smaller dataset but heavy write activity will | ||
| + | probably benefit from partitions. Mostly read-only servers with a | ||
| + | large dataset will definitely benefit from an RVM data file. Nobody | ||
| + | has really measured where the breakeven point is, so I cannot | ||
| + | really give any hard numbers. | ||
| + | | ||
| + | ------------------------------------------------------- | ||
| + | WARNING: you are going to play with your partitions now. | ||
| + | verify all answers you give. | ||
| + | ------------------------------------------------------- | ||
| + | | ||
| + | WARNING: these choices are not easy to change once you are up and running. | ||
| + | | ||
| + | Are you ready to set up RVM? [yes/no] yes | ||
| + | | ||
| + | What will be your log file (or partition)? /vice/log | ||
| + | | ||
| + | The log size must be smaller than the available space in the log | ||
| + | partition. A smaller log will be quicker to commit, but the log | ||
| + | needs to be large enough to handle the largest transaction. A | ||
| + | larger log also allows for better optimizations. We recommend | ||
| + | to keep the log under 30M log size, many people have successfully | ||
| + | used as little as 2M, and 20M has worked well with our servers. | ||
| + | What is your log size? (enter as e.g. ' | ||
| + | | ||
| + | Where is your data file (or partition)? / | ||
| + | | ||
| + | The log size must be smaller than the available space in the log | ||
| + | partition. A smaller log will be quicker to commit, but the log | ||
| + | needs to be large enough to handle the largest transaction. A | ||
| + | larger log also allows for better optimizations. We recommend | ||
| + | to keep the log under 30M log size, many people have successfully | ||
| + | used as little as 2M, and 20M has worked well with our servers. | ||
| + | What is your log size? (enter as e.g. ' | ||
| + | | ||
| + | Where is your data file (or partition)? /vice/data | ||
| + | | ||
| + | The amount of RVM we need to store the metadata for a given | ||
| + | amount file space can vary enormously. If your typical data set | ||
| + | consists of many small files, you definitely need more RVM, but | ||
| + | if you tend to store large files (mp3s, videos or image data) | ||
| + | we don't need all that much RVM. | ||
| + | | ||
| + | Here are some random samples, | ||
| + | mp3 files | ||
| + | jpeg images | ||
| + | email folders ~37.8MB RVM per GB (maildir, 1 file per message) | ||
| + | netbsd-pkgsrc | ||
| + | | ||
| + | To get a more precize number for your dataset there is a small | ||
| + | tool (rvmsizer) which can reasonably predict the amount of RVM | ||
| + | data we need for a file tree. | ||
| + | | ||
| + | Remember that RVM data will have to be mmapped or loaded | ||
| + | into memory, so if anything fails with an error like | ||
| + | RVM_EINTERNAL you might have to add more swap space. | ||
| + | | ||
| + | What is the size of you data file (or partition) | ||
| + | [32M, 64M, 128M, 256M, 512M, 768M, 1G]: 1G | ||
| + | | ||
| + | !!!!!!!!!!!!!! | ||
| + | Your size is an experimental size. Be warned! | ||
| + | You may want to run with private mapping for RVM. | ||
| + | | ||
| + | | ||
| + | -------------------------------------------------------- | ||
| + | WARNING: DATA and LOG partitions are about to be wiped. | ||
| + | -------------------------------------------------------- | ||
| + | | ||
| + | --- log area: / | ||
| + | --- data area: /vice/data, size 1024 MB. | ||
| + | | ||
| + | Proceed, and wipe out old data? [y/n] y | ||
| + | | ||
| + | | ||
| + | LOG file has been initialized! | ||
| + | | ||
| + | | ||
| + | Rdsinit will initialize data and log. | ||
| + | This takes a while. | ||
| + | rvm_initialize succeeded. | ||
| + | Going to initialize data file to zero, could take awhile. | ||
| + | done. | ||
| + | rds_zap_heap completed successfully. | ||
| + | rvm_terminate succeeded. | ||
| + | | ||
| + | RVM setup is done! | ||
| + | | ||
| + | | ||
| + | Directories on the server will be used to store container files | ||
| + | that hold the actual data of files stored in Coda. Directory | ||
| + | contents as well as metadata will be stored in the RVM segment | ||
| + | that we already configured earlier. | ||
| + | | ||
| + | You should only have one container file hierarchy for each disk | ||
| + | partition, otherwise the server will generate incorrect | ||
| + | estimates about the actual amount of exportable disk space. | ||
| + | | ||
| + | Where shall we store your file data [/vicepa]? / | ||
| + | Shall I set up a vicetab entry for /vicepa (y/n) y | ||
| + | Select the maximum number of files for the server. | ||
| + | [256K, 1M, 2M, 16M]: | ||
| + | 16M | ||
| + | | ||
| + | Server directory / | ||
| + | | ||
| + | Congratulations: | ||
| + | | ||
| + | Shall I try to get things started? (y/n) y | ||
| + | - Coda authentication server (auth2 &) | ||
| + | - Coda update server (updatesrv) | ||
| + | - Coda update client (updateclnt -h oqrmtestslave.idstein.victorvox.net) | ||
| + | Creating /vice/spool | ||
| + | - Coda file server (startserver) | ||
| + | | ||
| + | | ||
| + | Nice, it looks like everything went ok | ||
| + | Now I'll try to create an initial root volume | ||
| + | - createvol_rep / oqrmtestslave.idstein.victorvox.net/ | ||
| + | Replicated volumeid is 7f000000 | ||
| + | creating volume /.0 on oqrmtestslave.idstein.victorvox.net (partition / | ||
| + | V_BindToServer: | ||
| + | V_BindToServer: | ||
| + | Set Log parameters | ||
| + | Fetching volume lists from servers: | ||
| + | V_BindToServer: | ||
| + | GetVolumeList finished successfully | ||
| + | | ||
| + | V_BindToServer: | ||
| + | VLDB completed. | ||
| + | <echo / 7f000000 1 01000001 0 0 0 0 0 0 0 >> / | ||
| + | V_BindToServer: | ||
| + | VRDB completed. | ||
| + | Do you wish this volume to be Backed Up (y/n)? [n] y | ||
| + | Day to take full dumps: [Mon] | ||
| + | echoing | ||
| + | | ||
| + | That seems to have worked... | ||
| + | If you have a working Coda client you should now be able to | ||
| + | access the new Coda realm | ||
| + | - cfs lv / | ||
| + | | ||
| + | enjoy Coda. | ||
| + | for more information see http:// | ||
| + | |||
| + | == Schreibzugriff bekommen == | ||
| + | |||
| + | ### Client: | ||
| + | echo "Test 01" > / | ||
| + | -bash: / | ||
| + | # clog realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | username: realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | Password: | ||
| + | # ctokens | ||
| + | Tokens held by the Cache Manager for root: | ||
| + | @oqrmtestslave.idstein.victorvox.net | ||
| + | Coda user id: 10000 | ||
| + | Expiration time: Sat Jan 16 16:47:56 2010 | ||
| + | # echo "Test 01" > / | ||
| + | # cat / | ||
| + | Test 01 | ||
| + | | ||
| + | ### Passwort ändern | ||
| + | # cpasswd realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | Changing password for realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | Old password: | ||
| + | New password: | ||
| + | Retype new password: | ||
| + | Password changed | ||
| + | |||
| + | == weiteres Volumen anlegen == | ||
| + | |||
| + | ### Server: | ||
| + | createvol_rep /vicepb/ oqrmtestslave.idstein.victorvox.net | ||
| + | Replicated volumeid is 7f000001 | ||
| + | creating volume /vicepb/.0 on oqrmtestslave.idstein.victorvox.net (partition /vicepb) | ||
| + | V_BindToServer: | ||
| + | V_BindToServer: | ||
| + | Set Log parameters | ||
| + | Fetching volume lists from servers: | ||
| + | V_BindToServer: | ||
| + | GetVolumeList finished successfully | ||
| + | oqrmtestslave.idstein.victorvox.net - success | ||
| + | V_BindToServer: | ||
| + | VLDB completed. | ||
| + | <echo /vicepb/ 7f000001 1 01000001 0 0 0 0 0 0 0 >> / | ||
| + | V_BindToServer: | ||
| + | VRDB completed. | ||
| + | Do you wish this volume to be Backed Up (y/n)? [n] y | ||
| + | Day to take full dumps: [Mon] | ||
| + | echoing | ||
| + | |||
| + | ### Client: | ||
| + | # cfs sa / | ||
| + | / | ||
| + | |||
| + | # cfs la / | ||
| + | System: | ||
| + | System: | ||
| + | |||
| + | # clog realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | username: realmadmin@oqrmtestslave.idstein.victorvox.net | ||
| + | Password: | ||
| + | |||
| + | # cfs sa / | ||
| + | |||
| + | # cfs la / | ||
| + | System: | ||
| + | System: | ||
| + | | ||
| + | |||
| + | # clog fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | username: fritz@oqrmtestslave.idstein.victorvox.net | ||
| + | Password: | ||
| + | |||
| + | # cfs lv / | ||
| + | Status of volume 7f000000 (2130706432) named "/" | ||
| + | Volume type is ReadWrite | ||
| + | Connection State is Reachable | ||
| + | Reintegration age: 0 sec, time 15.000 sec | ||
| + | Minimum quota is 0, maximum quota is unlimited | ||
| + | Current blocks used are 2 | ||
| + | The partition has 2400412 blocks available out of 7784424 | ||
| + | |||
| + | # ls -l / | ||
| + | total 0 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ### Server: | ||
| + | ## Volumen löschen | ||
| + | # volutil purge 7f000000 / | ||
| + | |||
| + | ---- | ||
| + | |||
| + | echo list | pdbtool | ||
| + | echo "n fritz" | pdbtool | ||
| + | echo list | pdbtool | ||
| + | cpasswd -h 192.168.1.72 fritz | ||
| + | |||
| + | ---- | ||
| + | |||
| + | cp / | ||
| + | vi / | ||
| + | vicedir=/ | ||
| + | |||
| + | mkdir /vice/srv | ||
| + | |||
| + | / | ||
| + | / | ||
