From: konopik@konopik.austin.ibm.com (Brad Konopik)
Newsgroups: comp.unix.aix
Subject: Re: remote /usr info needed
Date: 16 Nov 92 18:40:38 GMT
Organization: IBM AIX Porting Center, Austin

I expect that since I saw a reply to this question in the AIX32 FORUM on 
the internal IBMUNIX conference disk, someone has already e-mailed this
answer back to the originator.  But, just in case...

----- AIX32 FORUM appended at 18:21:58 on 92/11/12 GMT (by KRAEMERF at FRANVM3)
Subject: Re: remote /usr info needed                                           
From: hm292hu@unidui.uni-duisburg.de (Fred Hucht)                              
Organization: Universitaet Duisburg GH                                         
                                                                               
In <1992Nov9.183050.22598@selway.umt.edu> mcguire@selway.umt.edu (Charles J McGuire) writes:
                                                                               
>I'm looking for info on whether it may be possible to "regress" from          
>a diskfull machine to one that uses a remote /usr. I'm running AIX            
>3.2.2*. Basically, I have several 220's with fully configured 400M            
>disks that I would now like to reconfigure for use with a remote /usr.        
>The only response I've been able to get from IBM support is to                
>re-install the clients using "install for use with remote /usr".              
>This means I'll have to go back thru the painful 3.2.2 updates which          
>is something I'd really rather avoid if possible.                             
                                                                               
You can switch from standalone to remote /usr in the following way:            
                                                                               
 1) Create /sbin/net.info with the following contents:                         
                                                                               
    <client-IP> <server-IP> 0 69 0 0 <netmask> 0 ent0 1                        
                                                                               
    All IPs must be numeric. The last number specifies bnc, change to 0        
    for DIX. /sbin/rc.boot reads this file to configure the network             
    interface. Here we have no gateway between client and server and use       
    standard ethernet.                                                         
                                                                               
 2) Edit /etc/filesystems: Comment out the complete /usr:-stanza and add       
    a new one with your server-IP:                                             
*/usr:                                                                         
*       dev             = /dev/hd2                                             
*       vfs             = jfs                                                  
*       log             = /dev/hd8                                             
*       mount           = automatic                                            
*       check           = false                                                
*       type            = bootfs                                               
*       vol             = /usr                                                 
*       free            = false                                                
                                                                               
/usr:                                                                          
        dev             = /usr                                                 
        vfs             = nfs                                                  
        nodename        = <server-IP>                                          
        mount           = automatic                                            
        check           = false                                                 
        type            = boot                                                 
        options         = ro,fg,hard,intr,retry=3                              
                                                                               
 3) Execute the command:                                                       
                                                                               
    bosboot -a -d <bootdisk> -p /usr/lib/boot/netdisk.proto                    
                                                                               
    with <bootdisk> being your bootdisk.                                       
                                                                               
With this procedure we have successfully installed a 32H that runs both        
as /usr client and standalone (for demos). Note that you must export /usr      
with root access and read-only to the client.                                  
                                                                               
Note that I don't take any responsibility for crashes and 888's :-)            
Hope this helps...                                                             
                                                                               
Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany  
EMail: fred@hal6000.Uni-Duisburg.DE                                            
----- end of APPEND ------------------------------------------------

-- 
  tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
 ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
   uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
Newsgroups: comp.unix.aix