AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  vios mksysb problem

    Posted Sun August 17, 2008 12:24 PM

    Originally posted by: SystemAdmin


    hi to all,

    first i will explain my environment.

    presently we have p5 570 in production.
    in this p5 570 .. we have dbms, apps, web servers and vio servers.

    we have one nim server.

    this nim server is in different location.

    recently, we bought p6 570 machines.
    in p6 570 machines, we have 2 vio servers.
    their names are prod1vio1, prod1vio2.

    now, i am coming to point.

    everyday we are running the script( please see the attachment) on nim server for taking mksysb's for the p5 lpars (dbms, apps, web servers),

    not for the vio servers.

    now, we planned to take mksysb for new p6 570 vio servers, for disaster recovery.

    when i ran this script on nim server, i am getting following error.
    *0042-001 nim: processing error encountered on "master":
    0042-006 m_mkbosi: (From_Master) connect A remote host refused an attempted connect operation.

    prod1vio1: A remote host refused an attempted connect operation. *
    i don't know why i am getting this error,
    everything is fine, mean /etc/hosts, .rhosts, /etc/resolv.conf, nim amster setup and nim client setup.

    i checked /etc/niminfo file in prod1vio1 and prod1vio2, it looks fine.
    i can nslookup the hostnames too...

    when i tried this command directly too, getting same error..

    the command is : * nim -o define -t mksysb -a server=master -a location=/export/mksysb_dev/PROD1VIO1/08162008.image -a source=prod1vio1 -a mk_image=yes -a size_preview=yes -a mksysb_flags=ipX prod1vio1_mksysb *

    in side script contain some arrangements( creating folder and checking existed mksysb with date) and this command.. that's it, not more than that.

    thanks & regards
    #AIX-Forum


  • 2.  Re: vios mksysb problem

    Posted Sun August 17, 2008 08:43 PM

    Originally posted by: orphy


    You should look at the backupios command. I wrote a script a while back to basically NFS mount a FS and dump the VIO backup there. I'm sure you can do something like that.
    Orphy
    #AIX-Forum


  • 3.  Re: vios mksysb problem

    Posted Sun August 17, 2008 08:49 PM

    Originally posted by: SystemAdmin


    yes, it will work.

    but, already we are using this procedure.

    why it is not working?.

    atleast we need some answer..

    thanks
    #AIX-Forum


  • 4.  Re: vios mksysb problem

    Posted Tue August 19, 2008 12:09 AM

    Originally posted by: esv


    You should not expect a VIO server to respond like a regular AIX box, some commands might work, but if they are not documented as part of the VIO server command set, they might break whenever you apply maintenance to it.

    the AIX/Linux underlying base has been too customized to provide the VIO functionality.

    best regards,
    enrique.
    #AIX-Forum


  • 5.  Re: vios mksysb problem

    Posted Tue August 19, 2008 09:04 AM

    Originally posted by: SystemAdmin


    Hi,

    for your kind information,

    you can do whatever you done in AIX box in VIO box too...

    i got the solution for this..

    the shell and telnet and others was disabled in /etc/inetd.conf.

    when i enabled these, the command working fine.

    thanks
    #AIX-Forum


  • 6.  Re: vios mksysb problem

    Posted Tue August 19, 2008 09:24 PM

    Originally posted by: SystemAdmin


    Your VIO backups will not work just using a mksysb. For vios you have to use backupios or when you restore you will be missing all sorts of data. Backupios actually does a mini backup of vio files before a mksysb type backup is called. Using backupios is the only way to backup a vios server and have the restore work come DR time. Plus it is the only supported way in which IBM will supoort you.
    #AIX-Forum


  • 7.  Re: vios mksysb problem

    Posted Tue August 19, 2008 09:51 PM

    Originally posted by: SystemAdmin


    i used this command, that's worked fine,

    nim -o define -t mksysb -a server=master \
    -a location=$var_export_location -a source=$var_source \
    -a mk_image=yes -a verbose=yes -a mksysb_flags=ipX $var_resource_name

    the output is :

    Creating information file (/image.data) for rootvg.

    Creating list of files to back up.
    Backing up 98479 files..............................
    95636 of 98479 files (97%)
    98479 of 98479 files (100%)
    0512-038 savevg: Backup Completed Successfully.

    thanks
    #AIX-Forum