如何将本地代码移动到生产生产服务器. [英] how to move local code to production production server.

查看:76
本文介绍了如何将本地代码移动到生产生产服务器.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我刚开始在一家公司工作,我们已经在.Net中成功开发了一个应用程序,我的领导告诉我们在生产"之前检查代码.在这种情况下,生产是什么.如何将代码从生产转移到生产,任何人都告诉我逐步将代码从本地转移到生产.并告诉我常见的Prablums将面对什么.


i am working on one company as a fresher , we had developed one application in .Net successfully , my leads tell to check the code before the "production". In this case what is the production .how to move code from to production ,any one tell me step by step moving code from local to production.And tell me what are the common Prablums will be face.

推荐答案

生产"对于不同的公司可能意味着不同的事情,您应该真正询问领导",以及对您的要求和必须填写的检查清单.
"Production" could mean different things to different companies, you should really ask your "lead" about this and what is required of you and what check lists you must complete.


不完全知道您在哪个领域工作.但是在我所在的领域(行业),要将某些产品投入生产意味着您必须升级到已经使用的系统.

示例:
汽车制造商将开始生产新车型.为此,将需要生产链上的一些新路径"(这是没有问题的,因为可以在不影响正常生产的情况下对它们进行测试),但是其他部分将是必须对之进行的更改/添加/升级​​.用于生产其他当前汽车的计算机/PLC.那是最困难的部分.如果升级PC/PLC时遇到编程错误,导致链条停止....我希望您能像修复地狱一样运行,每停一分钟就意味着一天的库存少了一辆车.


为了最大程度地减少可能出现的问题,有许多方法,可能性和要检查的要点.但是最重​​要的内容合而为一:常识

无论如何,这是我通常要做的一些事情:

-始终备份您命运站中实时运行的实际软件,而不只是源,数据容器的备份.
-请勿在未在模拟中进行脱机测试的情况下覆盖活动功能,如果无法避免,则应...在影响和时延最佳的时候(工人或类似人员的午餐时间)进行操作
-如果该功能至少在第二次尝试中效果不佳,请忘记它.转移备份并继续离线使用该功能
-...


另一方面,我同意解决方案1.可以回答您的最佳人选是您自己的老板或团队负责人.每个公司都有自己的政策,每个方案都可能要求使用不同的方法.
Don''t know exactly in which fields are you working. But in my area (industry), to move something to production means you have to make the upgrade to a system that is already being used.

Example:
A car manufacturer is going to start the production of a new model. For this, some new "paths" on the production chain will be needed (no problem with that because are isolated parts that can be tested without afecting the normal production), but other parts will be changes / additions / upgrades that have to made to the computers / PLCs that are already used in the production of the other current cars. THAT is the most difficult part. If you upgrade a PC / PLC and you have a programming error that causes the chain to stop.... I hope you run as hell to fix it, every stop minute means one car less in the stock of the day.


To minimize the possible problems there are many ways, possibilities, points to check. But the most importants are resumed in one: COMMON SENSE

Anyways here are some things I usually do:

- ALWAYS have a backup of the actual software running live in your destiny station, but not only the sources, the data containers as well.
- Never overwrite an active function without have it tested offline in simulation, and if not possible to avoid it... then do it when the impact and your time-lapse are the best (lunch time of workers or similar)
- If the function doesn''t work good at least at the second try, forget it. Transfer the backup and continue working on the function offline
- ...


On the other hand, I agree with the Solution 1. The best person that can answer you, is your own boss or team leader. Every Firm has its own policies and every scenario might request a different approach.


这篇关于如何将本地代码移动到生产生产服务器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