IP地址涉及的文件有: /etc/hosts (change the IP address) /etc/netmasks (if subnetting) /etc/defaultrouter (to specify the new gateway for this subnet)
改变主机名涉及的文件有: /etc/hosts (change to the new hostname) /etc/nodename (change to the new hostname) /etc/hostname. (where is the name of the primary interface for this system, i.e hostname.hme0 or hostname.le0. Change to the new hostname.) /etc/net/ticlts/hosts (change both columns to the new hostname) /etc/net/ticots/hosts (change both coluums to the new hostname) /etc/net/ticotsord/hosts (change both columns to the new hostname) 改完上述文件之后推荐重起一下机器。
3) 配置NAFO (Network Adapter Fail Over) /opt/SUNWpnm/bin/pnmset 以下显示相关信息 In the following, you will be prompted to do configuration for network adapter failover do you want to continue ... [y/n]: y How many NAFO backup groups on the host [1]: Enter backup group number [0]: Please enter all network adapters under nafo0 hme0 hme1 The following test will evaluate the correctness of the customer NAFO configuration... name duplication test passed
Check nafo0... < 20 seconds hme0 is active remote address = 129.9.168.101 test hme1 wait... nafo0 test passed 本信息表明通过测试 注意: NAFO配置时对网线的要求较高,有时要做多次才能成功。
(1) 用一台Sun工作站,用RS232玆J45电缆连接主机的串口A和终端集线器的 端口1。 在工作站/etc/remote文件中加上: a:dv=/dev/term/a:br 9600:el=^C^S^Q^U^D:ie=%$e=^D:el=^C^S^Q^U^D:ie=%$e=^D: (2) 在ROOT用户下键入: tip a (3) 正确连接终端集线器和公网 (4) 将终端集线器上电 (5) 按一下终端集线器的Test键,Test指示灯亮并进入测试模式。注意:应当在电源灯亮后立即按 Test键,不能等到其进入正常运行态,相当于计算机中按"DEL"进入设置状态。 完成测试后,正确的各指示灯状态如表2-2所示。 表2-2 终端集线器的指示灯 灯名 Power Unit Net Attn Load Active 颜色 Green Green Green Amber Green Green 状态 ON ON ON OFF OFF 慢闪
( 关掉终端集线器电源并重新开机,若用PC机 能 telnet 上去, 即验证了上述配置的正确性。此时对终端集线器的各端口进行配置: telnet 129.9.168.23 Trying 129.9.168.23... Connected to 129.9.168.23. Escape character is '^]'. Enter Annex port name or number: cli annex: su (切换到超级用户状态) Password: 此处键入TC的IP地址 annex admin Annex administration MICRO-XL-UX R7.0.1, 8 ports admin : set port=1-8 type dial_in imask_7bits Y You may need to reset the appropriate port, Annex subsystem or reboot the Annex for changes to take effect. admin : set port=2-7 mode slave You may need to reset the appropriate port, Annex subsystem or reboot the Annex for changes to take effect. admin : quit annex boot bootfile: warning: *** Annex (129.9.168.23) shutdown message from port v1 *** Annex (129.9.168.23) going down IMMEDIATELY Connection closed by foreign host.w 安装完毕,撤消1口的串口线。 以上操作过程中可键入"?"或"help"出现帮助,在当前工作站上, 可用使用PC机的超级终端等程序对TC进行设置。
19、SUN的小型机的内核参数的修改/etc/system set shmsys:shminfo_shmmax=268435456 set semsys:seminfo_semmni=4096 set semsys:seminfo_semmns=4096 set semsys:seminfo_semmnu=4096 set semsys:seminfo_semume=64 set semsys:seminfo_semmsl=100 set shmsys:shminfo_shmmin=100 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=100
30、sun双机的维护命令 #scinstall 命令可以进行一系列的sun双机的维护,如: Assuming a default cluster name of smp
Checking on installed package state ....................
============ Main Menu =================
1) Install/Upgrade - Install or Upgrade Server Packages or Install Client Packages. 2) Remove - Remove Server or Client Packages. 3) Change - Modify cluster or data service configuration 4) Verify - Verify installed package sets. 5) List - List installed package sets.
6) Quit - Quit this program. 7) Help - The help screen for this menu.