- Objectives
- Prerequisites
- Introduction
- Management Server Functions
- Section 2.1: Installing and Configuring the Management Server
- Section 2.2: Configuring the Terminal Concentrator
- Section 2.3: Configuring the Solaris JumpStart Server
- Section 2.4: Installing SUNWccon Package on the Administrative Workstation
- Section 2.5: Configuring the Management Server to Administer Cluster Nodes
- Section 2.6: Configuring the Cluster Control Panel
- Appendix A: System Configuration Files
- Appendix B: References
Appendix A: System Configuration Files
This appendix presents the following information:
Sample /.profile and /.login startup scripts
Sample /etc/inet/hosts
Output From /.profile and /.login Files
The following example configuration files are referenced in this module.
Sample /.profile File
#!/bin/ksh # root ksh environment settings TERM=vt220 stty=istrip Prompt='/bin/hostname' PATH=/usr/bin:/usr/ucb:/etc:/sbin:/usr/sbin: /usr/cluster/bin:/opt/SUNWcluster/bin:. MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man: /usr/cluster/man:/opt/SUNWcluster/man:/opt/SUNWconn/man: export TERM stty Prompt PATH MANPATH umask 022
Sample /.login File
# The root csh environment settings setenv TERM vt220 setenv stty istrip set prompt = 'bin/hostname'% setenv PATH /usr/bin:/usr/ucb:/etc:/sbin:/usr/sbin: /usr/cluster/bin:/opt/SUNWcluster/bin:. setenv MANPATH /usr/dt/man:/usr/man:/usr/openwin/share/man: /usr/cluster/man:/opt/SUNWcluster/man:/opt/SUNWconn/man umask 022
NOTE
Discussing shells and their usage can be highly controversial. The above scripts have been written as generic as possible. You are welcome to add to the scripts or not use them at all, however, keep in mind that you will have to troubleshoot any errors the shell scripts create.
Sample /etc/inet/hosts File
# more /etc/inet/hosts # Internet host table 127.0.0.1 localhost 129.153.xx.xxx clustadm loghost 129.153.xx.xxx clustnode1 129.153.xx.xxx clustnode2 129.153.xx.xxx lh-hanfs 129.153.xx.xxx lh-apache 129.153.xx.xxx tc
NOTE
Example only. Shows standard hostname entries for the SunPLEX. Note the output includes our two logical host entries ( 'lh-xxx' ), plus the terminal concentrator (tc). Verify your configuration matches actual site-specific configuration requirements.