is it ok to run AIX mksysb script on vio servers?

Hi to all

now we running mksysb to nim on aix servers.
we are planning to take mksysb from vio servers.
can we use the same script for vio servers.

thanks

with VIO you'd rather use the
# backupios
command
IBM Redbooks | NIM from A to Z in AIX 5L

thanks shockneck
i through the book
i got few intresting points

thanks alot

We create mksysbs to our NIM server for our vio servers automatically by NFS mounting a directory on our NIM server and sending the backups there. Here is the script we use. Perhaps you can modify it to meet your needs. This runs out of root's crontab and is generic so it can be copied to all your VIO servers and run without having to be modified. We save all our mksysbs into nimserver:/export/mksysb:

exec 2>&1
exec 1>${0}.out

# Mount NIM server
/usr/sbin/mount nimserver:/export/mksysb /mnt

echo "backupios started at `date`"

# su to padmin and execute the backup to the NFS on nimrod
su - padmin -c '
        ioscli backupios -file /mnt/`ioscli hostname` -mksysb
'

# If the file exists, then we are good
if [ -f /mnt/`hostname` ]; then
        if [ $? -gt 0 ]; then
                echo "Copy to nimserver failed"
        else
                echo "backupios (mksysb) completed at `date`"
        fi
else
        echo "backup file not found."
fi

# Unmount nimserver
/usr/sbin/umount /mnt

hi this is the command , i am using from nim server.

nim -o define -t mksysb -a server=master -a location=/export/mksysb_dev/VDEVVIO1/vdevvio1.mksysb -a source= vdevvio1 -a mk_image=yes -a size_preview=yes -a verbose=yes -a mksysb_flags=ipX vdevvio1_08152008

for this, 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.
vdevvio1: A remote host refused an attempted connect operation.

can anyone please help me on this issue.

thanks

Have you setup vdevvio1 as a NIM client yet?

Try logging into your vdevvio1 server as root (login as padmin, then oem_setup_env) and running "smitty nim" and set it up as a NIM client. This may be what the problem is.

i got these options, which one i need to set..

cust, update_all, bos_inst , diag ,reset, maint_boot ,restvg .

thanks

You need to log on to your VIO server and configure it as a NIM client. Here are the steps:

as root on the VIO server
smitty nim --> Configure Network Installation Management Client Fileset
Machine Name = Local VIO hostname
Primary Network Interface = VIO server's interface card (Esc-4 to choose)
Host Name of Network Install Master = NIM Server hostname

Press enter, then enter again to confirm. That should make it a NIM client.

i got this erroe:

0042-051 niminit: unable to resolve "nimsrv01"
to an IP address

when i tried to pinging from aix mode it is ok.

and what about "communication protocal used ny client" field...

thanks

I usually set the communication protocol to "nimsh".

Try putting the nimsrv01 in your /etc/hosts file. It may need to be there. You could also try the fully qualified hostname of your NIM server.

entries are existed in /etc/hosts file..

but,still it is not working.

can anyone help me on this...

thanks