23.10.2014 Views

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

Advanced POWER Virtualization on IBM System p5 - Previous ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Example 5-5 File system backup<br />

$ mkdir /home/padmin/backup_loc<br />

$ backupios -file /home/padmin/backup_loc<br />

Creating informati<strong>on</strong> file for volume group datapool..<br />

Creating list of files to back up.<br />

Backing up 6 files<br />

6 of 6 files (100%)<br />

0512-038 savevg: Backup Completed Successfully.<br />

Backup in progress. This command can take a c<strong>on</strong>siderable amount of<br />

time<br />

to complete, please be patient...<br />

The ls command shows that the backup was creating a tar file successfully:<br />

-rw-r--r-- 1 root staff 653363200 Jan 11 21:13<br />

nim_resources.tar<br />

When <strong>on</strong>ly the backup image of the VIOS is required and not a file with NIM<br />

resources, the -mksysb flag is used. With this flag, a file name is required with<br />

the directory for the backup, for example:<br />

$ backupios -file /home/padmin/backup_loc/VIOS.img -mksysb<br />

For backups using the -file flag, backing up to an NFS mounted file system is<br />

useful for saving the backup image <strong>on</strong> another machine.<br />

Backup to NIM<br />

You can use NIM to restore the Virtual I/O Server. The following procedure can<br />

be used for creating the NIM resources (See Example 5-6 <strong>on</strong> page 284 and<br />

Example 5-7 <strong>on</strong> page 284):<br />

1. Export a NIM directory for mounting <strong>on</strong> the Virtual I/O Server.<br />

2. Create the mksysb image <strong>on</strong> the NIM server by using NFS when running the<br />

backupios command <strong>on</strong> the Virtual I/O Server. Use the -mksysb flag to create<br />

the mksysb image <strong>on</strong>ly.<br />

3. Create the NIM client if it is not already defined.<br />

4. Create a SPOT resource from the mksysb image unless you already have a<br />

SPOT at the correct matching level.<br />

5. You are now ready to do a NIM install of the Virtual I/O Server.<br />

Chapter 5. <strong>System</strong> management 283

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

Saved successfully!

Ooh no, something went wrong!