



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
网上收集了一些solaris的面试题,算是对solaris学习过程的一个总结1.网友bininbinin问:在solaris上换掉一个坏的镜像答:问:如何设置,solaris的网卡如何做到loadbalance答:问:新添加的网卡,如何在solaris主机上识别出来答:问:如何添加网络上面的storage,识别新的网络硬盘?答:问:如何在线扩文件系统答:How to replace a failed SCSI disk mirrored with SolsticeDiskSuite (command line method) WITHOUT taking Solaris down:The following assumptions have been made for this example procedure:A. Server name= B. OS = Solaris 7 or 8C. DiskSuite versions 4.2 or 4.2.1D. The bad disk is hot-swappable.E. Metadevice numbers and state database replicas are taken from those used onthe actual system.F. Actual command line syntax is shown in bold text.1. Collect output from the following:# metastat# metastat -p# metadb -i2. To identify the disk to be replaced:Examine the metadb -i output. You should see a W in the flags field associated with slice 7 of the disk experiencing write errors. Another indication is to look at the output from the “format” command.Next to the device name the text string “” will appear indicating that the disk label cannot be read and therefore it is very likely that the disk has failed. For this example, we will assume the failed disk device is c0t0d0.3. Delete any metadevice state database replicas that are on the bad disk:# metadb -d c0t0d0s7# metadb -i (to make sure they have been deleted)4. State of the submirrors:The “metastat” command output reports that all submirrors on the bad disk are at a State of “Needs maintenance”. This indicates that DiskSuite has automatically disabled the submirrors, so there is no need to “metadetach” the submirrors.5. Physically replace the failed hot-swappable disk.6. Partition the new disk:Easiest way to do this is to copy the partition table from the root mirror (c0t1d0s2) to the new disk (c0t0d0s2) with the following dd command:# dd if=/dev/rdsk/c0t1d0s2 of=/dev/rdsk/c0t0d0s2 count=16Verify the partition table was copied correctly using the format utility. Type format, select the corresponding disk number from the disk selection menu, then type p, then p again to view the partition table. Compare and make sure the partition tables match EXACTLY.7. Recreate the metadevice state database replicas that were deleted in step 3 from c0t0d0s7:# metadb -a -f -c 3 /dev/dsk/c0t0d0s7# metadb -i (verify the creation)8. Re-enable the submirrors:# metareplace e d1 c0t0d0s0 (d1 is / and c0t0d0s0 is device associated w/ d11 submirror)# metareplace e d2 c0t0d0s1 (d2 is /usr and c0t0d0s1is device associated w/ d12 submirror)# metareplace e d3 c0t0d0s3 (d3 is /var and c0t0d0s3 is device associated w/ d13 submirror)# metareplace e d5 c0t0d0s5 (d5 is /opt and c0t0d0s5 is device associated w/ d15 submirror)Note: Run metastat | grep sync to check syncing status. When all syncing is complete, runmetastat again to verify that the State of all submirrors is Okay.1.solaris有哪些配置文件,(如/etc/hosts,inetd.conf,passwd,shadow等)它们有什么作用?/etc/hosts (存放IP和主机名)/etc/netmasks (子网掩码)/etc/inetd.conf(一些服务和启动项目)/etc/passwd /etc/shadow 用户登陆口令2.简单描述Solaris,Linux,AIX,HP-UX3.Solaris,HP-UX,Linux,AIX的备份命令分别是什么solaris备份命令:ufsdump 0uf (0是备份级别;u写进/etc/dumpdatas文件中;f后跟备份设备)ufsrestore rf (恢复)ivf (交互模式)4.用过什么安全工具unix和linux下nessus,ipfilter,checkpoint5.接触过什么小型机6.写出所知道的Sun的Open Boot PROM命令power-on self-test 加电自检printenvprintenv boot-device 查看某一参数setenv auto-boot?flase 改某一参数set-defaults 将所有printenv值设置成默认set-default parnameter-name 只将一个变量值设置成默认值probe 检测当前系统设备(有可能会把机器冻结,只有在开机时使用)show-devs 列出系统里所有通用设备devalias 查看所有系统通用设备的别名nvalias设置某一个别名7.Oracle的体系结构,备份命令8.概念题,什么是SAN,什么是ZONE9.如果系统无法启动,会是什么样的原因,你会怎样解决先看提示,不行进单用户进不去就STOP-A,测试下硬件在不行cd引导,挂上有日志的分区,看10.VLAN中的机器无法连通,会是什么原因,怎样解决VLAN中的机器无法连通?汗一个,看看线,再在核心交换上show run还可能ip冲突11.用户反映系统缓慢,什么原因,怎么解决12.Solaris,HP-UN,Linux,AIX的文件系统各是什么?1.下载Sun的补丁到哪/2.Solaris8的补丁文件名格式是什么3.配置过CVS么?4.怎样修改子网掩码使重启后还生效vi etc/netmasks 文件5.下载source版软件后安装步骤第一步通常是什么?6.修改二进制格式安装包的安装路径加什么参数7.Solaris自带的C编译器是什么?在什么路径?8.安装过Linux么?9.自学能力怎样?大学时自学过什么课程10.安装过GNU的软件么?11.设置路由的文件是什么?/etc/gatewaysnet gateway metric dest. net 目标网段 router 下一跳路由器的地址 count 跳数12.apache的配置文件在哪里?13.你觉得系统管理的主要任务是什么?14.系统管理员的知识是要更深还是更广?问题1: Sun主机中OpenBoot PROM是指什么?有什么功能?问题2:Solaris安装软件包的命令是什么?如何查看系统已经安装的软件包问题3:用什么命令对solaris打补丁?问题4:Solaris下管理用户和用户组的图形工具是什么?用命令行增加一个dba的组的命令是什么?问题5:Solaris下要查找一个叫“appmonitor”的进程的命令是什么?问题6:Solaris下查找一个叫“htsbak”的文件的命令是什么?问题7:Solaris下查找剩余磁盘空间的命令是什么?问题8:Solaris下kstar用户下一个目录“src”,另外一个dc用户需要只读该目录,应该如何设置权限,请给出命令。问题9:请编写一段c代码,把a数组中的n个数和b数组中逆序的n个数一一对应相加,结果存在c数组中,并对c数组按照升序排序。要求:(1) 思路清晰,编码合理。(2) 从文件中读入
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 药用植物学与生药学试题及答案
- 2025年航空服务人员安全意识培训试题及答案解析
- 2025年航空飞机维修工艺评估师新员工岗位专业知识笔试题目及答案
- 2025至2030年中国双层便当盒市场分析及竞争策略研究报告
- 安徽中医考试题库及答案
- n3护士考试试题及答案问答
- 环境敏感区打井施工安全合同
- 金融资产交易担保合同
- 城市基础设施建设债券担保协议范本
- 金融服务合同风险预警与应急处置范例合同
- 轻资产运营模式下“海澜之家”财务绩效评价研究
- 认识大脑课件
- 小学学校作业管理优化实施细则(2025修订版)
- 公务员面试人际关系题人际关系面试题及答案
- 青海招警考试真题及答案
- 酷家乐教学课件下载
- 自动化生产线安装、调试和维护技术 第2版 教案全套 模块1-7 认识柔性自动化生产线-全线运行控制方案设计与调试
- 浙江名校协作体(G12)2025年9月2026届高三返校联考政治(含答案)
- 2025至2030年中国鹿茸药品行业市场发展现状及投资方向研究报告
- Unit 1 This is me!第5课时 Integration 说课稿- 2024-2025学年译林版(2024)七年级上册英语
- 2025-2026学年苏教版小学数学四年级上册(全册)教学设计(附目录P197)
评论
0/150
提交评论