On Wed, Jun 04, 2014 at 10:30:38PM +0530, Ganapathy S A via smartos-discuss 
wrote:

> Could you mention any other way please?

Any mechanism that can transfer data between two hosts on metal can also
transfer data between two guests.  FTP.  HTTP.  rsync.  UUCP.  Piping
tar across ssh, or rsh, or netcat.  NFS, provided you have an external
filer that both guests can see (you can use the NFS client in zones, but
cannot run a server).  Likewise with SMB/CIFS.  IMAP, POP-2, or POP-3,
whether via a central server or one hosted on one of the guests.
Opening an ssh session into each guest from the same laptop and cutting
and pasting data (possibly using uuencode/uudecode).  Writing a letter
to a distant friend who uses telnet to access one of the guests and
asking that he type the contents of the letter into a file.

I'm sure I could come up with more, but hopefully this helps.

> On 4 Jun 2014 22:08, "Robert Mustacchi" <[email protected]> wrote:
> 
> > On 6/4/14 8:54 , Ganapathy S A via smartos-discuss wrote:
> > > Thanks Robert, for mentioning the caveat. So, can scp be assumed as the
> > > safest way to transfer files between non-global zones?
> >
> > If you consider it the safest way to transfer data between two arbitrary
> > hosts, then yes.
> >
> > Robert
> >
> > > On 4 Jun 2014 19:39, "Robert Mustacchi" <[email protected]> wrote:
> > >
> > >> On 06/04/2014 07:06 AM, Ganapathy S A via smartos-discuss wrote:
> > >>> Thanks a lot Yu, for pointing out /zones/UUID :-)
> > >>
> > >> Keep in mind that does not work for KVM instances. The best way to model
> > >> file transfer is to answer how would you transfer file between two
> > >> totally independent servers and VMs. The only special thing is that
> > >> there is a shortcut between the GZ and an OS-virtualized non-global
> > zone.
> > >>
> > >> Robert
> > >>
> > >>> On 4 Jun 2014 18:58, "Yu Li" <[email protected]> wrote:
> > >>>
> > >>>> what I know :)
> > >>>>
> > >>>> GZ -> non-GZ:
> > >>>>
> > >>>> just cp <your-file> /zones/<uuid>/root/..., can even rsync
> > >>>>
> > >>>> non-GZ -> GZ, non-GZ <-> non-GZ:
> > >>>>
> > >>>> you can scp, if have ips, and have ssh login (if not, for non-GZ, can
> > >> add
> > >>>> someone like ordinary unix)
> > >>>> or you can setup some ftp services, which should be simple with pkgin
> > >>>> install ftp
> > >>>>
> > >>>>
> > >>>>
> > >>>> On Wed, Jun 4, 2014 at 9:14 PM, Ganapathy S A via smartos-discuss <
> > >>>> [email protected]> wrote:
> > >>>>
> > >>>>> How to transfer files between two non-GZs and between a non-GZ and
> > GZ?
> > >>>>>
> > >>>>> --
> > >>>>> Regards,
> > >>>>> Ganapathy
> > >>>>>  *smartos-discuss* | Archives
> > >>>>> <https://www.listbox.com/member/archive/184463/=now>
> > >>>>> <https://www.listbox.com/member/archive/rss/184463/26082834-0fa1717f
> > >
> > >> |
> > >>>>> Modify
> > >>>>> <https://www.listbox.com/member/?&;>
> > >>>>> Your Subscription <http://www.listbox.com>
> > >>>>>
> > >>>>
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>> -------------------------------------------
> > >>> smartos-discuss
> > >>> Archives: https://www.listbox.com/member/archive/184463/=now
> > >>> RSS Feed:
> > >> https://www.listbox.com/member/archive/rss/184463/21483261-4b78dd38
> > >>> Modify Your Subscription:
> > >> https://www.listbox.com/member/?&;
> > >>> Powered by Listbox: http://www.listbox.com
> > >>>
> > >>
> > >>
> > >
> > >
> > >
> > > -------------------------------------------
> > > smartos-discuss
> > > Archives: https://www.listbox.com/member/archive/184463/=now
> > > RSS Feed:
> > https://www.listbox.com/member/archive/rss/184463/21483261-4b78dd38
> > > Modify Your Subscription:
> > https://www.listbox.com/member/?&;
> > > Powered by Listbox: http://www.listbox.com
> > >
> >
> >
> 
> 
> 
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/184463/22141660-bde6cadb
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to