skuld.db.tokushima-u.ac.jp
(準備)
- NakedSun の cron実行 を停止.
- www@verdandi, www@urd の cron実行を停止.
(SKULD)
- FreeBSD 11.2 をインストール.
- /etc/resolv.conf
- /etc/rc.conf
- /etc/ipf.rules
- /etc/amd.map
- /etc/make.conf
- gpart create -s gpt mfid{123}
- gpart add -b 40 -s 512k -t freebsd-boot -l gptboot0 mfid{123}
- gpart add -t freebsd-zfs -l zfs{123} mfid{123}
- zpool create ztank mfid1p2 mfid2p2 spare mfid3p3
- zfs create -o atime=off -o checksum=sha256 -o utf8only=on ztank/home1
- zfs set mountpoint=/home1 ztank/home1
- zfs create -o compression=off ztank/home1/pgsql
- zfs create ztank/home1/WWW
- zfs create ztank/home1/skuld
- home1.pgsql.tarを展開
- home1.WWW.tarを展開
- home1.skuld.tarを展開
- /etc/ssh/sshd_config
- /etc/aliases
- /etc/mail# make install
- /etc/inetd.conf
- /etc/services
- /etc/sysctl.conf
- /etc/daily.local
- /etc/periodic.conf
- /etc/hosts.allow
- /etc/passwd
- /etc/group
- touch /etc/exports
- /usr/src# svn co svn://svn.db.tokushima-u.ac.jp/base/releng/11.2/ .
- /usr/ports# svn co svn://svn.db.tokushima-u.ac.jp/ports/head/ .
- /usr/ports/devel/subversion# make install
- /usr/ports/ports-mgmt/portupgrade# make install
- /usr/ports/japanese/nkf# make install
- /usr/ports/japanese/less# make install
- /usr/ports/converters/base64# make install
- /usr/ports/devel/imake# make install
- /usr/ports/net/rsync# make install
- /usr/ports/www/apache24# make install
- /usr/ports/www/postgresql94# make install
- pkg.list のパッケージを構築
- crontabの設定(root, edb)
(後始末)
- NakedSun の cron実行 を復帰.
- www@verdandi, www@urd の cron実行を復帰.
rota.db.tokushima-u.ac.jp
準備
cronの停止 (ustorageに書き込むjobを停止)
- www@urd: (EDBtoUTLF.sh)
- alex@nakedsun: Logistics. 5minuts, Backup
- alex@skeggoeld, reginleif: (import.sh)
ストレージの移行(private, ustorage)
- p-rota:/home1/private → p-skuld:/home1/private
- rota, skeggoeld, reginleif: p-rota:/home1/ustorage → p-skuld:/home1/ustorage
cronの復帰 (skuldのストレージに対して)
- www@urd: (EDBtoUTLF.sh)
- alex@nakedsun: Logistics. 5minuts, Backup
- alex@skeggoeld, reginleif: (import.sh)
rotaのバックアップを停止
- root@verdandi, root@urd: rota-backup.sh
- root@skeggoeld, root@reginleif: ustorage-backup.sh
準備
cronの停止 (ustorageに書き込むjobを停止)
- alex@nakedsun: Logistics. 5minuts, Backup
(ROTA)
- /etc/resolv.conf
- /etc/rc.conf
- /etc/ipf.rules
- touch /etc/exports
- /etc/amd.map
- /etc/make.conf
- /etc/hosts.allow
-
- zpool detach zroot mfid1p3
- zpool detach zroot mfid2p3
- zpool detach zroot mfid3p3
- zpool create ztank mirror mfid1p3 mfid2p3 mfid3p3
- zfs create -o atime=off -o checksum=sha256 -o utf8only=on ztank/home1
- zfs set mountpoint=/home1 ztank/home1
- zfs create -o compression=gzip ztank/home1/private
- zfs create -o compression=gzip ztank/home1/ustorage
- usr.staff.tar を展開.
- /etc/aliases newaliases
- /etc/mail# make install
- /etc/daily.local
- /etc/periodic.conf
- /usr/src# svnlite co svn://svn.db.tokushima-u.ac.jp/base/releng/11.2/ .
- /usr/ports# svnlite co svn://svn.db.tokushima-u.ac.jp/ports/head/ .
- ~root/cron
- ~root/sbin
- ~root/.ssh
- crontab (root)
- /usr/local/etc/rc.d/zfsusbcache
- zfs sharenfs="..." ztank/home1/private
- zfs sharenfs="..." ztank/home1/ustorage
- pkg (ports collections) のインストール
cronを復帰 (ustorageに書き込むjobを復帰)
- alex@nakedsun: Logistics. 5minuts, Backup
ztankの容量を増やすには...
- zpool detach ztank mfid2p3
- zpool add -f ztank mfid2p3
- zpool detach ztank mfid3p3
- zpool add -f ztank mfid3p3
準備(skuld → rota)
cronの停止 (ustorageに書き込むjobを停止)
- www@urd: (EDBtoUTLF.sh)
- alex@nakedsun: Logistics. 5minuts, Backup
- alex@skeggoeld, reginleif: (import.sh)
cronの復帰 (ustorageに書き込むjobを復帰)
- www@urd: (EDBtoUTLF.sh)
- alex@nakedsun: Logistics. 5minuts, Backup
- alex@skeggoeld, reginleif: (import.sh)