![CyberScribe.org](/img/default-banner.jpg)
- Видео 83
- Просмотров 1 030 398
CyberScribe.org
Добавлен 20 май 2014
Rancher and Kubernetes: Adding a New Node to and Existing Cluster
In this video I show how to add an additional node to an existing cluster.
Note that my cluster is made of VMs.
From the Rancher menu (the hamburger icon at top left) go to Cluster Management.
Click on your cluster.
Click the 'Registration' tab and select the roles for your new node.
Copy that to your VM and let Rancher do the rest.
Note that my cluster is made of VMs.
From the Rancher menu (the hamburger icon at top left) go to Cluster Management.
Click on your cluster.
Click the 'Registration' tab and select the roles for your new node.
Copy that to your VM and let Rancher do the rest.
Просмотров: 8 872
Видео
Rancher and Kubernetes: Creating a new 3 node cluster
Просмотров 10 тыс.2 года назад
In this video I set up a new Kubernetes cluster in Rancher with 3 virtual machines. VMs: Ubuntu Server 20.04 LTS 4gb RAM 2 vCPU 50gb HDD Set up Rancher: rancher.com/quick-start/ With Docker installed (see commands below) run the following command to install Rancher: sudo docker run privileged -d restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher On VMs to be added to cluster, install Do...
Rancher and Kubernetes: Installing Rancher
Просмотров 2,4 тыс.2 года назад
In this video I will talk about Rancher, what it is and how it relates to Kubernetes. I also show how to set up Rancher for Kubernetes orchestration. Rancher quick start guide: rancher.com/quick-start/
Python Bytes: JSON Tutorial
Просмотров 2673 года назад
In this video I talk about working with JSON in Python. Json Docs: www.json.org/json-en.html Python Json Docs: docs.python.org/3/library/json.html The JSON library is used to Serialize and Deserialized JSON object to/from Python dictionaries. Serialize - convert / change into a format that can be stored and reconstructed later. JSON is part of the Python standard libarary, just 'import json'. D...
Ansible: Playbook to install MongoDB on three servers
Просмотров 3,6 тыс.3 года назад
In preparation for creating a three MongoDB node replica set, I'm installing the current version of MongoDB via a playbook. First I'll update each managed node. Then I'll import the MongoDB repository public key. After that I'll add the MongoDB respository and install MongoDB. Finally I'll set MongoDB to auto-start on each of the three nodes. - name: Download MongoDB repository and install Mong...
Ansible: Using Ansible Galaxy to extend functionality
Просмотров 5 тыс.3 года назад
In this video I'll be installing MongoDB via Ansible Galaxy collection. Ansible Galaxy is a repository of Ansible content which expands on what is available in Ansible. galaxy.ansible.com/ This includes roles, modules, and plugins. Roles: groupings of related content. Think of complex playbooks broken into separate files. docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html Mod...
Ansible Tower: Troubleshooting Github Inventory Integration
Просмотров 1,4 тыс.3 года назад
In this video I go through some issues I experienced as I added hosts to my Github-connected inventory file. Long story short, you might need to give it some time to synchronize (at least more than a minute). One other nice feature with Ansible Tower is that there are the green/red dots and clouds throughout Ansible Tower. Those are clickable and by doing so you can drill down into why a given ...
Ansible Tower: Scheduling Playbooks / Jobs
Просмотров 8 тыс.3 года назад
In this video I talk about how to schedule playbooks / jobs in Ansible Tower for recurring tasks such as backups and updates. With Ansible itself this could be done via Cron jobs: (for example, the entry below could be found in the crontab file) 5 11 * * * /usr/bin/ansible-playbook -i path-to-hosts-file playbook.yml See crontab.guru for scheduling nomenclature. Use Schedules in Ansible Tower. 1...
Ansible Tower: Manage Nodes as a Non-Root User
Просмотров 1,5 тыс.3 года назад
Ansible Tower: Manage Nodes as a Non-Root User In this video I set up a non-root user to manage nodes and escalate privileges via Sudo. 1) Add a user to your managed nodes ('ansible' user in this case) 1a) Create an Ansible hosts file with one server on each line (or IP): srv01 srv02 1b) Create a text file containing the password you want this user to have, on a single line. 1c) Create a shell ...
Python Bytes: List Comprehensions with Conditionals
Просмотров 863 года назад
Python Bytes Intermediate Python Topics List Comprehensions with Conditionals #A method of making lists from other values. #Defining a list and its contents at the same time. # new_list = [ item for item in iterable ] # new_list = [ item for item in iterable if conditional] #An 'iterable' is an object that contains other objects within it. #Lists, Dictionaries, Tuples, Sets, range(), and more. ...
Python Bytes: List Comprehensions Introduction
Просмотров 333 года назад
Python Bytes Intermediate Python Topics List Comprehensions Introduction #A method of making lists from other values. #Defining a list and its contents at the same time. # new_list = [ item for item in iterable ] #An 'iterable' is an object that contains other objects within it. #Lists, Dictionaries, Tuples, Sets, range(), and more. #You can work backwards from a loop to create the comprehensio...
Python Bytes: Conditional Variable Assignment
Просмотров 6583 года назад
Python Bytes Intermediate Python Topics Conditional Variable Assignment Topics beyond the basics of Python. Conditional statements in Python Handled with 'if' keyword. variable = value if the conditional is met otherwise set to this value If you have two environments, development and production: dev = "dev" prod = "prod" script_arg = "dev" if script_arg prod: db_env = prod else: db_env = dev db...
Ansible Tower: Github Inventory Integration
Просмотров 10 тыс.3 года назад
In this video I integrate an Ansible inventory with Github for better tracking and management of an Ansible hosts inventory. Previous video showing Github integration for playbooks: ruclips.net/video/IffmbIatwLk/видео.html 1) Create a 'hosts' file in the Github repository you want to use: [all] your-server-1 your-server-2 your-server-3 [category1] your-server-1 your-server-2 [category2] your-se...
Ansible Tower: Github Integration for Ansible Playbooks
Просмотров 15 тыс.3 года назад
Ansible Tower: Github integration for Ansible Playbooks In this video I show how to integrate playbooks into version control, specifically Github. Version Control in general allows you to track changes to a directory of files and folders over time, allowing multiple people to make changes, view others changes, merge changes together, and roll back if something goes wrong. Ansible Tower Version ...
Cockpit Introduction: Headless Server Management for Linux
Просмотров 2,3 тыс.3 года назад
In this video I introduce Cockpit, which is a server management tool available on many popular Linux distributions. cockpit-project.org/ Install Cockpit (if it's not already installed): sudo dnf install cockpit Enable Cockpit: sudo systemctl enable now cockpit.socket Cockpit additions / applications: Podman containers - RHEL Docker analog. Can pull images and run containers. (already installed ...
Ansible Tower: Introduction and install
Просмотров 22 тыс.3 года назад
Ansible Tower: Introduction and install
Ansible: Install and Run Playbook for Web Server and Database
Просмотров 7 тыс.3 года назад
Ansible: Install and Run Playbook for Web Server and Database
Introduction to Xen Virtualization - Xen Center
Просмотров 22 тыс.8 лет назад
Introduction to Xen Virtualization - Xen Center
How To Build a Virtualization Server for Less Than $350
Просмотров 4,1 тыс.8 лет назад
How To Build a Virtualization Server for Less Than $350
Pentesting / Security Lab Topology and Overview
Просмотров 2,1 тыс.8 лет назад
Pentesting / Security Lab Topology and Overview
SonicWALL: Upgrading Firmware and Keeping Current Settings
Просмотров 9 тыс.8 лет назад
SonicWALL: Upgrading Firmware and Keeping Current Settings
SonicWALL: Configuring a DHCP Server
Просмотров 15 тыс.8 лет назад
SonicWALL: Configuring a DHCP Server
SonicWALL: Registration and Basic Configuration
Просмотров 85 тыс.8 лет назад
SonicWALL: Registration and Basic Configuration
SonicWALL: How to Put into Safe Mode and Factory Default to New Firmware
Просмотров 20 тыс.8 лет назад
SonicWALL: How to Put into Safe Mode and Factory Default to New Firmware
Buffer Overflow Example, Information Security Basics
Просмотров 1,3 тыс.8 лет назад
Buffer Overflow Example, Information Security Basics
VMware Alternative: Using Xen Server for Virtualization
Просмотров 35 тыс.8 лет назад
VMware Alternative: Using Xen Server for Virtualization
Quick Samba Server Setup on CentOS 7
Просмотров 63 тыс.8 лет назад
Quick Samba Server Setup on CentOS 7
Cisco Terminal Server Logical Configuration Part 2
Просмотров 7 тыс.8 лет назад
Cisco Terminal Server Logical Configuration Part 2
thanks for your free presentation, BUT .. if possible (in future): please use a much larger, more noticeable, colored pointer/cursor, moved with a calm (!) hand to allow following more easily your thoughts.
Please help.I have an interview and I was given task to do . I've done most of it but I'm having issues with Rancher cause I'm to use it for my kubernetes deployments. So the problem is that I can't find the add nodes button on the UI
nice one ! Did you try to achive that using Terraform via Rancher as resource provider ?
Web Interfaces like this suck... plus you have to deal with off shore redhat's beyond lame support...
And don't forget to add firewall rules or disable firewalld on the controller node! Otherwise, the worker nodes will never come up.
👏
how did your project sync to git hub if you didnt even put any credentials in it ?
Good explanation, Thanks a lot !!
I just realized this video is 8 years old!! You are logging in as root via ssh which isn't recommended. On rhel you would have to modify the sshd_config file to even allow that behavior. Also 'ip -br a' is a much cleaner way to see all of your ip addresses: ip -brief address. I don't even have the root account enabled on the remote server I am trying to connect too, so I am hoping to avoid using root.
The reason you had to sync the project before the inventory is because you configured the inventory to rely on the project so there is a dependency... the sync button on the inventory will try to sync not directly with GitHub but with the version already pulled by the project.
The file should be called `inventory` not `hosts`
Not able to see in any playbook into drag down from playbook
1. If you are going to do anything with networks and have it look halfway decent you will need VRT tools. 2. The text on network objects is unusable. If you work with it or try to move it, it takes part of the icon with it. You need to add a text box and group them. 3. The only place you can add text to a connector is the mid point. 4. The default line width is zero, which affects connectors is well. This is light. It increments .02 at a time, but you can type in .01. It will not take 3 decimals such as .015. 5. It does print well and the scaling and fonts are are accurate. 6. There are very few stencils available for it and no way to import them from other sources such as Visio. To try it out, I replicated a Visio network diagram. It is not nearly as productive as Visio. It requires more steps and the default settings are not usable like they are in Visio. I'm don't know why they do that. LibreOffice Draw is not something a serious IT department could afford to use just like graphic designers can't afford to use something other than Photoshop and related tools. LibreOffice Draw is for situations where it is seldom used and widely distributed. Visio's issue is it is tied to the Office version and has OS dependency issues, thus Visio isn't a one-time purchase. LibreOffice Draw is open source which makes it trustworthy. SmartDraw pricing doesn't make sense relative to Visio, and eDrawMax is funding a terrorist country. Draw_IO has issues with scaling and printing to where it only works nice on-screen. I will be giving LibreOffice a healthy donation.
This hopefully will align some people's expectations if they have used Visio for network diagramming and looking at Draw as an alternate. LibreOffice Write and Calc are fine replacements for Word and Excel, Thunderbird is superior in important ways to Outlook, and Draw could be productive if you are doing org charts and flow charts. However, Draw doesn't work with intelligent objects like you have with Visio. Draw is cripplingly unproductive with the way it handles text with images. The text writes on the image, which is seldom desirable with network equipment. If you bring a Visio drawing into Draw, it looks like from within Visio, but it actually broke the image and text boxes apart so it is not usable as an alternate editing tool for Visio drawings. If you've never used Visio, it would be logical and you would not notice the extreme inefficiency, like someone who has only ridden horses and cars and airplanes are not something they can imagine. Draw is incredibly inflexible. Visio is in no danger whatsoever of experiencing reduced sales because of Draw. If the element you selected cannot do what you want it to do, it is unlikely that you will get it to do what you want it to. There are properties you can change but that doesn't mean you changes will have any effect. There is a narrow band of properties of those shown that will have any effect on the selected object with no indication of which properties effect which objects. Draw, from an over all usability perspective, is nowhere near on par with the other elements of the LibreOffice suite.
Saved my day, thanks!
Is it really a good idea to run this? all of ranche'rs components need to be priviledged...
Thanks man, is there a trick to syncing an inventory file that also have secret and vault files? it keeps failing with error: "ERROR! Attempting to decrypt but no vault secrets found.
How can i schedule with vault password
where is authentication and mongod.conf???
where is cluster ?
Thanks for this! I got stuck on the RAM requirement, so this was super helpful. :)
Where are the future videos? 🤔
Loved it !
How can I integrate ip addresses too ??
valuable
Is it possible to schedule 3 times a day?
Thanks much 😇 you have covered all my doubt.
ESXi is platform based, you have to do your homework for ESXi to work out of the box. Example, I have to use ESXi 5.1.0 for a HP ProLiant ML350 g6.
Hi I need help, I install the Ansible on redhat 8 and I facing the issue
TASK [Select the first eliglible host for CA group] **************************** fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: No first item, sequence was empty. The error appears to be in '/root/ansible-automation-platform-setup-bundle-2.2.0-7/collections/ansible_collections/ansible/automation_platform_installer/playbooks/install.yml': line 189, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: 'Select the first eliglible host for CA group' ^ here "}
there is no registration tab at my rancher v2.6.5!
at my too
Maybe it's Imported cluster?
@@andrusaren8348 maybe it was
did you find add node or register i am using V2.6.9 :( i want to add the node.)
Are you using RKE2 or RKE1. The example in the video is RKE1 which uses docker to deploy rancher agent, etc.
This video could've so much better if he didn't talk too much.
pretty good. Thanks. It helped me.
how to migration node master to a new node master on rancher sir?
"Playbook to install MongoDB on three servers" why you did not named this video "Playbook to install MongoDB on thousand servers" !? same shit. Three servers install meaning that you install one logical instance of mongo between three servers
That was wayyyy too inconcise. It is more a diary entry than a tutorial.. sry..
i need this to know the differents emplacement of machines thanks you
hello i can see the architecture please
good work budy ! simple and nice explanation which is interesting 🙂
one issue I have. how to find which port tower is running, I have followed the same that what you did ?
terrible ...
quick question, what would i put for the main ip address? the one next to the subnet?
good
Can your inventory be a directory in your repo?
Can you pass serial traffic over a Cisco Area Network? Or would I need a serial terminal in each area?
thanks man. is there a way to import inventory file from scm while some files are vault encrypted..I do have the encryption password.
Where did you install rancher? on master or worker?
on master
Fiber Mall is a one-stop supplier of professional optical communication products. It provides professional consultation, solution design, one-stop product supply, and technical support services for our customers.
thanks, couldn't find the "Sources" tab!
Oh wow you are awesome and your videos are over the top thank you for taking the time to educate as well as intertane . please keep up the great work and looking forward to the nevt video
Hello, great video it is quite useful, but I have a serious problem. I need to lunch a playbook that will do security updates on more than 100 linux servers with all different passwords, that's were it gets tricky : I do not want to interact with anything once I started the job. I've been looking into this for many days now but can seem to find anything. Hope you might have some clues to my dilemma.
That is exactly the point of having the same user on all of those servers with the same password.
inventory should have ansible_ssh_pass=PASSWD beside each host.
Ansible tower is not free
Thanks a bunch for this series! Hopefully you'll upload other ones for the same series! (workload, load balancing, ..). Keep up the good work!