AIX

AIX

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

 View Only
  • 1.  How to rsh to a VIO server?

    Posted Mon June 07, 2010 01:23 PM

    Originally posted by: chpadmin


    Hello,
    I want to write a script for operator to run backup regularly. Is there a way the operators can run a rsh(in the script) as a root to do ios backup for a vio server? Thanks.


  • 2.  Re: How to rsh to a VIO server?

    Posted Mon June 07, 2010 01:54 PM

    Originally posted by: unixgrl


    First suggestion:
    Use cron to schedule this regularly so you won't need an operator.

    Otherwise:
    Google for "dshvio". If you setup ssh keys from any server to the padmin account of your VIOS you can use this script to perform any action.

    If you only want to give the ability to run backups, you can also search for some VIOS backup scripts written by others. Put these on your VIOS, create ssh keys to padmin and make your script ssh to the VIOS and execute the backup script.

    rsh would work similarly except you'd use .rhosts file instead of keys. Most companies aren't allowing rsh anymore.


  • 3.  Re: How to rsh to a VIO server?

    Posted Mon June 07, 2010 02:09 PM

    Originally posted by: chpadmin


    Thank You for your respose. I will try it.


  • 4.  Re: How to rsh to a VIO server?

    Posted Mon June 07, 2010 02:15 PM

    Originally posted by: styerd


    Did the "dshvio" command go away from v7? I'm using "viosvrcmd".