VIOS backup


 
Thread Tools Search this Thread
Operating Systems AIX VIOS backup
# 1  
Old 07-08-2013
VIOS backup

I have 4 VIO server. I have to take backup of VIOS. I got the command "backupios" for taking the backup.

My question is if i am taking "backupios -tape /dev/rmt0 " whether it will take rootvg and all the user defined VG / File system which are using for virtual disk for client lpar.

I wants to take entire VIOS backup.

Please suggest.


Thanks inn advance.
# 2  
Old 07-08-2013
Hi,

you need also a backup of the the virtual and logical configuration.

Code:
man viosbr

Example:
Code:
/usr/ios/cli/ioscli viosbr  -backup -file /home/padmin/backup_mapping/viosbr -frequency daily -numfiles 9

Regards
# 3  
Old 07-08-2013
Firstly we need to establish if you are using VIO as an HMC managed LPAR or if it is running on the server with guest partitions, however either way using the backupios command will backup the rootvg of the VIO server. This might sound okay, but it will only give you configuration of and shared resources. You will need to backup the LPARs individually.

Basically, you need to consider your restore position. Are you using in-house servers at another site, or are you restoring to a specialist 3rd party provider site? If it is the latter, they will probably not care too much about VIO. You will need to describe your user LPARs and they will provide something suitable. If you are doing it in-house, then you will need to create appropriate resources on the other server.


You may be tempted to define the LPARs's virtual disks in the VIO's rootvg, but this can be a bad thing. When upgrading, they might be deleted leading to total data loss. The VIO rootvg is not yours. You best place to be is to:-

Collect system information about each LPAR to a directory within the rootvg Useful stuff would be the volume group structures except for rootvg, any recovery processes or scripts; recovery media (3rd party tools etc.) Then run a mksysb on each LPAR. That is your LPAR restore point. Then make sure you have adequate backup processes for you other volume groups to consider the applications, services and data they hold.


The VIO backupios would most likely be used if you have a server loss at your site and lose all the VIO disks in one irrevocable hit and you have to recover out. I take weekly mksysb and backupios although I do not expect I would every recover from the backupios. I would be more likely to install afresh, define my LPARs and then restore them from their mksysb images, written to DVD in may case.




I hope that this helps.

Robin,
Liverpool/Blackburn
UK
# 4  
Old 07-23-2013
Thank you for the replies

Is there any way to get the size of backupios. accordingly i have to request DVD for taking backup.

Please suggest
# 5  
Old 07-23-2013
I'm not sure about estimating the size. It is a mksysb and readcd -wbehind the scenes. If you haven't created any logical devices in the rootvg of the VIO server, then it should fit on a standard 4.7Gb DVD-RAM. Logical devices include virtual disks for guest LPARs or virtual optical media. You need to be aware that an upgrade of the VIO server can destroy these items too, so LPAR disks can be lost.


You can't use DVD-RW media and (obviously) you need to have a DVD Read/Write device. The default is often a DVD read-only drive as it is cheaper. Check with IBM what you have in your server. They will probably ask for the output of lscfg -vl cd0 from the VIO command line.





Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

VIOS and virtual FC

Hello, In my environment, I have 2 VIOS. There is 1 lpar uses the first VIOS. Now we would like to move it to second VIOS. My question is, can we migrate the virtual FC on the lpar to second VIOS? If not, we have to create new virtual FC on second VIOS and map it to the lpar. This also... (3 Replies)
Discussion started by: Phat
3 Replies

2. AIX

VIOS 2.2.4.10 - Errors

Hi, $ ioslevel 2.2.4.10 I always get these errors when I perform any action using the web interface of IVM / VIOS Shutdown Partitions Help You have chosen to shutdown the following partitions. The recommended shutdown method is to use the client operating systems shutdown... (1 Reply)
Discussion started by: filosophizer
1 Replies

3. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

4. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

5. AIX

Few VIOS questions

Hi, I would like to ask you if you could help me to answer these questions. Please. How to check in vios, size all pv's and to what they are mapped to? How to chech on vios/hmc which PowerVM edition is used? Thank you. (7 Replies)
Discussion started by: phobus
7 Replies

6. AIX

VIOS backup to DVD

Trying to backup the VIOS system to DVD using the backupios command. The command completes and reports success yet there is nothing written to the DVD. Hardware: Blade H series JS23/43 $ ioslevel 2.1.2.13-FP-22.1 SP-02 # lsdev -Cc cdrom cd0 Available 2.1.2.3- USB DVD R/RW or RAM Drive ... (12 Replies)
Discussion started by: slow68
12 Replies

7. AIX

VIOS Backup

Dear friends.. Will it be OK if I backup VIO Server Using smit mksysb?? will it save all virtual host mapings etc...??? thanks in advance (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies

8. AIX

VIOS

Can anybody provide me with usefull links to get knowledge how VIOS works and how to configure Lpars on it? I am tired and feel lazy to search through IBM redbooks :-) .. so pls help me :p (3 Replies)
Discussion started by: wwwzviadi
3 Replies

9. AIX

Script for VIOS

Hello, I'm having troubles running scripts on the VIOS. I want to run a simple script like: lsmap -all | grep vhost I've created the file with just like this: $ cat script1.sh lsmap -all | grep vhost When I run the script, it returns the following error message: script1.sh:... (5 Replies)
Discussion started by: enzote
5 Replies

10. AIX

vios mount

hi, i tried to mount using $ mount nimsrv01:/export/mksysb_dev/VDEVVIO1 /mksysb in vios mode. i got following error.. </code> Some error messages may contain invalid information for the Virtual I/O Server environment. mount: 1831-008 giving up on:... (1 Reply)
Discussion started by: honeym210
1 Replies
Login or Register to Ask a Question