SAR:Infrastruktur:VMware fuer Lab einrichten: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Paketfilter =
= Paketfilter =
ssh brn-suse093-4 -l root
sh ~/osp-prak-vm-ssh.sh


= Referenz-VM =
= 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 =
= 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

Latest revision as of 13:51, 25 April 2008

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