Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kasini3000 #137

Open
kasini3000 opened this issue Nov 4, 2021 · 0 comments
Open

add kasini3000 #137

kasini3000 opened this issue Nov 4, 2021 · 0 comments

Comments

@kasini3000
Copy link

kasini3000 commented Nov 4, 2021

on redeme.md

  • kasini3000 win,linux devops automation batch script framework.(It is similar to ansible) ,Welcome to help translate the project to English.

  • kasini3000_agent_linux Shell script,one click install powershell on linux,modify sshd_config for PsRemote.

Detailed introduction:

Open source, free, cross-platform powershell Batch, Parallel, automation tools, specially developed for the shortcomings of ANSIBLE

Project homepage:
https://gitee.com/chuanjiao10/kasini3000

English:
https://github.com/kasini3000/kasini3000

one-click install powershell agent to linux node:
https://gitee.com/chuanjiao10/kasini3000_agent_linux

English manual:
https://gitee.com/chuanjiao10/kasini3000/blob/master/docs/kasini3000_manual.xlsx

Main script dependencies 【nodelist.csv】 And 【powerShell agent】.but,
manual ---》independent command: not need 【nodelist.csv】,
These stand-alone scripts need ip,port,user,pwd …

Multi-process: k-commit.ps1
Multithreading: k-commit-rs.ps1

need winscp module,without install pwsh on linux node script:
k_copyfrom_ip_port_winscp2bash_user_pwd.ps1
k_copyto_ip_port_winscp2bash_user_pwd.ps1
k_run_ip_port_winscp2bash_user_pwd.ps1

Features:
 Open source ,free,100% compatible shell, Perl, PY in linux and other scripts and transfer values. 100% compatible BAT, VBS, PY in win, and transferring values. It is 100% compatible with all scripts on various platforms.
 Cross platform: main control computer, node computer program, support x64 and ARM CPU architecture. It can be installed on win, centos7, centos8, Amazon Linux 2, Kirin V10 advanced server version x86-64 (tercel), Tongxin UOS server version 2020, Ubuntu 1404 -- Ubuntu 2004, Debian 8 -- Debian 10, alpine 3.8 -- Alpine 3.12, MAC, raspberry pie, Android mobile phone and tablet. The main control program can be used in windows and Linux at the same time. Support multiple master computers to use at the same time.
 The win ,linux node is managed through POWERSHELL language, and winrm protocol (win default). The Linux node is managed by SSH protocol.
 The host computer supports the management of multiple public and private clouds at the same time. Support azure, AWS, VMware, alicloud, Tencent cloud, etc.
 [master]- to [node] remote transfer of [object level] parameters and values. Multi script common object level variables. Object level variables are passed between pipelines. Script parameter value writing, 10 times simpler than shell.
 $file_objects = krun {get-childitem -path / tmp}
 $file_objects | where object{$_.lastwritetime.day -eq (get-date).day }
 #In the properties of these objects, filter out the file whose write date is today and display it.
 parsing yaml file into powershell hash table object , then read and write, transfer value. Instead of strings.
 Copy folder & files between master and node, Support win2win. Linux2linux。 And win2Linux. Support Mac. Raspberry pie.
 Based on the task plan of the master, the trigger supports a cycle of 65 minutes at the level of 10 seconds. Task planning supports dual high availability.
 High development efficiency! Support in win by vscode + SSH module remote development, remote debugging, single step, breakpoint, execute the mouse selected code.
 It can be used with ZABBIX and Jenkins.
 It is easy to penetrate fortress machine and node. Single script + single language, it's easy to transfer code block from machine a to machine B, and then to machine C.
 Win master: it has the functions of graphic display of task results; sound alarm; video alarm; voice reading [Chinese and English text] alarm; desktop background picture alarm; win terminal background picture alarm; email; enterprise wechat sending pictures, text; pin information.
 Parallel: 99 concurrent processes by default, and the number of concurrent processes can be adjusted. Multithreading has 50 concurrent threads per process by default, and there is no limit on the number of processes. Thread level = Super 2000 = large scale concurrency. Has a custom timeout.
 Support custom sshd port. Support [automatically send SSH password] and [SSH keyfile] to log in to the controlled machine. Support ordinary account login, and then automatically send sudo password.

There are no disadvantages of yaml based running tools as follows:
 1 yaml has space and indentation problems. This project does not. It also supports Chinese script name, Chinese parameter name, parameter value, etc.
 2 keyword is not compatible. Ansible, Alibaba cloud's operation and maintenance tool cloud assistant and Tencent cloud's blue whale all use yaml, but the keywords between them are not compatible.
 Script call script,Three sets of scripts are as easy as drinking water. Yaml is difficult to nested yaml.
 4 for is the most commonly used function of shell script. Since ansible came, it has replaced for with yaml keyword definition and jinjia2. It can be said that for's leg has been discounted. The 3-tier for cycle is hard for the ansible expert.
 5 pipeline value transfer, such as "script 1 written in a script language | script 1 written in B script language", which is difficult to achieve in yaml based language. Python objects, properties, methods, No. It's hard to deal with the object.

 6 If you want to encapsulate win and linux commands, you can only use various scripting languages. It is awkward to use yaml instead of a scripting language. Ansible is also committed to encapsulating win and linux commands into [second-hand ansible libraries with reduced parameters and functions], such as the rsync module, which is very bad, and it can even be said that it is an anti-linux command.

Tencent im QQ group: 700816263
qq international english pc:
https://dldir1.qq.com/qqfile/QQIntl/QQi_PC/QQIntl2.11.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant