Sponsored Content
Operating Systems AIX Create DR server using mksysb Post 302252098 by pobman on Tuesday 28th of October 2008 07:30:48 PM
Old 10-28-2008
One more question if I may.

My current lv looks like below:

Code:
/> lspv -l hdisk0
hdisk0:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd5                   1     1     01..00..00..00..00    N/A
u4lv                  16    16    16..00..00..00..00    /u4_org
hd6                   4     4     01..03..00..00..00    N/A
rbolv                 2     2     00..02..00..00..00    /opt/backup
u1lv                  8     8     00..08..00..00..00    /u1_org
u2lv                  4     4     00..04..00..00..00    /u2_org
u3lv                  16    16    00..16..00..00..00    /u3_org
udalv                 4     4     00..04..00..00..00    /uda_org
hd8                   1     1     00..01..00..00..00    N/A
hd4                   1     1     00..01..00..00..00    /
hd2                   15    15    00..00..15..00..00    /usr
hd9var                3     3     00..00..03..00..00    /var
hd3                   1     1     00..00..01..00..00    /tmp
hd1                   1     1     00..00..01..00..00    /home
hd10opt               1     1     00..00..01..00..00    /opt
/> lspv -l hdisk1
hdisk1:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd5                   1     1     01..00..00..00..00    N/A
rbolv                 2     2     01..01..00..00..00    /opt/backup
hd3                   1     1     00..01..00..00..00    /tmp
hd9var                3     3     00..03..00..00..00    /var
hd2                   15    15    00..15..00..00..00    /usr
hd6                   4     4     00..04..00..00..00    N/A
hd10opt               1     1     00..01..00..00..00    /opt
hd8                   1     1     00..01..00..00..00    N/A
hd4                   1     1     00..01..00..00..00    /
hd1                   1     1     00..00..01..00..00    /home

/> lsvg -l rootvg
rootvg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
hd5                 boot       1     2     2    closed/syncd  N/A
hd6                 paging     4     8     2    open/syncd    N/A
hd8                 jfslog     1     2     2    open/syncd    N/A
hd4                 jfs        1     2     2    open/syncd    /
hd2                 jfs        15    30    2    open/syncd    /usr
hd9var              jfs        3     6     2    open/syncd    /var
hd3                 jfs        1     2     2    open/syncd    /tmp
hd1                 jfs        1     2     2    open/syncd    /home
u1lv                jfs        8     8     1    closed/syncd  /u1_org
u2lv                jfs        4     4     1    closed/syncd  /u2_org
u3lv                jfs        16    16    1    closed/syncd  /u3_org
u4lv                jfs        16    16    1    closed/syncd  /u4_org
udalv               jfs        4     4     1    closed/syncd  /uda_org
hd10opt             jfs        1     2     2    open/syncd    /opt
rbolv               jfs        2     4     2    open/syncd    /opt/backup

/> lsvg -l datavg
datavg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv00             jfslog     1     2     2    open/stale    N/A
lv00                jfs        8     16    2    open/stale    /u1
lv01                jfs        4     8     2    open/stale    /u2
lv02                jfs        16    32    2    open/stale    /u3
lv03                jfs        16    32    2    open/stale    /u4
lv04                jfs        4     8     2    open/stale    /uda

It seems on / the directories /u{1-4}_org are only on one pv?
Also they are showing as closed/syncd can someone explain if this is a problem as everything seems ok.
On vg datavg the mount points are showing as open/stale? Again is this a problem?

Thanks

Last edited by pobman; 10-28-2008 at 09:52 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIM - mksysb of remote server

Hi, I'm trying to use my NIM server to get a mksysb of an lpar on another machine on my network. I'm trying to define a resource through smitty and i've entered the resource name, Server of resource & location of resource, they are as follows Resource Name : gmt_fail_mksysb Server of... (1 Reply)
Discussion started by: KeesH
1 Replies

2. AIX

How do I create a bootable mksysb image file

I have several systems which require software maintenance several times a year. After the software maintenance, it is required that we make two system tapes for DR purposes. The creation of these system tapes takes anywhere from 1-1.5 hours because of the performance of the tape drives. What I... (7 Replies)
Discussion started by: acascianelli
7 Replies

3. AIX

how to create a package from mksysb via nim ?

Hello, I need to install "bos.adt.libm 5.3.0.0" on a server (AIX5.3 power 5). How to install it from a nim mksysb of an another partition ? Thank you (3 Replies)
Discussion started by: astjen
3 Replies

4. AIX

savevg/tar/mksysb of server-A on remote tape drive possible ?

Every 3 months we have to do backups (smitth mksysb/lsmksysb + tar) on at least 30 workstations. We have to carry around 2 external tape drives to connect to them. It is a pain to do because it takes at least 3 days to do (evening/night shift) and users sometimes complain that there desk is not put... (1 Reply)
Discussion started by: Browser_ice
1 Replies

5. AIX

MKSYSB + tar / on same server: difference and useless ?

Hi again, we have several types of backups we do here. On the workstations backups that we do every 3 months, we do 2 backups on each ones: mksysb and a TAR /. I need to understand better what that mksysb does and figure out if doing both is useless where only one is enough I am looking at... (1 Reply)
Discussion started by: Browser_ice
1 Replies

6. AIX

mksysb installation(clone) on a different server

if VG_SOURCE_DISK_LIST varaible(value set to = hdisk1 hdisk0 )is set in image.data file when taking mksysb image backup on a source server and if we use this image to install it on a different server(clone). Does it warn during installation on the target server if it doesn't have disks hdisk1 and... (1 Reply)
Discussion started by: saikiran_1984
1 Replies

7. AIX

