27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.2.11 Verifying the changes<br />

You are now done customizing the master Linux image. When the system comes back up<br />

you should verify the changes that you made.<br />

► SSH back into the cloner and check a few settings.<br />

► Use the df command to display your file systems. Your output may differ:<br />

# df -h<br />

Filesystem Size Used Avail Use% Mounted on<br />

/dev/dasda1 504M 147M 332M 31% /<br />

tmpfs 498M 0 498M 0% /dev/shm<br />

/dev/mapper/system_vg-opt_lv<br />

372M 17M 337M 5% /opt<br />

/dev/mapper/system_vg-tmp_lv<br />

372M 17M 337M 5% /tmp<br />

/dev/mapper/system_vg-usr_lv<br />

1.5G 817M 619M 57% /usr<br />

/dev/mapper/system_vg-var_lv<br />

372M 85M 269M 24% /var<br />

► Confirm that both of your swap spaces are operational:<br />

# swapon -s<br />

Filename Type Size Used Priority<br />

/dev/dasdb1 partition 262132 0 -1<br />

/dev/dasdc1 partition 524276 0 -2<br />

/dev/dasda2 partition 524296 0 -3<br />

► Verify the shutdown settings with the lsshut command:<br />

# lsshut<br />

Trigger Action<br />

========================<br />

Halt vmcmd ("logoff")<br />

Panic stop<br />

Power off vmcmd ("logoff")<br />

Reboot reipl<br />

► You may choose to confirm other settings.<br />

Congratulations! You have now successfully installed the golden image. This image will<br />

normally be shut down or quiesced. You are now ready to clone the golden image to a new<br />

virtual server.<br />

Chapter 8. Installing and configuring the golden image 143

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!