云计算试验报告

上传人:206****923 文档编号:90360038 上传时间:2019-06-11 格式:DOC 页数:5 大小:57.52KB
返回 下载 相关 举报
云计算试验报告_第1页
第1页 / 共5页
云计算试验报告_第2页
第2页 / 共5页
云计算试验报告_第3页
第3页 / 共5页
云计算试验报告_第4页
第4页 / 共5页
云计算试验报告_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《云计算试验报告》由会员分享,可在线阅读,更多相关《云计算试验报告(5页珍藏版)》请在金锄头文库上搜索。

1、 云计算实验报告篇一:云计算实验报告 云计算与物联网实验报告 学 院 专业班级 姓 名 学 号 2014 年 12 月 说明 一、 实验报告是本课程重要的实践教学环节,是提高学生应用计算机能力的重 要措施。所有参加实验的学生都必须撰写实验报告。 二、 实验报告的质量反映了实验的学习质量,它是评定实验成绩的主要依据之 一。不交报告者不得参加实验成绩评定。 三、 实验报告要求条理清晰,内容详尽,数据准确。 四、 实验课程结束后请将本报告上交学院存档保存。 五、 实验报告一次性提交,必须回答实验课上要求完成的思考题。 3 4 5 篇二:云计算实验报告 实验一 CloudSim优缺点: 1、 优点:能

2、够提供虚拟化服务。其它的优点没感觉到 2、 缺点:版本不兼容问题严重。不支持新的模拟实体的创建。 实验环境搭建: (1)下载cloudsim-3.0和jdk1.7,配置环境变量 path=C:cloudsim-3.0jarscloudsim-3.0.jar;C:cloudsim-3.0jarscloudsim-examples-3.0.jar。 JAVA_HOME= C:Program FilesJavajdk1.7.0_40 (2)导入工程项目,如下图; 搭建环境中遇到的问题: (1) sources文件夹中会有包提示error。其解决方法:网上下载flanagan.jar包并导,问题得以解

3、决,如下图所示: (2) 算法实现: (1)先来先服务代码: public void bindCloudletsToVmsFCFS() int cloudletNum=cloudletList.size();int vmNum=vmList.size(); int i,j;double time;int idex=0;/记录当前最先到达的任务idint vdx=0;double submittime=newint isbindtovm=new intcloudletNum;for(i=0;i<cloudletNum;i+) /任务是否被分配了 isbindtovmi=0; /设置各个人物

4、的到达(提交)时间for(i=0;i<cloudletNum;i+) double0.2,0.2,0.5,0.7,1.5,0.7,0.4,0.3,0.9,0.3; cloudletList.get(i).setSubmissionTime(submittimei); for(i=0;i<cloudletNum;i+) time=100.0;for(j=0;j<cloudletNum;j+) idex=j; time=cloudletList.get(j).getSubmissionTime(); cloudletList.get(idex).setVmId(vmList.ge

5、t(vdx).getId(); vdx=(vdx+1)%vmNum; /顺序分配给虚拟机 isbindtovmidex=1;/表示第 if(cloudletList.get(j).getSubmissionTime()<time&&isbindtovmj=0) (2)将这段代码加入package org.cloudbus.cloudsim 中的DatacenterBroker中,然后将整个项目重新进行编译。 (3)调用FCFS方法,该算法的时间排序正确,但是cloudlet排序有误,我正在解决。 实验二 环境搭建 (1) 首先安装ubuntu系统。版本:12.04 (2)

6、 安装好后,ubuntu系统上安装jdk1.7和ssh(截图在另一个系统上,等整 理好再发给你) 篇三:云计算实验报告 (2) 实验报告 项目名称:Hadoop平台部署(两次实验) 课程名称: 班级: 信息工程学院计算机系 一.linux系统配置(在本实验中,创建了master和slave两个节点) 1.1主机名的配置 通过语句编辑,将hostname分别改为master及slave。1.2使用 setup 命令配置网络环境 Master节点ip:192.168.1.100 Slave节点ip:192.168.1.1011.3关闭防火墙(两节点操作相同,在此仅展示 slave) 1.4配置ho

7、st列表(如1.2所示) 观察是否配置成功 二JDK的安装 2.1.将JDK文件解压,放到/home/com0916目录下 表示JDK安装成功 2.2免密钥登陆配置 生成的密钥在.ssh目录下如下图所示:免密钥配置成功 三Hadoop配置部署 解压成功hadoop 3.2.配置环境变量hadoop-env.sh 环境变量文件中,只需要配置JDK的路径,配置结果如图所示: 3.3配置核心组件core-site.xml 3.4配置文件系统hdfs-site.xmlorganization system and working mode, the selection of a number of m

8、unicipal strengthening group to build innovation and strengthen the organization of the basic level organizations advanced model.(seven) the manual work of the Communist Youth League Organization published and League branch of manual work, to promote the use of two manuals in the citys organizations

9、 at various levels. The county committee, directly under the group (work) is under the jurisdiction of grassroots League and group (total) using branch ratio shall not be less than 70%.Three, to further strengthen the groups leadership and team building(a) to strengthen the leagues leadership at all

10、 levels of construction. Continue to do a good job of municipal Party Committee Organization Department on the strengthening of the Communist Youth League cadres management opinions implementation. To promote the group counties (autonomous counties, cities) Commission and city directly under the gro

11、up (workers) appointed to carry out the Five team building activities. Improve the League Association Department working mechanism. Conscientiously fulfill the duties of CO, combined with the city group directly under (the) Committee of the general election and the adjustment, actively jointly with

12、the unit where the party organization department good group leadership selection with the work. Do a good job in municipal Party committee assistant committee leadership and leading cadres of the annual assessment work, adhere to and improve the assistant secretary of the Communist Youth League talk

13、 system group To weave individual conversation and collective conversation, to strengthen the committees of all levels, the Standing Committee of the Standing Committee, the establishment of a sound system of central group learning, the system of investigation and study, the system of important issu

14、es and the reporting system.(two) to strengthen the work of education and training of cadres to conscientiously implement the Central Committee. On the implementation of grassroots cadres training project and opinions on carrying out the mission municipal CYL Cadres training project implementation o

15、pinions, full implementation of the project of the City Youth League cadres training education. Focus on the county grassroots cadres and workers focused on training, the new school system vocational training League cadres, for the Municipal Organization Department jointly held the third session of the Communist Youth League system training cadres in party. Focusing on the construction of new socialist countryside, strengthening village cadres and rural construction team group member of the young team, the county organizations at various levels throu

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号