免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2215 | 回复: 2
打印 上一主题 下一主题

求hp-un系统题的正确答案 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-17 21:43 |只看该作者 |倒序浏览
1.        Using the appropriate command, verify that the LAN hardware is installed and is recongnized by the system. What Command(s) did you use?
A.#lanscan
B.#ifconfig
C.#lanadmin

b


使用lanscan可以查找系统中有几块网卡及其相关的信息,在本工程中可以看到每台机器上有  
lan0、lan1、lan2等三块网卡,其作用如下:  
1、 lan0:心跳线heart beating network  
双机心跳线使用10 Base-T网卡,配置在同一网段196.1.1.0,使用直连线连接。(直连线的制作需要  
自己动手,HP不提供,请参阅有关文档)  
2、 lan1:工作用网卡  
可通过系统工具sam进行将网卡IP地址更改到需要的工作网段上,并可通过查看  
/etc/rc.config.d/netconf文件来查看当前网络的配置情况,在配置完工作网卡的IP地址后,  
要选定一个工作用的IP地址,应和工作网卡在同一个网段,如:  
CRCT1: 192.168.1.10  
CRCT2: 192.168.1.11  
CRCT: 192.168.1.15  
3、 lan2:备份网卡

Q: 在solaris下,如何查看网络是否配置成功?
A: 可以采用命令Ifconfig -a来查看,如果网卡绑定ip成功,而不是显示0.0.0.0
就证明网卡配置基本无误,主要检查网络介质(网线,RJ45插头...)是否损坏。

2.        use which command to view the networking software that is loaded?
A.        #swverify
B.        #setld
C.        #swlist
D.        #listsw


再确定系统中已安装的MC/SG软件包及版本号  
#swlist


3.        Determine the current configuration of all LAN cards installed in your system,use which command?
A.        #lanscan
B.        #lanadmin
C.        #ifconfig
D.        #ifconfig –a

a

4.        Can I have filenames longer than 14 chars?
A.        Yes,modify /etc/convertfs file
B.        Yes,modify /etc/inittab
C.        Yes,modify /etc/fstab
D.        No.


5.        How can I tell what products have been loaded on my system?
A.        For9.X,check the /etc/filesets
B.        For 10.X,use #swlist
C.        Use,#swinstall
D.        Use,#listproduct –l


6.        About HP-UX licensing,which of following is incorrect?
A.        Display console count as one user
B.        Each ASCII terminal counts as a user,regardless of how it is connected
C.        Each telnet counts as a one user
D.        The LAN connection counts as one user

c

7.        How do I boot into single user mode?
A.        ISL>;hpux –i1 disc(;0)/stand/vmunix
B.        ISL>;hpux –is disc(;0)/stand/vmunix
C.        ISL>;hpux –iS disc(;0)/stand/vmunix


8.        Can you modify root shell to korn shell via /etc/passwd
A.        Yes
B.        NO


9.        How can I change the order of hostname resolution?
A.        modify /etc/nsswitch.conf
B.        modify /etc/named.conf
C.        modify /etc/named/named.boot


10.        which command check swap size?
A. #swap –s
B. #swapinfo –t
C. #more /etc/fstab
D. #df –k


11.        How come I can't get all of my swap space?
A.        default kernel parameter “maxswapchunks” is 512MB,if you config more swap, you need to increase its size
B.        default kernel parameter “maxswapsize” is 512MB,if you config more swap, you need to increase its size
C.        default kernel parameter “maxswapx” is 512MB,if you config more swap, you need to increase its size



12.        How do I change the hostname, IP address, DNS Server, etc?
A.        modify /etc/netconf
B.        #/sbin/set_parms <parameter>;
C.        #uname to change hostname,#ifconfig to modify IP Address,modify /etc/named files to change DNS server.

C

在我们dns开始工作了,是不是我们的工作已经OK了呢?不,不,不,named.conf文件还有很多东西需要我们配置呢。

DNS的配置文件named.conf是有非常多的可选项的,这里只是介绍一点常用的配置。如果你觉得还想继续研究下去,那也不需要在网上到处找资料的,直接用“man named.conf”就可以得到一个非常非常详细的说明。


1.5.2 手工配置网卡  
编辑/etc/rc.config.d/netconf文件,更改其中的网卡的IP地址。  
Lan0  
IP=192.168.1.10  

并可通过查看  
/etc/rc.config.d/netconf文件来查看当前网络的配置情况

13.        use which command to find the disk devices?
A.#lsdev
B.#file /dev/dsk/rr*c
C.#ioscan –funC disk
D.#vgdisplay –v


14.        use which comand to create a physical volume?
A.        #pvcreate –f /dev/dsk/c0t1d0
B.        #pvcreate –f /dev/rdsk/c0t1d0
C.        #pvcreate –v /dev/dsk/c0t1d0

b

创建第二块系统盘  
#pvcreate -B /dev/rdsk/c2t6d0  

15.        What is the full path of the file which was created as a result of the vgcfgbackup command automatically running?
A.        /etc/lvmconfig
B.        /etc/lvmconf
C.        /etc/vgconf


16.        Which comand to make the vg group device
A. #insf
B. #mksf
C. #mknod
D. #mkmod

c

2) 创建VG  
mkdir /dev/vglock  
mknod /dev/vglock/group c 64 0x040000   
vgcreate /dev/vglock /dev/dsk/c3t0d4 /dev/dsk/c4t1d4  

17.        How to backup one file system?
A.        #fbackup
B.        #fsback
C.        #make_recovery –A

a

系统备份与恢复常用命令   
1. fbackup / frecover   
2. tar   
3. sam   
4. copyutil   
5. make_recovery  

18.        which configure file detemine which clients are allowed ftp access?
A.        /var/adm/inetd.sec
B.        /etc/netconf
C.        /etc/inetd.sec
D.        /var/adm/netconf.sec

c
编辑/etc/inetd.conf

19.        How to make the command “cat * >; bigfile”  immune to hangup(logout)-no hangup?


____________________________
20.        how to View routing table?


netstat -r
____________________________

论坛徽章:
0
2 [报告]
发表于 2003-02-17 21:50 |只看该作者

求hp-un系统题的正确答案

我的邮件:xialiang234@sina.com谢谢!

论坛徽章:
0
3 [报告]
发表于 2003-02-18 13:09 |只看该作者

求hp-un系统题的正确答案

你要干嘛?不是都有答案吗?不过很多错的就是了,小心别上当。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP