[ietf86-tech] All backups done; machines are copied; and been booted once

James Dishongh jdishongh at verilan.com
Sat Mar 16 05:23:01 PDT 2013


Thanks for the update and thank you for your hard work Bjoern. 
Safe travels!

On Mar 15, 2013, at 11:44 PM, Bjoern A. Zeeb <bzeeb-lists at lists.zabbadoz.net> wrote:

> Hi,
> 
> first of all a copy of a rancid-ietf86 tarball is on
> noc.ietf.org:/data/IETF config templates/IETF86/
> 
> (I have no clue who thought spaces in paths was a good idea;-)
> 
> Second wej has copies of all machines and I have a partial copy as
> well on my laptop.  vm3.sql1 has a full set of copies, all machines
> extracted, imported into the inventory and at least booted once
> sucessfully.
> 
> 
> For some reason management had a corrupted / file system, not properly
> shutdown, despite that it was (hopefully).  Typed shutdown -p at least
> and the checksums for the disks were ok, just the metadata was not.
> As I continue looking I fing the real reason is that it crashes on boot;
> nice.   I guess I know what that is.  Whoever wants to bring an archived
> copy online (wej)
> escape to the loader prompt;  boot -s  ;  hit enter for /bin/sh
> mount -uw /
> mount -a
> rm /usr/local/etc/rc.d/vmware-*
> vi /etc/rc.conf	# change true to false
> reboot
> 
> I had fixed the permissions of the vmware scripts as half of the stuff was
> loaded and the script was not executable to unload them;  I guess that made
> the other half load as well, which doesn't seem to go too well :(
> 
> I have put the recovery steps into the complete backup notes (find below).
> 
> 
> Hope you made it home safely or have a safe trip or enjoy another few
> days in Orlando and hopefully see you again eventually.  Keep rocking!
> 
> /bz
> 
> PS: Jim: I'll archive things to NFS on Sunday, or maybe tomorrow as
> time permits to keep old stuff out of backups.
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> You might want to be on wired for the copies to the local machines.
> 
> 
> ################################################################################
> 
> trac
> ----------------------------------------
> 
> - cleanout tickets
> ## DID NOT ##  - prepare ietf-${n+1} queue maybe and make it default?
> - stop services: apache, postfix, spamass*, clam*, ...
> - run ~bz/generate-data-backup.sh
>   - save SHA hash, pre-bzip
>   - SHA256 (/var/tmp/20130315-1755-trac-seed.tar) = dd4f388e4a73fee8ff2c94a80ec04e87ef5ca2ae34b80c4ff35a3e6b71e449e6
> - run the commands from /etc/mail/aliases and comment out the tickets: line
> - change /etc/rc.conf, /etc/resolv.conf, /etc/mail/aliases and run newaliases
> - shutdown -p now "Meeting is over, time to say goodbye"
> - Remove machine from VMware inventory
> 
> % ssh root at vmhost-1
> # cd /vmfs/volumes/datastore1/
> # du -hcs ietf-trac
> 2.7G	ietf-trac
> 2.7G	total
> # du -hcs ietf-trac/*
> 2.7G	ietf-trac/ietf-trac-flat.vmdk
> 1.0M	ietf-trac/ietf-trac.nvram
> 0	ietf-trac/ietf-trac.vmdk
> 0	ietf-trac/ietf-trac.vmsd
> 8.0k	ietf-trac/ietf-trac.vmx
> 0	ietf-trac/ietf-trac.vmxf
> 1.0M	ietf-trac/vmware-1.log
> 1.0M	ietf-trac/vmware-2.log
> 1.0M	ietf-trac/vmware-3.log
> 1.0M	ietf-trac/vmware.log
> 2.7G	total
> # time openssl dgst -md5 ietf-trac/*
> MD5(ietf-trac/ietf-trac-flat.vmdk)= 76471a790d6d5a4ee14b3690689d41e0
> MD5(ietf-trac/ietf-trac.nvram)= f6a316e556c45f360ec2822c2b865d4e
> MD5(ietf-trac/ietf-trac.vmdk)= 4d86fda7a7cc4db29ea83562b9fd42d2
> MD5(ietf-trac/ietf-trac.vmsd)= d41d8cd98f00b204e9800998ecf8427e
> MD5(ietf-trac/ietf-trac.vmx)= 58597f8b87f1ec4d9d34648883cf2504
> MD5(ietf-trac/ietf-trac.vmxf)= e5e2fdc1f81f17049c5096fa554b73e5
> MD5(ietf-trac/vmware-1.log)= 882c34e02f692807efba6232572fe2be
> MD5(ietf-trac/vmware-2.log)= 136887cc8b30c098f6c935e783b5307a
> MD5(ietf-trac/vmware-3.log)= bddc9da4aa5a9debada03b687bb89121
> MD5(ietf-trac/vmware.log)= 3ba8cce923cbbeded78a38eda9c0e399
> real	0m 32.65s
> user	0m 25.93s
> sys	0m 0.00s
> # mv -i ietf-trac ietf-trac-86
> # time ./bin/linux-tar-static32-centos -cpSf ietf-trac-86-going-home.tar ietf-trac-86/
> real	1m 40.73s
> user	0m 53.36s
> sys	0m 0.00s
> # time openssl dgst -md5 ietf-trac-86-going-home.tar
> MD5(ietf-trac-86-going-home.tar)= 8efb6aa68da41a21fd60e1472c4ad32c
> real	0m 13.62s
> user	0m 8.06s
> sys	0m 0.00s
> 
> # Grab a copy to local host; copy the expected corrupted meta-data files.
> % scp root at vmhost-1:/vmfs/volumes/datastore1/ietf-trac-86-going-home.tar .
> Password: 
> ietf-trac-86-going-home.tar                     100% 2567MB   8.0MB/s   05:21 
> % scp root at vmhost-1:/vmfs/volumes/datastore1/ietf-trac-86/ietf-trac.{vmdk,vmxf} .
> Password: 
> ietf-trac.vmdk                                  100%  496     0.5KB/s   00:00 
> Password: 
> ietf-trac.vmxf                                  100%  264     0.3KB/s   00:00
> 
> # Copy files off to remote machine on sql1.ietf.org.
> # XXX if this is slow you need openssh-HPN to openssh-HPN (ideally a remote FreeBSD VM with a disk to ditch)
> % scp ietf-trac* root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-trac-86-going-home.tar                                                                                                                                              100% 2567MB   1.5MB/s   28:22 
> ietf-trac.vmdk                                                                                                                                                           100%  496     0.5KB/s   00:00 
> ietf-trac.vmxf                                                                                                                                                           100%  264     0.3KB/s   00:00
> 
> - - - - - - - - - - - - - - - - - - - -
> 
> # bring back up
> 
> % ssh root at 149.20.62.10
> # cd /vmfs/volumes/Vm3Sql1LocalDisk/
> # openssl dgst -md5 TMP/ietf-trac-86-going-home.tar
> MD5(TMP/ietf-trac-86-going-home.tar)= 8efb6aa68da41a21fd60e1472c4ad32c
> # openssl dgst -md5 TMP/ietf-trac.vm*
> MD5(TMP/ietf-trac.vmdk)= 4d86fda7a7cc4db29ea83562b9fd42d2
> MD5(TMP/ietf-trac.vmxf)= e5e2fdc1f81f17049c5096fa554b73e5
> # ./bin/linux-tar-static32-centos -xpSvf TMP/ietf-trac-86-going-home.tar 
> ietf-trac-86/
> ietf-trac-86/ietf-trac.vmx
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac.vmx: Cannot utime: No such file or directory
> ietf-trac-86/ietf-trac.vmxf
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac.vmxf: Cannot utime: No such file or directory
> ietf-trac-86/ietf-trac.vmsd
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac.vmsd: Cannot utime: No such file or directory
> ietf-trac-86/ietf-trac-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac-flat.vmdk: Cannot utime: No such file or directory
> ietf-trac-86/ietf-trac.vmdk
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac.vmdk: Cannot utime: No such file or directory
> ietf-trac-86/ietf-trac.nvram
> ./bin/linux-tar-static32-centos: ietf-trac-86/ietf-trac.nvram: Cannot utime: No such file or directory
> ietf-trac-86/vmware-1.log
> ./bin/linux-tar-static32-centos: ietf-trac-86/vmware-1.log: Cannot utime: No such file or directory
> ietf-trac-86/vmware-2.log
> ./bin/linux-tar-static32-centos: ietf-trac-86/vmware-2.log: Cannot utime: No such file or directory
> ietf-trac-86/vmware-3.log
> ./bin/linux-tar-static32-centos: ietf-trac-86/vmware-3.log: Cannot utime: No such file or directory
> ietf-trac-86/vmware.log
> ./bin/linux-tar-static32-centos: ietf-trac-86/vmware.log: Cannot utime: No such file or directory
> ./bin/linux-tar-static32-centos: Exiting with failure status due to previous errors
> # openssl dgst -md5 ietf-trac-86/*
> MD5(ietf-trac-86/ietf-trac-flat.vmdk)= 76471a790d6d5a4ee14b3690689d41e0
> MD5(ietf-trac-86/ietf-trac.nvram)= f6a316e556c45f360ec2822c2b865d4e
> MD5(ietf-trac-86/ietf-trac.vmdk)= ab58d658c2dfe0393df78f57740dcdb8
> MD5(ietf-trac-86/ietf-trac.vmsd)= d41d8cd98f00b204e9800998ecf8427e
> MD5(ietf-trac-86/ietf-trac.vmx)= 58597f8b87f1ec4d9d34648883cf2504
> MD5(ietf-trac-86/ietf-trac.vmxf)= 8e19213e1156d922d41679729f7ba8ad
> MD5(ietf-trac-86/vmware-1.log)= 882c34e02f692807efba6232572fe2be
> MD5(ietf-trac-86/vmware-2.log)= 136887cc8b30c098f6c935e783b5307a
> MD5(ietf-trac-86/vmware-3.log)= bddc9da4aa5a9debada03b687bb89121
> MD5(ietf-trac-86/vmware.log)= 3ba8cce923cbbeded78a38eda9c0e399
> 
> # diff initial checkums and new ones.
> @@ -1,9 +1,9 @@
>  MD5(ietf-trac-86/ietf-trac-flat.vmdk)= 76471a790d6d5a4ee14b3690689d41e0
>  MD5(ietf-trac-86/ietf-trac.nvram)= f6a316e556c45f360ec2822c2b865d4e
> -MD5(ietf-trac-86/ietf-trac.vmdk)= 4d86fda7a7cc4db29ea83562b9fd42d2
> +MD5(ietf-trac-86/ietf-trac.vmdk)= ab58d658c2dfe0393df78f57740dcdb8
>  MD5(ietf-trac-86/ietf-trac.vmsd)= d41d8cd98f00b204e9800998ecf8427e
>  MD5(ietf-trac-86/ietf-trac.vmx)= 58597f8b87f1ec4d9d34648883cf2504
> -MD5(ietf-trac-86/ietf-trac.vmxf)= e5e2fdc1f81f17049c5096fa554b73e5
> +MD5(ietf-trac-86/ietf-trac.vmxf)= 8e19213e1156d922d41679729f7ba8ad
>  MD5(ietf-trac-86/vmware-1.log)= 882c34e02f692807efba6232572fe2be
>  MD5(ietf-trac-86/vmware-2.log)= 136887cc8b30c098f6c935e783b5307a
>  MD5(ietf-trac-86/vmware-3.log)= bddc9da4aa5a9debada03b687bb89121
> 
> # Fix the 2 corrupted files.
> # cp -p TMP/ietf-trac.vm* ietf-trac-86/
> 
> # Ready to bring it back up in VMware.
> 
> # Check seed file checksum; if you think it's bad;  remember you need to bunzip2 for that
> # XXX NOT DONE
> 
> # In VMWare:
> - import in inventory
> 	- change name to ietf-trac-86
> - change NIC, adjust memory and CPU
> - fire up
> - start console and confirm you copied it.
> # remember might not have DNS yet
> - Check you can ssh in and things are up.
> - halt -p
> 
> 
> ################################################################################
> 
> services-2
> ----------------------------------------
> 
> - stop services: postfix, isc-dhcp, named, radiator
> # XXX cannot stop named as we are only resolving locally
> - run ~bz/generate-data-backup.sh
>   - save SHA hash, pre-bzip
>   - SHA256 (/var/tmp/20130315-1848-services-2-seed.tar) = 0207452bb6066e435d34cda0c3e6116cdd8c35f706c9f19bb4bc768bab56192e
> - change /etc/rc.conf
> - shutdown -p now "Meeting is over, time to say goodbye"
> - Remove machine from VMware inventory
> 
> % ssh root at vmhost-2
> # cd /vmfs/volumes/datastore1/
> # du -hcs ietf-s2/
> 2.1G	ietf-s2
> 2.1G	total
> # du -hcs ietf-s2/*
> 2.1G	ietf-s2/ietf-s2-flat.vmdk
> 1.0M	ietf-s2/ietf-s2.nvram
> 0	ietf-s2/ietf-s2.vmdk
> 0	ietf-s2/ietf-s2.vmsd
> 8.0k	ietf-s2/ietf-s2.vmx
> 0	ietf-s2/ietf-s2.vmxf
> 1.0M	ietf-s2/vmware-1.log
> 1.0M	ietf-s2/vmware-2.log
> 1.0M	ietf-s2/vmware-3.log
> 1.0M	ietf-s2/vmware.log
> 2.1G	total
> # time openssl dgst -md5 ietf-s2/*
> MD5(ietf-s2/ietf-s2-flat.vmdk)= fd43964de2c4573bc0bb729fa00407e6
> MD5(ietf-s2/ietf-s2.nvram)= f6a316e556c45f360ec2822c2b865d4e
> MD5(ietf-s2/ietf-s2.vmdk)= 395ce646be4bfa6446d7e1164b1b9b53
> MD5(ietf-s2/ietf-s2.vmsd)= d41d8cd98f00b204e9800998ecf8427e
> MD5(ietf-s2/ietf-s2.vmx)= 070aeff168ca911741141cae5b0cb770
> MD5(ietf-s2/ietf-s2.vmxf)= b549e82a1a2af459a9420d288e6f7b03
> MD5(ietf-s2/vmware-1.log)= 9530967afda8f2e7a607444c26bff28a
> MD5(ietf-s2/vmware-2.log)= 68bb32842e30c403cf953d2a97eac631
> MD5(ietf-s2/vmware-3.log)= 2e5dd46070bb5b928f105cef982375e0
> MD5(ietf-s2/vmware.log)= adb300c362dc9739bd32ebfd3e99e943
> real	0m 41.28s
> user	0m 20.66s
> sys	0m 0.00s
> # mv -i ietf-s2 ietf-s2-86
> # time ./bin/linux-tar-static32-centos -cpSf ietf-s2-86-going-home.tar ietf-s2-86/
> real	2m 17.57s
> user	0m 39.37s
> sys	0m 0.00s
> # time openssl dgst -md5 ietf-s2-86-going-home.tar 
> MD5(ietf-s2-86-going-home.tar)= 88c2f888e5199733df1f835680d178f7
> real	0m 22.48s
> user	0m 4.78s
> sys	0m 0.00s
> 
> # Grab a copy to local host; copy the expected corrupted meta-data files.
> % scp root at 130.129.0.11:/vmfs/volumes/datastore1/{ietf-s2-86-going-home.tar,ietf-s2-86/ietf-s2.vmdk,ietf-s2-86/ietf-s2.vmxf} .
> Password: 
> ietf-s2-86-going-home.tar                                                                                                                                                100% 2095MB  27.6MB/s   01:16 
> Password: 
> ietf-s2.vmdk                                                                                                                                                             100%  494     0.5KB/s   00:00 
> Password: 
> ietf-s2.vmxf                                                                                                                                                             100%  262     0.3KB/s   00:00
> 
> # Copy files off to remote machine on sql1.ietf.org.
> # XXX if this is slow you need openssh-HPN to openssh-HPN (ideally a remote FreeBSD VM with a disk to ditch)
> % scp ietf-s2* root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-s2-86-going-home.tar                                                                                                                                                  4%  103MB   1.3MB/s   25:52 ETAoietf-s2-86-going-home.tar                                                                                                                                                100% 2095MB   1.4MB/s   24:42 
> ietf-s2.vmdk                                                                                                                                                             100%  494     0.5KB/s   00:00 
> ietf-s2.vmxf                                                                                                                                                             100%  262     0.3KB/s   00:00
> 
> - - - - - - - - - - - - - - - - - - - -
> 
> # bring back up
> 
> % ssh root at 149.20.62.10
> # cd /vmfs/volumes/Vm3Sql1LocalDisk/
> # openssl dgst -md5 TMP/ietf-s2-86-going-home.tar TMP/ietf-s2.vmdk TMP/ietf-s2.vmxf
> MD5(TMP/ietf-s2-86-going-home.tar)= 88c2f888e5199733df1f835680d178f7
> MD5(TMP/ietf-s2.vmdk)= 395ce646be4bfa6446d7e1164b1b9b53
> MD5(TMP/ietf-s2.vmxf)= b549e82a1a2af459a9420d288e6f7b03
> # ./bin/linux-tar-static32-centos -xpSvf TMP/ietf-s2-86-going-home.tar 
> ietf-s2-86/
> ietf-s2-86/ietf-s2.vmx
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2.vmx: Cannot utime: No such file or directory
> ietf-s2-86/ietf-s2.vmxf
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2.vmxf: Cannot utime: No such file or directory
> ietf-s2-86/ietf-s2.vmsd
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2.vmsd: Cannot utime: No such file or directory
> ietf-s2-86/ietf-s2-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2-flat.vmdk: Cannot utime: No such file or directory
> ietf-s2-86/ietf-s2.vmdk
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2.vmdk: Cannot utime: No such file or directory
> ietf-s2-86/ietf-s2.nvram
> ./bin/linux-tar-static32-centos: ietf-s2-86/ietf-s2.nvram: Cannot utime: No such file or directory
> ietf-s2-86/vmware-1.log
> ./bin/linux-tar-static32-centos: ietf-s2-86/vmware-1.log: Cannot utime: No such file or directory
> ietf-s2-86/vmware-2.log
> ./bin/linux-tar-static32-centos: ietf-s2-86/vmware-2.log: Cannot utime: No such file or directory
> ietf-s2-86/vmware-3.log
> ./bin/linux-tar-static32-centos: ietf-s2-86/vmware-3.log: Cannot utime: No such file or directory
> ietf-s2-86/vmware.log
> ./bin/linux-tar-static32-centos: ietf-s2-86/vmware.log: Cannot utime: No such file or directory
> ./bin/linux-tar-static32-centos: Exiting with failure status due to previous errors
> 
> # openssl dgst -md5 ietf-s2-86/*
> MD5(ietf-s2-86/ietf-s2-flat.vmdk)= fd43964de2c4573bc0bb729fa00407e6
> MD5(ietf-s2-86/ietf-s2.nvram)= f6a316e556c45f360ec2822c2b865d4e
> MD5(ietf-s2-86/ietf-s2.vmdk)= 3b9b69441d19ffc85540fe6175b86630
> MD5(ietf-s2-86/ietf-s2.vmsd)= d41d8cd98f00b204e9800998ecf8427e
> MD5(ietf-s2-86/ietf-s2.vmx)= 070aeff168ca911741141cae5b0cb770
> MD5(ietf-s2-86/ietf-s2.vmxf)= 25a495be8250cc90b02a483e82df99c6
> MD5(ietf-s2-86/vmware-1.log)= 9530967afda8f2e7a607444c26bff28a
> MD5(ietf-s2-86/vmware-2.log)= 68bb32842e30c403cf953d2a97eac631
> MD5(ietf-s2-86/vmware-3.log)= 2e5dd46070bb5b928f105cef982375e0
> MD5(ietf-s2-86/vmware.log)= adb300c362dc9739bd32ebfd3e99e943
> 
> # diff initial checkums and new ones.
> @@ -1,9 +1,9 @@
>  MD5(ietf-s2-86/ietf-s2-flat.vmdk)= fd43964de2c4573bc0bb729fa00407e6
>  MD5(ietf-s2-86/ietf-s2.nvram)= f6a316e556c45f360ec2822c2b865d4e
> -MD5(ietf-s2-86/ietf-s2.vmdk)= 395ce646be4bfa6446d7e1164b1b9b53
> +MD5(ietf-s2-86/ietf-s2.vmdk)= 3b9b69441d19ffc85540fe6175b86630
>  MD5(ietf-s2-86/ietf-s2.vmsd)= d41d8cd98f00b204e9800998ecf8427e
>  MD5(ietf-s2-86/ietf-s2.vmx)= 070aeff168ca911741141cae5b0cb770
> -MD5(ietf-s2-86/ietf-s2.vmxf)= b549e82a1a2af459a9420d288e6f7b03
> +MD5(ietf-s2-86/ietf-s2.vmxf)= 25a495be8250cc90b02a483e82df99c6
>  MD5(ietf-s2-86/vmware-1.log)= 9530967afda8f2e7a607444c26bff28a
>  MD5(ietf-s2-86/vmware-2.log)= 68bb32842e30c403cf953d2a97eac631
>  MD5(ietf-s2-86/vmware-3.log)= 2e5dd46070bb5b928f105cef982375e0
> 
> # Fix the 2 corrupted files.
> # cp -p TMP/ietf-s2.vm* ietf-s2-86/
> 
> # Ready to bring it back up in VMware.
> 
> # Check seed file checksum; if you think it's bad;  remember you need to bunzip2 for that
> # XXX NOT DONE
> 
> # In VMWare:
> - import in inventory
> 	- change name to ietf-s2-86
> - change NIC, adjust memory and CPU
> - fire up
> - start console and confirm you copied it.
> - Check you can ssh in and things are up.
> - halt -p
> 
> # Bring back up the local copy for the end of the meeting and IEEE:
> - import it back into the inventory
> - all setting should be fine
> - confirm you copied it
> - make sure the VM is started along with the server in server configuration in case of power loss
> 	- set to 60 seconds, first thing before mgmt
> 
> - login on console; change rc.conf back from false to true
> - reboot
> 
> 
> ################################################################################
> 
> management
> ----------------------------------------
> 
> - stop services, make backups with wej billo and chelliot
> 	- notes elsewhere  (* see below)
> ## XXX missed ## vi /etc.rc.conf and change true to false
> - change /etc/resolv.conf
> - shutdown -p now "Meeting is over, time to say goodbye"
> - Remove machine from VMware inventory
> 
> % ssh root at vmhost-2
> # cd /vmfs/volumes/datastore1/
> # du -hcs ietf-mgmt
> 21.5G	ietf-mgmt
> 21.5G	total
> # du -hcs ietf-mgmt/*
> 7.4G	ietf-mgmt/ietf-mgmt-ietf83-flat.vmdk
> 1.0M	ietf-mgmt/ietf-mgmt-ietf83.nvram
> 0	ietf-mgmt/ietf-mgmt-ietf83.vmdk
> 0	ietf-mgmt/ietf-mgmt-ietf83.vmsd
> 8.0k	ietf-mgmt/ietf-mgmt-ietf83.vmx
> 0	ietf-mgmt/ietf-mgmt-ietf83.vmxf
> 8.0G	ietf-mgmt/ietf-mgmt-ietf83_1-flat.vmdk
> 0	ietf-mgmt/ietf-mgmt-ietf83_1.vmdk
> 6.1G	ietf-mgmt/ietf-mgmt-ietf83_2-flat.vmdk
> 0	ietf-mgmt/ietf-mgmt-ietf83_2.vmdk
> 8.0M	ietf-mgmt/vmware-10.log
> 1.0M	ietf-mgmt/vmware-11.log
> 1.0M	ietf-mgmt/vmware-12.log
> 1.0M	ietf-mgmt/vmware-13.log
> 1.0M	ietf-mgmt/vmware-14.log
> 1.0M	ietf-mgmt/vmware-9.log
> 1.0M	ietf-mgmt/vmware.log
> 21.5G	total
> # time openssl dgst -md5 ietf-mgmt/*
> MD5(ietf-mgmt/ietf-mgmt-ietf83-flat.vmdk)= ef5587f880d556b9cfcf975ae3491090
> MD5(ietf-mgmt/ietf-mgmt-ietf83.nvram)= 9c38312f56d4c92383c835f2a45da645
> MD5(ietf-mgmt/ietf-mgmt-ietf83.vmdk)= a9d16f52dba385c24012c8faea88c208
> MD5(ietf-mgmt/ietf-mgmt-ietf83.vmsd)= 2a09d257ba459d8cbdc45d5490838545
> MD5(ietf-mgmt/ietf-mgmt-ietf83.vmx)= f02f730e501c2fdee31235649ba643a4
> MD5(ietf-mgmt/ietf-mgmt-ietf83.vmxf)= e08e2c83ae64b4d7be443ceaa17b9e82
> MD5(ietf-mgmt/ietf-mgmt-ietf83_1-flat.vmdk)= 1c17ff9a552dba2723d50e8f784caf8d
> MD5(ietf-mgmt/ietf-mgmt-ietf83_1.vmdk)= cdb0f062e98926c4df3798acdaed1857
> MD5(ietf-mgmt/ietf-mgmt-ietf83_2-flat.vmdk)= 4117bde9799162bdf7d97ddcad30a871
> MD5(ietf-mgmt/ietf-mgmt-ietf83_2.vmdk)= 63e447045fb24812c449da3dbaf7c692
> MD5(ietf-mgmt/vmware-10.log)= 0b5e12f7d5b75da5629301a48df9a1bf
> MD5(ietf-mgmt/vmware-11.log)= 74f4b0602ceab055e9a02e97e06ff312
> MD5(ietf-mgmt/vmware-12.log)= 97053f286291a8480591f742e50e544e
> MD5(ietf-mgmt/vmware-13.log)= 1c4440c810af290ea5636d6155c43c9d
> MD5(ietf-mgmt/vmware-14.log)= 8ea1138594693dd12a01f7bf86806679
> MD5(ietf-mgmt/vmware-9.log)= d9b5cd6de3247a8d506a9c015b9a12b0
> MD5(ietf-mgmt/vmware.log)= d4d08f9788ae250431b8b2d0f1bc5bd9
> real	5m 43.08s
> user	2m 32.65s
> sys	0m 0.00s
> #  time ./bin/linux-tar-static32-centos -cpSf ietf-mgmt-86-going-home.tar ietf-mgmt-86/
> real    10m 2.73s
> user    4m 40.31s
> sys     0m 0.00s
> # time openssl dgst -md5 ietf-mgmt-86-going-home.tar
> MD5(ietf-mgmt-86-going-home.tar)= 023dc06f746f2f8769b94400c779afb9
> real    1m 49.08s
> user    1m 5.51s
> sys     0m 0.00s
> 
> 
> # Grab a copy to local host; copy the expected corrupted meta-data files.
> 
> % scp root at vmhost-2:/vmfs/volumes/datastore1/ietf-mgmt-86/{ietf-mgmt-ietf83.vmdk,ietf-mgmt-ietf83.vmsd,ietf-mgmt-ietf83.vmxf,ietf-mgmt-ietf83_1.vmdk,ietf-mgmt-ietf83_2.vmdk} .
> Password: 
> ietf-mgmt-ietf83.vmdk                                                                                                                                                    100%  535     0.5KB/s   00:00 
> Password: 
> ietf-mgmt-ietf83.vmsd                                                                                                                                                    100%   45     0.0KB/s   00:00 
> Password: 
> ietf-mgmt-ietf83.vmxf                                                                                                                                                    100%  271     0.3KB/s   00:00 
> Password: 
> ietf-mgmt-ietf83_1.vmdk                                                                                                                                                  100%  537     0.5KB/s   00:00 
> Password: 
> ietf-mgmt-ietf83_2.vmdk                                                                                                                                                  100%  389     0.4KB/s   00:00 
> % scp root at vmhost-2:/vmfs/volumes/datastore1/ietf-mgmt-86-going-home.tar .
> Password: 
> ietf-mgmt-86-going-home.tar                                                                                                                                              100%   20GB  11.2MB/s   30:00
> 
> # Copy files off to remote machine on sql1.ietf.org.
> # XXX if this is slow you need openssh-HPN to openssh-HPN (ideally a remote FreeBSD VM with a disk to ditch)
> 
> # scp ietf-mgmt-86/ietf-mgmt-ietf83.vmdk root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-ietf83.vmdk                                                                                                                                                    100%  535     0.5KB/s   00:00 
> # scp ietf-mgmt-86/ietf-mgmt-ietf83.vmsd root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-ietf83.vmsd                                                                                                                                                    100%   45     0.0KB/s   00:00 
> # scp ietf-mgmt-86/ietf-mgmt-ietf83.vmxf root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-ietf83.vmxf                                                                                                                                                    100%  271     0.3KB/s   00:00 
> # scp ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-ietf83_1.vmdk                                                                                                                                                  100%  537     0.5KB/s   00:00 
> # scp ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-ietf83_2.vmdk                                                                                                                                                  100%  389     0.4KB/s   00:00 
> #  scp ietf-mgmt-86-going-home.tar root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> Password: 
> ietf-mgmt-86-going-home.tar                                                                                                                                              100%   20GB   1.4MB/s 4:03:58
> 
> - - - - - - - - - - - - - - - - - - - -
> 
> # bring back up
> 
> % ssh root at 149.20.62.10
> # cd /vmfs/volumes/Vm3Sql1LocalDisk/
> # openssl dgst -md5 TMP/ietf-mgmt-86-going-home.tar TMP/ietf-mgmt-ietf83.vmdk TMP/ietf-mgmt-ietf83.vmsd TMP/ietf-mgmt-ietf83.vmxf TMP/ietf-mgmt-ietf83_1.vmdk TMP/ietf-mgmt-ietf83_2.vmdk
> MD5(TMP/ietf-mgmt-86-going-home.tar)= 023dc06f746f2f8769b94400c779afb9
> MD5(TMP/ietf-mgmt-ietf83.vmdk)= a9d16f52dba385c24012c8faea88c208
> MD5(TMP/ietf-mgmt-ietf83.vmsd)= 2a09d257ba459d8cbdc45d5490838545
> MD5(TMP/ietf-mgmt-ietf83.vmxf)= e08e2c83ae64b4d7be443ceaa17b9e82
> MD5(TMP/ietf-mgmt-ietf83_1.vmdk)= cdb0f062e98926c4df3798acdaed1857
> MD5(TMP/ietf-mgmt-ietf83_2.vmdk)= 63e447045fb24812c449da3dbaf7c692
> 
> # ./bin/linux-tar-static32-centos -xpSvf TMP/ietf-mgmt-86-going-home.tar 
> ietf-mgmt-86/
> ietf-mgmt-86/ietf-mgmt-ietf83.vmx
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83.vmx: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83.vmsd
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83.vmsd: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83-flat.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83_1-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83_1-flat.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware.log: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83.nvram
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83.nvram: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83_2-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83_2-flat.vmdk: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-10.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-10.log: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-11.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-11.log: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-12.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-12.log: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-13.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-13.log: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-14.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-14.log: Cannot utime: No such file or directory
> ietf-mgmt-86/vmware-9.log
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/vmware-9.log: Cannot utime: No such file or directory
> ietf-mgmt-86/ietf-mgmt-ietf83.vmxf
> ./bin/linux-tar-static32-centos: ietf-mgmt-86/ietf-mgmt-ietf83.vmxf: Cannot utime: No such file or directory
> ./bin/linux-tar-static32-centos: Exiting with failure status due to previous errors
> 
> # openssl dgst -md5 ietf-mgmt-86/*
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83-flat.vmdk)= ef5587f880d556b9cfcf975ae3491090
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83.nvram)= 9c38312f56d4c92383c835f2a45da645
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmdk)= c8573d50fd8474a59f4bf10480c4d61f
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmsd)= 7622214b8536afe7b89b1c6606069b0d
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmx)= f02f730e501c2fdee31235649ba643a4
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmxf)= f006e7d4dccfb3da2975fa59fc8f8079
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83_1-flat.vmdk)= 1c17ff9a552dba2723d50e8f784caf8d
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk)= d4eb46822a508ffc9c440fd1d6081f8e
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83_2-flat.vmdk)= 4117bde9799162bdf7d97ddcad30a871
> MD5(ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk)= 80802b088528adf260a52f1563f68b85
> MD5(ietf-mgmt-86/vmware-10.log)= 0b5e12f7d5b75da5629301a48df9a1bf
> MD5(ietf-mgmt-86/vmware-11.log)= 74f4b0602ceab055e9a02e97e06ff312
> MD5(ietf-mgmt-86/vmware-12.log)= 97053f286291a8480591f742e50e544e
> MD5(ietf-mgmt-86/vmware-13.log)= 1c4440c810af290ea5636d6155c43c9d
> MD5(ietf-mgmt-86/vmware-14.log)= 8ea1138594693dd12a01f7bf86806679
> MD5(ietf-mgmt-86/vmware-9.log)= d9b5cd6de3247a8d506a9c015b9a12b0
> MD5(ietf-mgmt-86/vmware.log)= d4d08f9788ae250431b8b2d0f1bc5bd9
> 
> # diff initial checkums and new ones.
> @@ -1,13 +1,13 @@
>  MD5(ietf-mgmt-86/ietf-mgmt-ietf83-flat.vmdk)= ef5587f880d556b9cfcf975ae3491090
>  MD5(ietf-mgmt-86/ietf-mgmt-ietf83.nvram)= 9c38312f56d4c92383c835f2a45da645
> -MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmdk)= a9d16f52dba385c24012c8faea88c208
> -MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmsd)= 2a09d257ba459d8cbdc45d5490838545
> +MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmdk)= c8573d50fd8474a59f4bf10480c4d61f
> +MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmsd)= 7622214b8536afe7b89b1c6606069b0d
>  MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmx)= f02f730e501c2fdee31235649ba643a4
> -MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmxf)= e08e2c83ae64b4d7be443ceaa17b9e82
> +MD5(ietf-mgmt-86/ietf-mgmt-ietf83.vmxf)= f006e7d4dccfb3da2975fa59fc8f8079
>  MD5(ietf-mgmt-86/ietf-mgmt-ietf83_1-flat.vmdk)= 1c17ff9a552dba2723d50e8f784caf8d
> -MD5(ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk)= cdb0f062e98926c4df3798acdaed1857
> +MD5(ietf-mgmt-86/ietf-mgmt-ietf83_1.vmdk)= d4eb46822a508ffc9c440fd1d6081f8e
>  MD5(ietf-mgmt-86/ietf-mgmt-ietf83_2-flat.vmdk)= 4117bde9799162bdf7d97ddcad30a871
> -MD5(ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk)= 63e447045fb24812c449da3dbaf7c692
> +MD5(ietf-mgmt-86/ietf-mgmt-ietf83_2.vmdk)= 80802b088528adf260a52f1563f68b85
>  MD5(ietf-mgmt-86/vmware-10.log)= 0b5e12f7d5b75da5629301a48df9a1bf
>  MD5(ietf-mgmt-86/vmware-11.log)= 74f4b0602ceab055e9a02e97e06ff312
>  MD5(ietf-mgmt-86/vmware-12.log)= 97053f286291a8480591f742e50e544e
> 
> # Fix the corrupted files.
> # cp -p TMP/ietf-mgmt-ietf83.vmdk TMP/ietf-mgmt-ietf83.vmsd TMP/ietf-mgmt-ietf83.vmxf TMP/ietf-mgmt-ietf83_1.vmdk TMP/ietf-mgmt-ietf83_2.vmdk ietf-mgmt-86/
> 
> # Ready to bring it back up in VMware.
> 
> # Check seed file checksum; if you think it's bad;  remember you need to bunzip2 for that
> # XXX NOT DONE
> 
> # In VMWare:
> - import in inventory
> 	- change name to ietf-mgmt-86
> - change NIC, adjust memory and CPU
> - fire up
> - start console and confirm you copied it.
> # Only this time hopefully
> - use console
> 	- escape to the laoder prompt
> 	- boot -s
> 	- hit enter for /bin/sh
> 	- mount -uw /
> 	- mount -a
> 	- rm /usr/local/etc/rc.d/vmware-*
> 	- vi /etc/rc.conf		# change true into false
> 	- reboot
> 
> - Check you can ssh in and things are up.
> - halt -p
> 
> 
> 
> backup notes based on ietf85 mostly
> ----------------------------------------
> 
> # Make the fenner user stop its discover-loop job in a screen
> # Wait for sleep 60; ^c
> 
> # disable rancid cron jobs
>> crontab -u rancid -e
> 
> # adjust /usr/local/etc/rancid/rancid.conf for next meeting
>> su -l rancid
> # adjust archive.sh
>> sh archive.sh
>> sh /usr/local/libexec/rancid/rancid-cvs
>> exit
> # Tell billo do grab an offsite copy
> 
> # disbale su cronjobs (logwatch, rpki)
>> crontab -u root -e
> 
> # disable fenner cronjobs (netdisco, rsync ietf tools logins)
>> crontab -u fenner -e
> 
> # disable www cronjobs (observium)
>> crontab -u www -e
> 
> # Make sure wej disables his and cactis cronjobs.
> # - Diable cacti using WebUI: https://noc.meeting.ietf.org/cacti/, user: admin, pass: liquidhacker
> #       Console, config|settings, poller tab, uncheck Enable and save.
>> crontab -u wej -e
>> crontab -u cacti -e
> 
> # Backup netdisco and cacti/observium database.
>> su -l fenner
>> cd /usr/local/netdisco
>> sql/pg --back
>> exit
> 
>> Hint: a diet coke will give you a good refreshment in the meantime.
>> mysqldump -p -u root cacti > cacti-20121109.sql
>> mysqldump -p -u root observium > observium-20121109.sql
>> mysqldump -p -u root mysql > mysql-20121109.sql
> 
> # Disable smokeping (and possibly other services run).
> # Change true to false in rc.conf to flip to alternate config.
> # Consider disabling more services like postgresql, mysql, ...
> #XX ABOVE NORMAL PROCEDURE# > vi /etc/rc.conf
> 
> # Grab the netdisco, cacti, observium, mysql DB dumps and rancid archive
> mkdir mgmt
> scp -pr management.meeting.ietf.org:{cacti-20130315.sql,observium-20130315.sql,mysql-20130315.sql,/usr/local/netdisco/db_back-20130315.sql.gz,/home/rancid/ietf86/} mgmt/
> 
> # Change DNS for interim setup.
> #XX ABOVE NORMAL PROCEDURE# > vi /etc/resolv.conf
> 
> # Power it off.
> #XX ABOVE NORMAL PROCEDURE# > shutdown -p now "Meeting is over, time to say goodbye"
> 
> 
> 
> ################################################################################
> 
> services-1
> ----------------------------------------
> 
> - stop services: postfix, isc-dhcp, named, radiator
> # XXX cannot stop named as we are only resolving locally
> - run ~bz/generate-data-backup.sh
>   - save SHA hash, pre-bzip
>   - SHA256 (/var/tmp/20130315-2043-services-1-seed.tar) = e4e7a5156787da705ad5dce2880ba3749ebadacb790c96bef1fc00bd202041dc
> - change /etc/rc.conf
> - shutdown -p now "Meeting is over, time to say goodbye"
> - Remove machine from VMware inventory
> 
> % ssh root at vmhost-1
> # cd /vmfs/volumes/datastore1/
> # du -hcs ietf-s1/
> 3.1G	ietf-s1
> 3.1G	total
> /vmfs/volumes/500f2321-de4c27b8-2764-d4ae52bd5bee # du -hcs ietf-s1/*
> 3.1G	ietf-s1/ietf-s1_1-flat.vmdk
> 1.0M	ietf-s1/ietf-s1_1.nvram
> 0	ietf-s1/ietf-s1_1.vmdk
> 0	ietf-s1/ietf-s1_1.vmsd
> 8.0k	ietf-s1/ietf-s1_1.vmx
> 0	ietf-s1/ietf-s1_1.vmxf
> 1.0M	ietf-s1/vmware-1.log
> 1.0M	ietf-s1/vmware-2.log
> 1.0M	ietf-s1/vmware-3.log
> 1.0M	ietf-s1/vmware-4.log
> 1.0M	ietf-s1/vmware.log
> 3.1G	total
> # time openssl dgst -md5 ietf-s1/*
> MD5(ietf-s1/ietf-s1_1-flat.vmdk)= 1a56bded46f2c7e5601c6fa9a76a9908
> MD5(ietf-s1/ietf-s1_1.nvram)= f6a316e556c45f360ec2822c2b865d4e
> MD5(ietf-s1/ietf-s1_1.vmdk)= 0a15d8d1170c15c47ed8d7fc56379fba
> MD5(ietf-s1/ietf-s1_1.vmsd)= d41d8cd98f00b204e9800998ecf8427e
> MD5(ietf-s1/ietf-s1_1.vmx)= ba24749181e331aaf087a0a8fceea3c4
> MD5(ietf-s1/ietf-s1_1.vmxf)= 343414eda0db813abe20c4e3ccbac71d
> MD5(ietf-s1/vmware-1.log)= 9adf0a322ec06f88f9501abb16722525
> MD5(ietf-s1/vmware-2.log)= f2e67cd8e5cac54347cf0235b0afabad
> MD5(ietf-s1/vmware-3.log)= 67c44de7f87f712d956f32f2a0079302
> MD5(ietf-s1/vmware-4.log)= 27bcb236d9d67b6cde1f6e25f333461b
> MD5(ietf-s1/vmware.log)= ed2ce66cc33475fe195083be6b9852d4
> real	0m 35.33s
> user	0m 25.51s
> sys	0m 0.00s
> # mv -i ietf-s1 ietf-s1-86
> # time ./bin/linux-tar-static32-centos -cpSf ietf-s1-86-going-home.tar ietf-s1-86/
> real	1m 57.17s
> user	0m 57.82s
> sys	0m 0.00s
> # time openssl dgst -md5 ietf-s1-86-going-home.tar 
> MD5(ietf-s1-86-going-home.tar)= 5596e8800026f66660e4a19eace38c1e
> real	0m 16.33s
> user	0m 9.56s
> sys	0m 0.00s
> 
> # Grab a copy to local host; copy the expected corrupted meta-data files.
> % scp root at vmhost-1:/vmfs/volumes/datastore1/ietf-s1-86-going-home.tar .
> Password: 
> ietf-s1-86-going-home.tar                                                                                                                                                100% 3059MB  40.3MB/s   01:16 
> % scp root at vmhost-1:/vmfs/volumes/datastore1/ietf-s1-86/ietf-s1_1.{vmdk,vmxf} .
> Password: 
> ietf-s1_1.vmdk                                                                                                                                                           100%  496     0.5KB/s   00:00 
> Password: 
> ietf-s1_1.vmxf                                                                                                                                                           100%  264     0.3KB/s   00:00
> 
> # Copy files off to remote machine on sql1.ietf.org.
> # XXX if this is slow you need openssh-HPN to openssh-HPN (ideally a remote FreeBSD VM with a disk to ditch)
> # scp ietf-s1-86-going-home.tar ietf-s1-86/ietf-s1_1.vmdk ietf-s1-86/ietf-s1_1.vmxf root at 149.20.62.10:/vmfs/volumes/Vm3Sql1LocalDisk/TMP/
> The authenticity of host '149.20.62.10 (149.20.62.10)' can't be established.
> RSA key fingerprint is 3e:df:43:bd:a4:c4:1f:81:f7:3d:d1:b2:e8:5c:e5:f5.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '149.20.62.10' (RSA) to the list of known hosts.
> Password: 
> ietf-s1-86-going-home.tar                                                                                                                                                100% 3059MB   1.3MB/s   38:30 
> ietf-s1_1.vmdk                                                                                                                                                           100%  496     0.5KB/s   00:00 
> ietf-s1_1.vmxf                                                                                                                                                           100%  264     0.3KB/s   00:00
> 
> - - - - - - - - - - - - - - - - - - - -
> 
> # bring back up
> 
> % ssh root at 149.20.62.10
> # cd /vmfs/volumes/Vm3Sql1LocalDisk/
> # openssl dgst -md5 TMP/ietf-s1-86-going-home.tar TMP/ietf-s1_1.vmdk TMP/ietf-s1_1.vmxf
> MD5(TMP/ietf-s1-86-going-home.tar)= 5596e8800026f66660e4a19eace38c1e
> MD5(TMP/ietf-s1_1.vmdk)= 0a15d8d1170c15c47ed8d7fc56379fba
> MD5(TMP/ietf-s1_1.vmxf)= 343414eda0db813abe20c4e3ccbac71d
> #  ./bin/linux-tar-static32-centos -xpSvf TMP/ietf-s1-86-going-home.tar 
> ietf-s1-86/
> ietf-s1-86/ietf-s1_1.vmx
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1.vmx: Cannot utime: No such file or directory
> ietf-s1-86/ietf-s1_1.vmxf
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1.vmxf: Cannot utime: No such file or directory
> ietf-s1-86/ietf-s1_1.vmsd
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1.vmsd: Cannot utime: No such file or directory
> ietf-s1-86/ietf-s1_1-flat.vmdk
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1-flat.vmdk: Cannot utime: No such file or directory
> ietf-s1-86/ietf-s1_1.vmdk
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1.vmdk: Cannot utime: No such file or directory
> ietf-s1-86/ietf-s1_1.nvram
> ./bin/linux-tar-static32-centos: ietf-s1-86/ietf-s1_1.nvram: Cannot utime: No such file or directory
> ietf-s1-86/vmware-1.log
> ./bin/linux-tar-static32-centos: ietf-s1-86/vmware-1.log: Cannot utime: No such file or directory
> ietf-s1-86/vmware-2.log
> ./bin/linux-tar-static32-centos: ietf-s1-86/vmware-2.log: Cannot utime: No such file or directory
> ietf-s1-86/vmware-3.log
> ./bin/linux-tar-static32-centos: ietf-s1-86/vmware-3.log: Cannot utime: No such file or directory
> ietf-s1-86/vmware-4.log
> ./bin/linux-tar-static32-centos: ietf-s1-86/vmware-4.log: Cannot utime: No such file or directory
> ietf-s1-86/vmware.log
> ./bin/linux-tar-static32-centos: ietf-s1-86/vmware.log: Cannot utime: No such file or directory
> ./bin/linux-tar-static32-centos: Exiting with failure status due to previous errors
> 
> # diff initial checkums and new ones.
> @@ -1,9 +1,9 @@
>  MD5(ietf-s1-86/ietf-s1_1-flat.vmdk)= 1a56bded46f2c7e5601c6fa9a76a9908
>  MD5(ietf-s1-86/ietf-s1_1.nvram)= f6a316e556c45f360ec2822c2b865d4e
> -MD5(ietf-s1-86/ietf-s1_1.vmdk)= 0a15d8d1170c15c47ed8d7fc56379fba
> +MD5(ietf-s1-86/ietf-s1_1.vmdk)= ab58d658c2dfe0393df78f57740dcdb8
>  MD5(ietf-s1-86/ietf-s1_1.vmsd)= d41d8cd98f00b204e9800998ecf8427e
>  MD5(ietf-s1-86/ietf-s1_1.vmx)= ba24749181e331aaf087a0a8fceea3c4
> -MD5(ietf-s1-86/ietf-s1_1.vmxf)= 343414eda0db813abe20c4e3ccbac71d
> +MD5(ietf-s1-86/ietf-s1_1.vmxf)= 8e19213e1156d922d41679729f7ba8ad
>  MD5(ietf-s1-86/vmware-1.log)= 9adf0a322ec06f88f9501abb16722525
>  MD5(ietf-s1-86/vmware-2.log)= f2e67cd8e5cac54347cf0235b0afabad
>  MD5(ietf-s1-86/vmware-3.log)= 67c44de7f87f712d956f32f2a0079302
> 
> # Fix the 2 corrupted files.
> # cp -p TMP/ietf-s1_1.vm* ietf-s1-86/
> 
> # Ready to bring it back up in VMware.
> 
> # Check seed file checksum; if you think it's bad;  remember you need to bunzip2 for that
> # XXX NOT DONE
> 
> # In VMWare:
> - import in inventory
> 	- change name to ietf-s1-86
> - change NIC, adjust memory and CPU
> - fire up
> - start console and confirm you copied it.
> - Check you can ssh in and things are up.
> - halt -p
> 
> # Bring back up the local copy for the end of the meeting and IEEE:
> - import it back into the inventory
> - all setting should be fine
> - confirm you copied it
> - make sure the VM is started along with the server in server configuration in case of power loss
> 	- set to 60 seconds, first thing before mgmt
> 
> - login on console; change rc.conf back from false to true
> - reboot
> 
> 
> # end
> 
> -- 
> Bjoern A. Zeeb                                  Charles Haddon Spurgeon:
> "Friendship is one of the sweetest joys of life.  Many might have failed
>   beneath the bitterness of their trial  had they not found a friend."
> 
> _______________________________________________
> ietf86-tech mailing list
> ietf86-tech at daedelus.com
> http://www.daedelus.com/mailman/listinfo/ietf86-tech

James Dishongh
Engineering Project Manager
jdishongh at verilan.com

Verilan, Inc.
7327 SW Barnes Road #215
Portland, OR 97225
+1 360.907.9237









More information about the ietf86-tech mailing list