SAR:Infrastruktur:VMware fuer Lab einrichten

From
Revision as of 13:51, 25 April 2008 by Jeschke (talk | contribs) (→‎Passwörter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Paketfilter

ssh brn-suse093-4 -l root
sh ~/osp-prak-vm-ssh.sh

Referenz-VM klonen

ssh brn-suse093-4 -l root
/etc/init.d/vmware stop
cd /vmware/home
rm -r mwp??        # Alte Maschinen loeschen (z.B. Middleware)
cd ..
MIN=1 MAX=10 sh generate-osp-vms.sh

Passwörter

ssh brn-suse093-4 -l root
/etc/init.d/vmware stop
cd /vmware
USER_PREFIX=osp sh generate-passwords.sh
USER_PREFIX=osp sh generate-passwords-md5.sh
USER_PREFIX=osp IP_PREFIX=192.168.144.1 sh set-vm-root-passwords.sh

Maschine zurücksetzen

MACHINE=2 sh /vmware/generate-osp-vms.sh --copy-only
MACHINE=2 IP_PREFIX=192.168.144.1 USER_PREFIX=osp sh /vmware/set-vm-root-passwords.sh