Sun Microsystems X1150A manual To Set Up a GigaSwift Ethernet Port on a Diskless Client

Page 49

3.Create an appropriate entry in the /etc/hosts file for each active ce interface. For example:

#cat /etc/hosts

#Internet host table

127.0.0.1localhost

129.144.10.57 zardoz

loghost

129.144.11.83 zardoz-11

Setting Up a GigaSwift Ethernet Network on a Diskless Client System

Before you can boot and operate a diskless client system across a gigabit Ethernet network, you must first install the GigaSwift Ethernet software packages into the root directory of the diskless client. You can find the GigaSwift Ethernet software packages on the Sun GigaSwift Ethernet Driver 1.0 Update 1 CD. Refer to the Solaris Advanced Installation Guide and the System Administration Guide for more information about installing and administering diskless client systems.

Note The Solaris 8 operating environment does not support diskless clients.

To Set Up a GigaSwift Ethernet Port on a Diskless Client

1.Locate the root directory of the diskless client on the host server.

The root directory of diskless client system is commonly installed in the host server’s /export/root/client_name directory, where client_name is the diskless client’s host name. In this procedure, the root directory will be:

/export/root/client_name

Chapter 3 Network Configuration 27

Image 49
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle FCC Class a Notice Regulatory Compliance StatementsICES-003 Class a Notice Avis NMB-003, Classe a Bsmi Class a Notice Page European Union Declaration of ConformityPage Declaration of Conformity Page Contents Configuring Driver Parameters Network ConfigurationSpecifications Configuring VLANsDiagnostic Software and Troubleshooting Issues IndexPage Figures Page Tables Performance Sepcifications How This Book Is Organized PrefaceTypographic Conventions Using Unix CommandsShell Prompts Accessing Sun Documentation OnlineRelated Documentation Sun Welcomes Your Comments Hardware Overview Product OverviewSun GigaSwift Ethernet MMF Adapter Link is in Full Duplex modeLED Displays 1Front Panel Display LEDs for the MMF Adapter2Sun GigaSwift Ethernet UTP Adapter Sun GigaSwift Ethernet UTP Adapter2Front Panel Display LEDs for the UTP Adapter Patch Requirements Hardware and Software RequirementsKey Protocols and Interfaces Product FeaturesDiagnostic Support Page Become superuser Installing the Driver Software1Files and Directories on the CD-ROM Menu similar to the following displays Select the packages you want to installPatch version should be -07 or greater Verifying Patches# showrev -p grep Patch version should be -05 or greater Patch version should be -13 or greaterTo Install the Adapter Installing the Adapter Without Dynamic ReconfigurationSave the filler panel screw for Step 1Connecting the Fiber Optic Cable 2Cat-5 Twisted-Pair Cable To Verify the InstallationOk show-nets List the network devices on your systemOk cd /pci@1f,0/pci@1/network@4 Ok .properties View the.properties file for a list of device propertiesPhy-typewill have its value assigned as follows Setting the local-mac-addressPropertyOk setenv local-mac-address? true Ok setenv boot-device /pci@1f,2000/pci@1/network@4 Rebooting the SystemOk boot -r To Install an Adapter in a Dynamic Reconfiguration System Installing the Adapter With Dynamic ReconfigurationStates and conditions should be # cfgadm# cfgadm -c disconnect sysctrl#slot# # cfgadm -v -c configure sysctrl#slot## cfgadm -c disconnect sysctrl03 Reconfigure the devices on the adapter Configure the adapter and slot# drvconfig devlinks disks ports tapes Connect the adapter and slotPage Use the ifconfig command to setup the adapter’s ce interface Configuring the Network Host Files# ifconfig ce0 plumb ipaddress up # cat /etc/hosts To Set Up a GigaSwift Ethernet Port on a Diskless ClientExport/root/clientname Edit the hosts in the diskless client’s root directory Network Configuration Find the root directory of the client system # grep clientname /etc/bootparams# cd /cdrom/cdrom0/GigaSwiftEthernet/Packages # ls SUNWce Shut down and halt the client system Use the shutdown command to display the OpenBoot ok prompt# shutdown -i0 -g0 -y Ok boot /pci@1f,4000/network@4speed=100,duplex=full Proceed with the Solaris operating environment installation# pkginfo grep SUNWce Ok boot device-pathspeed=s,duplex=d,link-clock=c,promiscuous Booting Over the GigaSwift Ethernet Network2link-clockCapabilities for Link Up 1Device Link Parameters# boot netspeed=1000,duplex=full,link-clock=master # boot netspeed=100,duplex=full# boot netspeed=1000,duplex=auto,link-clock=auto Page GigaSwift Ethernet Device Driver Parameters Configuring Driver Parameters1ce Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsOperational Mode Parameters Operational Mode ParametersFlow Control Parameters 2Operational Mode Parameters3Read-Write Flow Control Keyword Descriptions 3provides flow control keywords and describes their functionGigabit Link Clock Mastership Controls 4Forced Mode ParameterInterpacket Gap Parameters 5Parameters Defining enable-ipg0and ipg0 7describes the receive interrupt blanking values Interrupt Parameters7RX Blanking Register for Alias Read 8RX Random Early Detecting 8-Bit Vectors Random Early Drop Parameters9PCI Bus Interface Parameters PCI Bus Interface ParametersSetting Parameters Using the ndd Utility Setting ce Driver ParametersUse the instance number to select the device To Specify Device Instances for the ndd UtilityDevice remains selected until you change the selection # ndd -set /dev/ce instance instance#Ndd utility then prompts you for the name of the parameter To modify a parameter value, use the -setoption# ndd -set /dev/ce parameter value # ndd /dev/ce parameterSetting the Autonegotiation Mode Set the adv-autoneg-capparameter to Setting Parameters Using the ce.conf File# ndd -set /dev/ce adv-autoneg-cap Second line in the previous example To Set Driver Parameters Using a ce.conf File# grep ce /etc/pathtoinst Third line in the previous example Usability Enhancements to the DriverSave the ce.conf file # ndd -set /dev/hme instanceThen you had to get the link status GigaSwift Ethernet Driver Operating Statistics# ndd -get /dev/hme link-status # kstat cen grep linkup10Read-Only ce Device Capabilities 11describes the read-only link partner capabilities Reporting the Link Partner Capabilities11Read-Only Link Partner Capabilities 12Transmit and Receive Parameters 12describes the netstat -k transmit and receive parameters12Transmit and Receive Parameters # netstat -k ce0 Code Example 4-1Output from kstat Command# kstat Ce0 # kstat ce0 # kstat ce0 # kstat ce0 grep lp Use the kstat command to discover link partner capabilities# kstat ce0 grep link Use the kstat command to discover link settingsPage An Overview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs Vlan logical PPA = 1000 * VID + Device PPA To Configure Static VLANs# ifconfig -a # ifconfig ce123000 plumb up # ifconfig ce224000 plumb upPage Table A-1SC Connector Link Characteristics Ieee P802.3z ConnectorsTable A-2Cat-5 Connector Link Characteristics Performance SpecificationsTable A-3Performance Sepcifications Power Requirements Physical CharacteristicsTable A-5Power Requirements Page SunVTS Diagnostic Software Diagnostic Software Troubleshooting IssuesRunning the Ethernet FCode Self-Test Diagnostic Using the OpenBoot Prom FCode Self- TestReset the system Shut down the systemType show-netsto display the list of devices Ok setenv diag-switch? falseOk test /pci@1f,0/pci@1/network@4 Set the auto-boot?configuration parameter to true Troubleshooting IssuesReset and reboot the system Ok setenv auto-boot? trueAdv-pause-cap Type the following to apply and save your changesNon-Specific Issues Failure to Configure GigaSwift Ethernet InstanceTable B-1Troubleshooting the GigaSwift Ethernet Adapter Reboot system Problem with DR Attach on Sun Enterprise PlatformsAdd the following lines to the /etc/system file Set drdetachsafelist1=ce set hswpsuspendsafelist1=cePage Index Symbols