- Objectives
- Prerequisites
- Introduction
- Management Server Functions
- Section 2.7: Solaris OE Installation Preparation on Each Cluster Node
- Section 2.8: Install the Solaris 8 Operating Environment on Each Cluster Node
- Section 2.9: Install Recommended Solaris OE Patches on Each Cluster Node
- Section 2.10: The Solaris OE Post Installation and Configuration
- Section 2.11: Configure Additional Cluster Management Services
- Appendix A: System Configuration Files
Appendix A: System Configuration Files
This appendix presents the following information:
Sample /.profile and /.login startup scripts
Sample /etc/inet/hosts file
Output From /.profile and /.login Files
The following is an example of the /.profile configuration 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
The following is an example of the /.login configuration 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
The preceding 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.
The following is an example of the /.login configuration 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
The preceding is an example only. It shows standard hostname entries for the SunPlex platform. Note that the output includes two logical host entries (lh-hanfs and lh-apache), plus the terminal concentrator (tc). Verify that your configuration matches the actual site-specific configuration requirements.