mksysb


 
Thread Tools Search this Thread
Operating Systems AIX mksysb
# 1  
Old 07-16-2008
mksysb

Hello everyone

I have two questions. I would like to hear your opinions, your tips.


I have several box with aix 5.3. the rootvg in each box has mirror. but I have a cron that makes a mksysb every week.

Do you think that it the best to have a mksysb of rootvg if I have a mirror on this box.

My other question itīs about paging space.

I have for example in one box 2gb of memory ram, in paging space has 4gb.

all the paging space has in the vg rootvg. I change this.

I know that before I have to create the paging space in the same size. but today this is not so important. (maybe Im wrong )

I left one paging space of 512mb in rootvg and the other 3500mb of paging
space on san disk.

I think this is better.


Thanks for your tips.
# 2  
Old 07-17-2008
Quote:
Do you think that it the best to have a mksysb of rootvg if I have a mirror on this box.
What do you do if the mirror fails, both disks die a horrible death or the place where your server stood, is empty on next morning?!
No mirror, complex raid array placed at different locations etc. could not convince me to take no mksysb. The mksysb is your last resort.

On paging space:
I don't know the official recommendation of the paging space today (RAM * 1,25?), but we usually have it somewhat small. On most boxes it's at least as large as the current RAM it has. When anything starts to swap, it doesn't matter if you have 4 GB paging space or 20 GB, because the box will be very slow and it has to be either tuned with vmo or needs more RAM, which has to be determined (or not).
For splitting paging space to SAN disks, I see no problem with this. We don't do that and keep it on internal mirrored disks, but currently I have no idea what should be bad about it... maybe a point of possible failure more.

But honour your mksysb!
# 3  
Old 07-17-2008
Don't use SAN disk to create your paging space,if SAN disk error happen,or switch,or other device.all of device problem about SAN environment can cause your AIX hang.if you lost normal OS,you can't find root cause about problem.
# 4  
Old 07-17-2008
paging

i think the best way to do this is to have part of your paging on rootvg (memory*2) which is mirrored (or should be) then have an additional non-mirrored disk for additional paging space, even if it is on the san (which is still not a great idea)... for applications, etc - it is good to have nmon installed and running data out to a file so that you can review system data over a period of say a month - and see where your peaks/valleys are using nmon analyser (see ibm site)
# 5  
Old 07-17-2008
Quote:
Originally Posted by TinWalrus
i think the best way to do this is to have part of your paging on rootvg (memory*2) which is mirrored (or should be) then have an additional non-mirrored disk for additional paging space[...]
Well... Let's look at an example: my server has 48GB of RAM so my paging space should be as big as 96GB?

Let's have a look at shockneck's top four tips about AIX paging space:
1) If AIX uses paging space you lack RAM or/and you configured vmo wrong. If tuning cannot help anymore get more RAM chips. Best thing is not to use paging space.
2) There is no such thing as an "official" recommendation about how big paging space should be (beside some application vendors such as SAP and/or your app's allocation policy) for many years now. Default settings for AIX have become pretty small since AIX 5L. Paging space shall be as big as necessary but as small as possible. I.e. it depends on how you use the server.
3) If AIX uses paging space it stores data that does not fit into RAM (and is not stored on disk already). Thus losing paging space is equivalent to losing a memory chip. Hence if you don't mirror it the other (SAN) storage should be at least as safe as it would be on mirrored disks.
4) If you use several paging spaces keep them at about the same size. If you want to you can make hd6 slightly bigger as it is used during boot. Furthermore speed of different disks used for paging should not differ to a large extend. Don't use two or more paging spaces on the same disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

savevg - mksysb

Hello, I use commands savevg & mksysb to do backups on an AIX server. Frequently, I have a return code 3. I would know why, but after searches, I did'nt find. If somebody know ... Tell me. Thanks. emetra (2 Replies)
Discussion started by: emetra
2 Replies

2. AIX

mksysb backup

hi we are having one rootvg in that we created one lv named mksysb_backuplv and normally script will run accordingly to take the backup in the cron,here i just want to know if any rootfilesystem was correpted like /usr or /tmp ,then how could i restore the particular filesystme from the... (1 Reply)
Discussion started by: senmak
1 Replies

3. AIX

Need to take MKSYSB backup

Hi, Can any one suggest me how to take the mksysb backup in CD (VCD/DVD). I have tried like #mkcd -d /dev/cd0, but its not working. (3 Replies)
Discussion started by: oprakash
3 Replies

4. AIX

Help with mksysb

Hi All, Working on AIX 4.2 system. On this server there is no tape drive or a DVD Writer attached to the AIX box. I was able to do mksysb, but I got warning message saying it will not be bootable. On the new system, I did install 5.3 and now I need to restore this mksysb image from the... (5 Replies)
Discussion started by: samnyc
5 Replies

5. AIX

Mksysb message

Hello, I'm starting a mksysb with the help of a unix script and the crontab. The script is scheduled with crontab and executes "mksysb -i -X /dev/rmt0". When the mksysb is completed the script displays the endtime. But I also get a lot of cat messages (see below). When I look with "ps -ef... (2 Replies)
Discussion started by: Peter_e
2 Replies

6. AIX

mksysb backup

hi guys, i just want to take my server's mksysb backup through dvd-rom.but am having the doubt that, while am taking the mksysb backup in image it shows 8GB. So can i confirm that it takes 2 dvds and after writing in 1st cd it will ask for 2nd cd?????? please help me out. (1 Reply)
Discussion started by: rrlog
1 Replies

7. AIX

mksysb issue

Hi, guys I have experience in UNIX, but more in hpux, have done an mksysb in an Aix server 5.3, and then restore in other server with same model, everithing fine but no TCP/IP configuration and hostname its like "localhost" after the restore. It's something wrong? I've change the configuration,... (5 Replies)
Discussion started by: uadm26
5 Replies

8. AIX

mksysb

I dont have either a tape drive or a DVD Writer attached to the AIX box. Can you let me know the possibilities of making an mksysb in a bootable media? This is required as we have a requirement to upgrade the OS. (2 Replies)
Discussion started by: chrisanto_2000
2 Replies

9. AIX

Problem with MKSYSB

Am taking a tape backup and the error output shows this. ---------------------------------------------------------------- ====== mksysb errors from /opt/uss/log/run_mksysb.stdout: 0512-038 mksysb: Backup Completed Successfully. ====== mksysb errors from /opt/uss/log/run_mksysb.stderr: ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

10. AIX

mksysb...

Hi friends.. My one problem is not resolved yet I have another. I am planning to take an OS backup of my p550 using "mksysb". Now i am confussed. suppose I give the command to take the backup into a tape drive and my backup size exceeds the tape capacity.. what will happen? will it ask for... (2 Replies)
Discussion started by: balaji_prk
2 Replies
Login or Register to Ask a Question