Brendan Gregg, who contributes to this mailing list wrote a Perl program which he calls zcp.

# USAGE: zcp file1 zonename:file2
#    eg,
#        zcp /etc/syslog.conf workzone1:/tmp

If you would like a copy, please let me know.

[EMAIL PROTECTED] wrote:
Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok.


xc12p11-b1# zoneadm list -cv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              native   shared
   6 xc12p11-b1-ce0-zone1 running    /export/xc12p11-b1-ce0-zone1   native   shared
  12 xc12p11-b1-ce0-zone2 running    /export/xc12p11-b1-ce0-zone2   native   shared

xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone2 'date'    <----- Not working
xc12p11-b1-ce0-zone2: Connection refused
xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone1 'date'
Wednesday, September 26, 2007 10:04:25 AM PDT

xc12p11-b1# ping xc12p11-b1-ce0-zone1
xc12p11-b1-ce0-zone1 is alive
xc12p11-b1# ping xc12p11-b1-ce0-zone2
xc12p11-b1-ce0-zone2 is alive

xc12p11-b1# zlogin xc12p11-b1-ce0-zone1
[Connected to zone 'xc12p11-b1-ce0-zone1' pts/10]
Last login: Wed Sep 26 10:08:05 from xc12p11-b1
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# hostname
xc12p11-b1-ce0-zone1
# date
Wed Sep 26 10:17:03 PDT 2007
# exit
[Connection to zone 'xc12p11-b1-ce0-zone1' pts/10 closed]


xc12p11-b1# zlogin xc12p11-b1-ce0-zone2
[Connected to zone 'xc12p11-b1-ce0-zone2' pts/10]
Last login: Wed Sep 26 10:03:08 on pts/10
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
# hostname
xc12p11-b1-ce0-zone2
# date
Wed Sep 26 10:17:14 PDT 2007
# exit
[Connection to zone 'xc12p11-b1-ce0-zone2' pts/10 closed]


Please reply directly to me as I am not on this alias.


Thanks,
Lana


_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

  

--

Michael Barto
Software Architect

LogiQwest Circle
LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

    [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and should be treated as confidential.
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to