Using the Two Networking Cards With Telnet

   

HP-UX Virtual Partitions
By Marty Poniatowski

Table of Contents
Chapter 13.  Networking


The LAN cards devoted to Virtual Partitions can be used for a variety of purposes just as they would on a non-vPar system. When users or applications in two different vPars communicate, it is over the LAN. There is not any special provision in vPars for communicating in normal operation. (There is, however, special system administration communication among vPars, such as synchronization of the Virtual Partition Database, that takes place in a special way.) When establishing a communication session between two vPars, even if they are on the same server, the LAN interfaces on both vPars are used. This includes telnet, ftp, and the Berkely "r" commands such as rlogin. The following example shows a telnet session among two vPars used in many examples throughout the book. vPar cable1 (hostname cvhdcon3) initiates a telnet session with vPar cable2 (hostname cvhdcon4) in this example:

 # hostname  cvhdcon3                          <-- start on cable1  # telnet cvhdcon4                 <-- telnet to cable2  Trying...  Connected to cvhdcon4.  Escape character is '^]'.  Local flow control on  Telnet TERMINAL-SPEED option ON  HP-UX cvhdcon4 B.11.11 U 9000/800 (tc)  login: root  Password:  Please wait...checking for disk quotas  (c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.  (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of Cal- ifornia  (c)Copyright 1980, 1984,  1986 Novell, Inc.  (c)Copyright 1986-1992 Sun Microsystems, Inc.  (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology  (c)Copyright 1989-1993  The Open Software Foundation, Inc.  (c)Copyright 1986 Digital Equipment Corp.  (c)Copyright 1990 Motorola, Inc.  (c)Copyright 1990, 1991, 1992 Cornell University  (c)Copyright 1989-1991 The University of Maryland  (c)Copyright 1988 Carnegie Mellon University  (c)Copyright 1991-2000 Mentat Inc.  (c)Copyright 1996 Morning Star Technologies, Inc.  (c)Copyright 1996 Progressive Systems, Inc.  (c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.                             RESTRICTED RIGHTS LEGEND  Use, duplication, or disclosure by the U.S. Government is subject to  restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in  Technical Data and Computer Software clause in DFARS 252.227-7013.                             Hewlett-Packard Company                             3000 Hanover Street                             Palo Alto, CA 94304 U.S.A.  Rights for non-DOD U.S. Government Departments and Agencies are as set  forth in FAR 52.227-19(c)(1,2).  Value of TERM has been set to "hp".  WARNING:  YOU ARE SUPERUSER !!  # hostname  cvhdcon4                              <-- connected to cable2  # 

You can use telnet, rlogin, or other such connection methods only if you have two networking cards in your system - one for each vPar. This is true for other functionality as well, such as the backups from a vPar to another vPar or system with a local tape drive, which require a network card on both systems. I consider one networking card devoted to each vPar a necessity.

There is a substantial amount of networking background information in the remainder of the chapter.


       
    Top
     



    HP-UX Virtual Partitions
    HP-UX Virtual Partitions
    ISBN: 0130352128
    EAN: 2147483647
    Year: 2002
    Pages: 181

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net