C5 2.1 System Administrator's Guide



VirtualLogix
6, avenue Gustave Eiffel
78180 Montigny-Le-Bretonneux
France

JL/TR-02-55.1

January 2007

Legal Notice

Table of Contents

Preface
1. Who Should Use This Book
2. Before You Read This Book
3. How This Book Is Organized
4. Related Books
5. What Typographic Conventions Mean
6. Directory Conventions
7. Shell Prompts in Command Examples
I. After Installing C5 2.1
1. Using C5 2.1
1.1. The C5 System Image
1.2. Downloading the System Image
1.3. Introducing the Administration Features of the C5 System
1.3.1. Key Commands
1.3.2. System Start-up
1.3.3. System Crash and the SYSTEM_DUMP Utility
1.3.4. Management Utilities
1.3.5. Input/Output Management
2. Configuring and Tuning
2.1. Configuration Options
2.1.1. Feature Options
2.1.2. Configuration Profiles
2.1.3. Tunable Parameters
2.1.4. System Image Components
2.2. Configuration Files
2.3. Configuration Tool
2.3.1. Displaying the Configuration
2.3.2. Selecting a Configuration Profile
2.3.3. Adding, Removing, or Listing a Feature
2.3.4. Changing Tunable Parameter Values
2.3.5. Modifying the System Environment
2.3.6. Rebuilding the System Image
II. File System Administration for C5 2.1
3. Introduction to C5 File System Administration
3.1. System Initialization overview
3.2. File System Commands
3.3. File System Initialization
3.3.1. Initialization Examples
3.4. Managing File Systems
4. Configuring the System Image with File System Support
4.1. Supported Systems
4.1.1. Supported Media
4.1.2. Supported File Systems
4.2. Adding Support for File Systems and Related Hardware to your System Image
4.3. Special Device Driver Files
4.3.1. What Special Files Are
4.3.2. Naming Conventions for Special Files
4.3.3. Creating Special Files
5. Setting Up File Systems on the Target
5.1. Formatting a Flash Memory Device
5.2. Labeling a Disk
5.2.1. Setting Up Information About Disk Geometry
5.2.2. Using disklabel to Label a Disk
5.3. Creating a File System
5.4. Checking File System Integrity
6. Mounting and Unmounting File Systems
6.1. File System Commands
6.2. Mounting a Root File System over NFS
6.3. Activating a Swap Partition
7. Sharing Target File Systems Over NFS
7.1. Setting Up the Target as an NFS Server
7.1.1. Setting Up the Configuration Files
7.1.2. Starting the NFS Daemons
8. Further File System Administration Examples
8.1. Making a RAM Disk the Main System Disk
8.2. Creating a File System on a Target System Hard Disk
8.3. Setting Up an NFS Server on the Target System
8.4. Creating and Activating a Swap Partition
8.5. Creating a File System on a Target System Flash Disk
III. Network Administration for C5 2.1
9. Network Components
9.1. Supported Protocols
9.2. Supported Interfaces
9.3. Supported Devices
10. Setting Up Ethernet
10.1. Configuring Hardware
10.2. Creating Interfaces
10.3. Creating Devices
10.4. Configuring Interfaces
10.5. Testing the Interface
11. Setting Up PPP
11.1. Configuring Hardware
11.2. Creating Interfaces
11.3. Creating Devices
11.4. Configuring PPP
11.4.1. Enabling PPP Services
11.4.2. Opening PPP Lines
11.4.3. Closing PPP Lines
11.4.4. Disabling PPP Services
11.5. PPP on a Solaris Host
11.5.1. Checking for Required Packages
11.5.2. Configuration Files
11.5.3. Configuring a Terminal
11.5.4. Starting and Stopping PPP
11.5.5. Making the PPP Target Visible to the Entire Network
12. IP and the C5 System
12.1. IP Forwarding
12.1.1. The C5 operating system as an ARP proxy
12.2. IPv6 and the C5 System
12.3. IPv4 to IPv6 Transition Process
12.3.1. Standardized Transition Tools
12.3.2. Configuring Name Services
12.3.3. IPv6 Related Processes
12.3.4. IP stacks: IPv4 and IPv6
13. Network Administration Commands and Daemons
13.1. chat
13.2. dhclient
13.3. gifconfig
13.4. ifconfig
13.5. pppstart
13.6. arp
13.7. gif
13.8. icmp6
13.9. inet6
13.10. netstat
13.11. ndp
13.12. nfsstat
13.13. ping
13.14. ping6
13.15. rpcinfo
13.16. route
13.17. tcpdump
13.18. traceroute
13.19. Name Services and ypbind
13.19.1. ypcat
13.20. ftpd and ftp
13.21. tftpd and tftp
13.22. systcl
13.23. mountd
13.24. nfsd
13.25. rpcbind
13.26. rtsol and rtsold
13.27. telnetd
14. Configuring IPC
14.1. Generic IPC Configuration
14.1.1. IPC Feature Configuration
14.1.2. Site Number Administration
14.1.3. Specific IPC Configuration
15. Setting Up VLANs
15.1. Basic setup
15.2. Stopping a VLAN
15.3. An example using FTP client and server
A. Appendix A: System Image Configuration Summary
B. Appendix B: Configuring a Portmaster
Index

List of Figures

2.1. Microkernel Configuration Displayed in HTML
9.1. Ethernet Networking
9.2. PPP Networking
11.1. IP Traffic—PPP Only
11.2. IP Traffic—Both Ethernet and PPP
12.1. C5 as an IP Gateway
12.2. The C5 system as an ARP Proxy

List of Tables

1. Typographic Conventions
2. Directory Conventions
3. Shell Prompts
2.1. Microkernel Feature settings in the extended and basic configuration profiles
2.2. C_INIT Feature Settings and Input Output Manager Feature settings in the extended and basic configuration profiles
4.1. File System Support By Media
4.2. Media Support
4.3. File System Support
A.1. Networking Features, Tunables, Processes and Scripts
A.2. Networking sysadm.ini Commands
A.3. Networking Features, Tunables, Processes and Scripts
A.4. Networking sysadm.ini Commands

List of Examples

5.1. Creating a File System on a RAM Disk
6.1. Mounting a Root Directory through NFS
6.2. Mounting a UFS File System as the Root File System
6.3. Mounting an MS-DOS File System as the Root File System
6.4. Mounting an ISO 9660 File System as the Root File System
10.1. Ethernet Interface Creation
10.2. BPF Device Creation
10.3. Ethernet Configuration with ifconfig
10.4. Ethernet Configuration with rarp
10.5. Ethernet Configuration with dhclient
11.1. PPP Interface Creation
11.2. PPP Device Creation
13.1. Configuring and Checking Interfaces with ifconfig
13.2. Displaying the ARP Table
13.3. Displaying Network Statistics with netstat
13.4. Displaying NFS Activity
13.5. Checking a Connection with ping
13.6. Routing with IPv4 Forwarding
13.7. Binding to an NIS Server
13.8. Reading NIS Information
13.9. Sample ftp Session