restoring mksysb backup of a clustered server configured in HACMP

Hi, I have done NIM restoration via nim_bosinst a lot of times but I have some doubts on restoring a server which is clustered specifically HACMP. Previously, I don't know the trend but after doing a nim_bosinst, I can see the client's hostname is back to "localhost" rather than its original... (0 Replies)
Discussion started by: depam
0 Replies

8. AIX

Unable to Create spot from mksysb

Hello All, Kindly need help in my problem i.e. I get this error when i create spot from mksysb. #0042-001 nim: processing error encountered on "master": 0042-001 m_mkspot: processing error encountered on "master": 0042-175 c_mkspot: An unexpected result was returned by the... (2 Replies)
Discussion started by: emerann
2 Replies

9. AIX

VIOS backupios -mksysb - does it need to be served by a NIM server ?

working through VIOS backup options. Generally, we store mksysb's on a server and then NFS mount them from it to copy to a VIO optical library, etc. In the case of a VIO backup, I see the -mksysb option to backupios and understand that it doesn't include the NIM resources in the backup. ... (3 Replies)
Discussion started by: maraixadm
3 Replies

10. AIX

Can I use mkdvd to create bootable DVD from mksysb on tape

Hi, Is it possible to use mkdvd to create a bootable DVD using a mksysb on tape as the source image? On the system concerned, we don't have enough free space to create the mksysb to file first, so would like to use the existing tape mksysb backup. The DVD disk/s will then be used to boot a... (4 Replies)
Discussion started by: alanp36
4 Replies
PERLOS400(1)						 Perl Programmers Reference Guide					      PERLOS400(1)

NAME
perlos400 - Perl version 5 on OS/400 DESCRIPTION
This document describes various features of IBM's OS/400 operating system that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. By far the easiest way to build Perl for OS/400 is to use the PASE (Portable Application Solutions Environment), for more information see <http://www.iseries.ibm.com/developer/factory/pase/index.html> This environment allows one to use AIX APIs while programming, and it provides a runtime that allows AIX binaries to execute directly on the PowerPC iSeries. Compiling Perl for OS/400 PASE The recommended way to build Perl for the OS/400 PASE is to build the Perl 5 source code (release 5.8.1 or later) under AIX. The trick is to give a special parameter to the Configure shell script when running it on AIX: sh Configure -DPASE ... The default installation directory of Perl under PASE is /QOpenSys/perl. This can be modified if needed with Configure parameter -Dprefix=/some/dir. Starting from OS/400 V5R2 the IBM Visual Age compiler is supported on OS/400 PASE, so it is possible to build Perl natively on OS/400. The easier way, however, is to compile in AIX, as just described. If you don't want to install the compiled Perl in AIX into /QOpenSys (for packaging it before copying it to PASE), you can use a Configure parameter: -Dinstallprefix=/tmp/QOpenSys/perl. This will cause the "make install" to install everything into that directory, while the installed files still think they are (will be) in /QOpenSys/perl. If building natively on PASE, please do the build under the /QOpenSys directory, since Perl is happier when built on a case sensitive filesystem. Installing Perl in OS/400 PASE If you are compiling on AIX, simply do a "make install" on the AIX box. Once the install finishes, tar up the /QOpenSys/perl directory. Transfer the tarball to the OS/400 using FTP with the following commands: > binary > site namefmt 1 > put perl.tar /QOpenSys Once you have it on, simply bring up a PASE shell and extract the tarball. If you are compiling in PASE, then "make install" is the only thing you will need to do. The default path for perl binary is /QOpenSys/perl/bin/perl. You'll want to symlink /QOpenSys/usr/bin/perl to this file so you don't have to modify your path. Using Perl in OS/400 PASE Perl in PASE may be used in the same manner as you would use Perl on AIX. Scripts starting with #!/usr/bin/perl should work if you have /QOpenSys/usr/bin/perl symlinked to your perl binary. This will not work if you've done a setuid/setgid or have environment variable PASE_EXEC_QOPENSYS="N". If you have V5R1, you'll need to get the latest PTFs to have this feature. Scripts starting with #!/QOpenSys/perl/bin/perl should always work. Known Problems When compiling in PASE, there is no "oslevel" command. Therefore, you may want to create a script called "oslevel" that echoes the level of AIX that your version of PASE runtime supports. If you're unsure, consult your documentation or use "4.3.3.0". If you have test cases that fail, check for the existence of spool files. The test case may be trying to use a syscall that is not implemented in PASE. To avoid the SIGILL, try setting the PASE_SYSCALL_NOSIGILL environment variable or have a handler for the SIGILL. If you can compile programs for PASE, run the config script and edit config.sh when it gives you the option. If you want to remove fchdir(), which isn't implement in V5R1, simply change the line that says: d_fchdir='define' to d_fchdir='undef' and then compile Perl. The places where fchdir() is used have alternatives for systems that do not have fchdir() available. Perl on ILE There exists a port of Perl to the ILE environment. This port, however, is based quite an old release of Perl, Perl 5.00502 (August 1998). (As of July 2002 the latest release of Perl is 5.8.0, and even 5.6.1 has been out since April 2001.) If you need to run Perl on ILE, though, you may need this older port: <http://www.cpan.org/ports/#os400> Note that any Perl release later than 5.00502 has not been ported to ILE. If you need to use Perl in the ILE environment, you may want to consider using Qp2RunPase() to call the PASE version of Perl. AUTHORS
Jarkko Hietaniemi <jhi@iki.fi> Bryan Logan <bryanlog@us.ibm.com> David Larson <larson1@us.ibm.com> perl v5.16.2 2012-10-11 PERLOS400(1)
All times are GMT -4. The time now is 02:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy