The document discusses different Docker networking drivers including null, host, bridge, overlay, and macvlan/ipvlan networks. It provides examples of creating networks with each driver and how containers on different networks will connect and obtain IPs. Specifically, it shows how the bridge driver sets up a private Docker bridge network (docker0 by default) and how overlay networks use VXLAN tunnels to connect containers across multiple Docker daemons.
Formation complète ici:
http://www.alphorm.com/tutoriel/formation-en-ligne-red-hat-rh124
Redhat est le premier distributeur de du système d’exploitation GNU/Linux.
Red Hat Enterprise Linux est la solution Linux la plus utilisée dans les entreprises et les constructeurs et éditeurs majeurs recommandent Red Hat pour leurs produits.
Nous allons durant cette première formation du cursus Red HatCertified System Administration RHCSA, vous donner toutes les clés pour apprendre, comprendre et administrer un système RHEL 7.
Vous allez découvrir comment :Installer RHEL 7, Gérer le démarrage et les services, Partitionner et créer des systèmes de fichiers sur vos disques, Utiliser avec efficacité le Shell Bash, Installer des logiciels et gérer des dépôts logiciels, Administrer les applications, Gérer les utilisateurs et les groupes, Maîtriser l’exploitation des journaux, Connecter votre système aux réseaux TCP/IP, Déployer des machines virtuelles avec KVM et Libvirt.
Comme à son habitude, Ludovic partagera avec vous toutes les astuces et bonnes pratiques avec plein de travaux pratiques.
[Open Infrastructure & Cloud Native Days Korea 2019]
커뮤니티 버전의 OpenStack 과 Ceph를 활용하여 대고객서비스를 구축한 사례를 공유합니다. 유연성을 확보한 기업용 클라우드 서비스 구축 사례와 높은 수준의 보안을 요구하는 거래소 서비스를 구축, 운영한 사례를 소개합니다. 또한 이 프로젝트에 사용된 기술 스택 및 장애 해결사례와 최적화 방안을 소개합니다. 오픈스택은 역시 오픈소스컨설팅입니다.
#openstack #ceph #openinfraday #cloudnative #opensourceconsulting
The document discusses different Docker networking drivers including null, host, bridge, overlay, and macvlan/ipvlan networks. It provides examples of creating networks with each driver and how containers on different networks will connect and obtain IPs. Specifically, it shows how the bridge driver sets up a private Docker bridge network (docker0 by default) and how overlay networks use VXLAN tunnels to connect containers across multiple Docker daemons.
Formation complète ici:
http://www.alphorm.com/tutoriel/formation-en-ligne-red-hat-rh124
Redhat est le premier distributeur de du système d’exploitation GNU/Linux.
Red Hat Enterprise Linux est la solution Linux la plus utilisée dans les entreprises et les constructeurs et éditeurs majeurs recommandent Red Hat pour leurs produits.
Nous allons durant cette première formation du cursus Red HatCertified System Administration RHCSA, vous donner toutes les clés pour apprendre, comprendre et administrer un système RHEL 7.
Vous allez découvrir comment :Installer RHEL 7, Gérer le démarrage et les services, Partitionner et créer des systèmes de fichiers sur vos disques, Utiliser avec efficacité le Shell Bash, Installer des logiciels et gérer des dépôts logiciels, Administrer les applications, Gérer les utilisateurs et les groupes, Maîtriser l’exploitation des journaux, Connecter votre système aux réseaux TCP/IP, Déployer des machines virtuelles avec KVM et Libvirt.
Comme à son habitude, Ludovic partagera avec vous toutes les astuces et bonnes pratiques avec plein de travaux pratiques.
[Open Infrastructure & Cloud Native Days Korea 2019]
커뮤니티 버전의 OpenStack 과 Ceph를 활용하여 대고객서비스를 구축한 사례를 공유합니다. 유연성을 확보한 기업용 클라우드 서비스 구축 사례와 높은 수준의 보안을 요구하는 거래소 서비스를 구축, 운영한 사례를 소개합니다. 또한 이 프로젝트에 사용된 기술 스택 및 장애 해결사례와 최적화 방안을 소개합니다. 오픈스택은 역시 오픈소스컨설팅입니다.
#openstack #ceph #openinfraday #cloudnative #opensourceconsulting
Maîtrisez Ansible avec mon cours expert : automatisation, gestion système, et déploiement facile. Transformez votre infrastructure informatique dès aujourd'hui.
Présentation portant sur le système de virtualisation Docker.
Langue : Français.
Auteur : Colin LEVERGER, me@colinleverger.fr, merci de citer vos sources ;)
Sources : Wikipedia / Docker site officiel : https://www.docker.com/
Traditional virtualization technologies have been used by cloud infrastructure providers for many years in providing isolated environments for hosting applications. These technologies make use of full-blown operating system images for creating virtual machines (VMs). According to this architecture, each VM needs its own guest operating system to run application processes. More recently, with the introduction of the Docker project, the Linux Container (LXC) virtualization technology became popular and attracted the attention. Unlike VMs, containers do not need a dedicated guest operating system for providing OS-level isolation, rather they can provide the same level of isolation on top of a single operating system instance.
An enterprise application may need to run a server cluster to handle high request volumes. Running an entire server cluster on Docker containers, on a single Docker host could introduce the risk of single point of failure. Google started a project called Kubernetes to solve this problem. Kubernetes provides a cluster of Docker hosts for managing Docker containers in a clustered environment. It provides an API on top of Docker API for managing docker containers on multiple Docker hosts with many more features.
This document provides a high-level overview of Kubernetes in under 30 minutes. It begins with basic concepts like nodes, pods, replica sets, deployments, and services. It then covers additional concepts like secrets, config maps, ingress, daemon sets, pet sets/stateful sets and services. The document aims to explain the main components of Kubernetes and how they work together at a high level to deploy and manage container-based applications.
Gives a brief introduction of the emerging containerization technology, the difference in traditional VMs and Conatiners and the most popular one- Docker
Kubernetes: An Introduction to the Open Source Container Orchestration PlatformMichael O'Sullivan
Originally designed by Google, Kubernetes is now an open-source platform that is used for managing applications deployed as containers across multiple hosts - now hosted under the Cloud Native Computing Foundation. It provides features for automating deployment, scaling, and maintaining these applications. Hosts are organised into clusters, and applications are deployed into these clusters as containers. Kubernetes is compatible with several container engines, notably Docker. The popularity of Kubernetes continues to increase as a result of the feature-rich tooling when compared to use of a container-engine alone, and a number of Cloud-based hosted solutions are now available, such as Google Kubernetes Engine, Amazon Elastic Container Service for Kubernetes, and IBM Cloud Container Service.
This talk will provide an introduction to the Kubernetes platform, and a detailed view of the platform architecture from both the Control Plane and Worker-node perspectives. A walk-through demonstration will also be provided. Furthermore, two additional tools that support Kubernetes will be presented and demonstrated - Helm: a package manager solution which enables easy deployment of pre-built Kubernetes software using Helm Charts, and Istio: a platform in development that aims to simplify the management of micro-services deployed on the Kubernetes platform.
Speaker Bio:
Dr. Michael J. O'Sullivan is a Software Engineer working as part of the Cloud Foundation Services team for IBM Cloud Dedicated, in the IBM Cloud division in Cork. Michael has worked on both Delivery Pipeline/Deployment Automation and Performance Testing teams, which has resulted in daily exposure to customer deployments of IBM Cloud services such as the IBM Cloud Containers Service, and the IBM Cloud Logging and Metrics Services. Michael has also worked on deployment of these services to OpenStack and VMware platforms. Michael holds a PhD in Computer Science from University College Cork (2012 - 2015), where, under the supervision of Dr. Dan Grigoras, engaged in research of Mobile Cloud Computing (MCC) - specifically, studying and implementing solutions for delivering seamless user experiences of MCC applications and services. Prior to this, Michael graduated with a 1st Class Honours Degree in Computer Science from University College Cork in 2012.
This document compares Terraform and Pulumi infrastructure as code tools. It provides overviews of each tool, including what they are, how they work, and why to use them. For Terraform, it describes it as an IaC tool that defines cloud and on-premise resources in configuration files. For Pulumi, it notes it uses familiar programming languages for IaC. The document also compares key differences like syntax, testing, structuring large projects, and state file troubleshooting. It ends with best practices for both tools.
PROGRAMA-PADRÃO DE INSTRUÇÃO QUALIFICAÇÃO DO CABO E DO SOLDADO CORNETEIRO E C...Falcão Brasil
Este documento apresenta o Programa-Padrão de Instrução para a Qualificação de Cabos e Soldados Corneteiros e Clarim. O objetivo é capacitar os soldados para serem empregados na defesa externa, através de matérias comuns e peculiares que desenvolvam conhecimentos, habilidades e atitudes necessárias para o desempenho de suas funções. A instrução será ministrada individualmente e em grupamentos, considerando as especificidades dos cargos a serem ocupados.
- What is Kubernetes
- Why we need Kubernetes
- Demo how to deploy application on Kubernetes
Jirayut Nimsaeng
Founder & CEO
Opsta (Thailand) Co., Ltd.
Facebook Record: https://www.facebook.com/ThaiProgrammerSociety/videos/1908659749331066
Coder Live with Thai Programmer Association
June 6, 2022
The document provides an overview of the Linux kernel architecture and processes. It discusses key kernel concepts like the monolithic kernel design, system calls, loadable modules, virtual memory, and preemptive multitasking. It also covers kernel functions, layers, and context switching between processes. The CPU scheduler, multi-threading, inter-process communication techniques, and tunable kernel parameters are summarized as well.
Quantum provides network connectivity as a service for OpenStack clouds. It allows tenants to create multiple private networks with custom topologies and control IP addressing. Quantum uses a plugin architecture that supports different networking technologies like Open vSwitch, Cisco UCS, and Linux bridge. This provides choice and enables advanced network services. The Quantum API and plugins manage network connectivity independently of compute resources.
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes masters manage worker nodes, and pods which are the basic building blocks, containing one or more containers. It provides self-healing, horizontal pod autoscaling, service discovery, load balancing, configuration management.
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy S...NGINX, Inc.
In this hands-on demo and lab, we take you step-by-step through installing NGINX Unit on a Linux system, then configuring it as an app server, web server, and reverse proxy. Following a short review of production features and demo of the lab environment, we let you loose in a disposable lab environment to try NGINX Unit for yourself. During the lab, we’re available online to answer questions or demo anything you might be stuck on.
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...SlideTeam
Introducing An Architectural Deep Dive With Kubernetes And Containers PowerPoint Presentation Slides. Present the need for the containers in an organization with the help of a readily available PPT slideshow. Discuss container architecture, use cases details to make your presentation elaborative. Showcase the features, architecture, installation roadmap, and the 30-60-90 day plan in Kubernetes with the help of modern-designed PPT infographics. Familiarize your viewers with the various components of Kubernetes with the help of content-ready Kubernetes Docker PPT visuals. Make full use of high-quality icons to make your presentation attention-grabbing and meaningful. Compare and contrast Kubernetes with docker swarm based on various parameters with the help of this attention-grabbing PPT slideshow. Elaborate on Kubelet, Kubectl, and Kubeadm with the help of labeled diagrams. Showcase the networking model of Kubernetes, security measures, and the development process with this easy-to-use docker Architecture PowerPoint template. Therefore, hit the download button now to grab this amazing presentation. https://bit.ly/3vtLeFb
QEMU is an emulator that uses dynamic translation to emulate one instruction set architecture (ISA) on another host ISA. It translates guest instructions to an intermediate representation (TCG IR) code, and then compiles the IR code to native host instructions. QEMU employs techniques like translation block caching and chaining to improve the performance of dynamic translation. It also uses helper functions to offload complex operations during translation to improve efficiency.
OpenShift Virtualization allows running virtual machines as containers managed by Kubernetes. It uses KVM with QEMU and libvirt to run virtual machines inside containers. Virtual machines are scheduled and managed like pods through Kubernetes APIs and can access container networking and storage. Templates can be used to simplify virtual machine creation and configuration. Virtual machines can be imported, viewed, managed, and deleted through the OpenShift console and CLI like other Kubernetes resources. Metrics on virtual machine resources usage are also collected.
Achieving the ultimate performance with KVM ShapeBlue
This document summarizes an presentation about achieving ultimate performance with KVM. It discusses optimizing hardware, CPU, memory, networking, and storage for virtual machines. The goal is the lowest cost per delivered resource while meeting performance targets. Specific optimizations mentioned include CPU pinning, huge pages, SR-IOV networking, virtio drivers, and bypassing the host for storage. It cautions that many performance claims use unrealistic benchmarks and hardware configurations unlike real-world usage.
Vous avez un site Internet réalisé sous Joomla (version 3).
Vous devez créer, modifier, supprimer des contenus, le faire évoluer... Ceci est un guide de 33 pages pour l'administration régulière d'un site : de la connexion à la maintenance du site en passant par la gestion multi-utilisateurs et la création de contenus :
- L’administration (accès, principes de base)
- Gestion des utilisateurs (création, droits, niveaux)
- Ajout et modification du contenu (bases, catégories, articles)
- Insertion d’images dans un article (gestion, insertion, règles)
- Menus et liens de menus (navigation, liens, sous-menus)
- Gestion des articles en vedette (accueil)
- Modifier la page contact (composant contacts)
- Les extensions (modules, composants, plugins)
- La maintenance du site (sauvegarde, mises à jour)
- Glossaire
Ce document est conçu pour accompagner le gestionnaire d'un site sous Joomla peu ou pas personnalisé avec des extensions. Si vous souhaitez une version personnalisée, contactez-nous : contact@com3elles.com
Nous améliorons régulièrement ce document. N'hésitez pas à nous faire part de vos remarques.
Maîtrisez Ansible avec mon cours expert : automatisation, gestion système, et déploiement facile. Transformez votre infrastructure informatique dès aujourd'hui.
Présentation portant sur le système de virtualisation Docker.
Langue : Français.
Auteur : Colin LEVERGER, me@colinleverger.fr, merci de citer vos sources ;)
Sources : Wikipedia / Docker site officiel : https://www.docker.com/
Traditional virtualization technologies have been used by cloud infrastructure providers for many years in providing isolated environments for hosting applications. These technologies make use of full-blown operating system images for creating virtual machines (VMs). According to this architecture, each VM needs its own guest operating system to run application processes. More recently, with the introduction of the Docker project, the Linux Container (LXC) virtualization technology became popular and attracted the attention. Unlike VMs, containers do not need a dedicated guest operating system for providing OS-level isolation, rather they can provide the same level of isolation on top of a single operating system instance.
An enterprise application may need to run a server cluster to handle high request volumes. Running an entire server cluster on Docker containers, on a single Docker host could introduce the risk of single point of failure. Google started a project called Kubernetes to solve this problem. Kubernetes provides a cluster of Docker hosts for managing Docker containers in a clustered environment. It provides an API on top of Docker API for managing docker containers on multiple Docker hosts with many more features.
This document provides a high-level overview of Kubernetes in under 30 minutes. It begins with basic concepts like nodes, pods, replica sets, deployments, and services. It then covers additional concepts like secrets, config maps, ingress, daemon sets, pet sets/stateful sets and services. The document aims to explain the main components of Kubernetes and how they work together at a high level to deploy and manage container-based applications.
Gives a brief introduction of the emerging containerization technology, the difference in traditional VMs and Conatiners and the most popular one- Docker
Kubernetes: An Introduction to the Open Source Container Orchestration PlatformMichael O'Sullivan
Originally designed by Google, Kubernetes is now an open-source platform that is used for managing applications deployed as containers across multiple hosts - now hosted under the Cloud Native Computing Foundation. It provides features for automating deployment, scaling, and maintaining these applications. Hosts are organised into clusters, and applications are deployed into these clusters as containers. Kubernetes is compatible with several container engines, notably Docker. The popularity of Kubernetes continues to increase as a result of the feature-rich tooling when compared to use of a container-engine alone, and a number of Cloud-based hosted solutions are now available, such as Google Kubernetes Engine, Amazon Elastic Container Service for Kubernetes, and IBM Cloud Container Service.
This talk will provide an introduction to the Kubernetes platform, and a detailed view of the platform architecture from both the Control Plane and Worker-node perspectives. A walk-through demonstration will also be provided. Furthermore, two additional tools that support Kubernetes will be presented and demonstrated - Helm: a package manager solution which enables easy deployment of pre-built Kubernetes software using Helm Charts, and Istio: a platform in development that aims to simplify the management of micro-services deployed on the Kubernetes platform.
Speaker Bio:
Dr. Michael J. O'Sullivan is a Software Engineer working as part of the Cloud Foundation Services team for IBM Cloud Dedicated, in the IBM Cloud division in Cork. Michael has worked on both Delivery Pipeline/Deployment Automation and Performance Testing teams, which has resulted in daily exposure to customer deployments of IBM Cloud services such as the IBM Cloud Containers Service, and the IBM Cloud Logging and Metrics Services. Michael has also worked on deployment of these services to OpenStack and VMware platforms. Michael holds a PhD in Computer Science from University College Cork (2012 - 2015), where, under the supervision of Dr. Dan Grigoras, engaged in research of Mobile Cloud Computing (MCC) - specifically, studying and implementing solutions for delivering seamless user experiences of MCC applications and services. Prior to this, Michael graduated with a 1st Class Honours Degree in Computer Science from University College Cork in 2012.
This document compares Terraform and Pulumi infrastructure as code tools. It provides overviews of each tool, including what they are, how they work, and why to use them. For Terraform, it describes it as an IaC tool that defines cloud and on-premise resources in configuration files. For Pulumi, it notes it uses familiar programming languages for IaC. The document also compares key differences like syntax, testing, structuring large projects, and state file troubleshooting. It ends with best practices for both tools.
PROGRAMA-PADRÃO DE INSTRUÇÃO QUALIFICAÇÃO DO CABO E DO SOLDADO CORNETEIRO E C...Falcão Brasil
Este documento apresenta o Programa-Padrão de Instrução para a Qualificação de Cabos e Soldados Corneteiros e Clarim. O objetivo é capacitar os soldados para serem empregados na defesa externa, através de matérias comuns e peculiares que desenvolvam conhecimentos, habilidades e atitudes necessárias para o desempenho de suas funções. A instrução será ministrada individualmente e em grupamentos, considerando as especificidades dos cargos a serem ocupados.
- What is Kubernetes
- Why we need Kubernetes
- Demo how to deploy application on Kubernetes
Jirayut Nimsaeng
Founder & CEO
Opsta (Thailand) Co., Ltd.
Facebook Record: https://www.facebook.com/ThaiProgrammerSociety/videos/1908659749331066
Coder Live with Thai Programmer Association
June 6, 2022
The document provides an overview of the Linux kernel architecture and processes. It discusses key kernel concepts like the monolithic kernel design, system calls, loadable modules, virtual memory, and preemptive multitasking. It also covers kernel functions, layers, and context switching between processes. The CPU scheduler, multi-threading, inter-process communication techniques, and tunable kernel parameters are summarized as well.
Quantum provides network connectivity as a service for OpenStack clouds. It allows tenants to create multiple private networks with custom topologies and control IP addressing. Quantum uses a plugin architecture that supports different networking technologies like Open vSwitch, Cisco UCS, and Linux bridge. This provides choice and enables advanced network services. The Quantum API and plugins manage network connectivity independently of compute resources.
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes masters manage worker nodes, and pods which are the basic building blocks, containing one or more containers. It provides self-healing, horizontal pod autoscaling, service discovery, load balancing, configuration management.
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy S...NGINX, Inc.
In this hands-on demo and lab, we take you step-by-step through installing NGINX Unit on a Linux system, then configuring it as an app server, web server, and reverse proxy. Following a short review of production features and demo of the lab environment, we let you loose in a disposable lab environment to try NGINX Unit for yourself. During the lab, we’re available online to answer questions or demo anything you might be stuck on.
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...SlideTeam
Introducing An Architectural Deep Dive With Kubernetes And Containers PowerPoint Presentation Slides. Present the need for the containers in an organization with the help of a readily available PPT slideshow. Discuss container architecture, use cases details to make your presentation elaborative. Showcase the features, architecture, installation roadmap, and the 30-60-90 day plan in Kubernetes with the help of modern-designed PPT infographics. Familiarize your viewers with the various components of Kubernetes with the help of content-ready Kubernetes Docker PPT visuals. Make full use of high-quality icons to make your presentation attention-grabbing and meaningful. Compare and contrast Kubernetes with docker swarm based on various parameters with the help of this attention-grabbing PPT slideshow. Elaborate on Kubelet, Kubectl, and Kubeadm with the help of labeled diagrams. Showcase the networking model of Kubernetes, security measures, and the development process with this easy-to-use docker Architecture PowerPoint template. Therefore, hit the download button now to grab this amazing presentation. https://bit.ly/3vtLeFb
QEMU is an emulator that uses dynamic translation to emulate one instruction set architecture (ISA) on another host ISA. It translates guest instructions to an intermediate representation (TCG IR) code, and then compiles the IR code to native host instructions. QEMU employs techniques like translation block caching and chaining to improve the performance of dynamic translation. It also uses helper functions to offload complex operations during translation to improve efficiency.
OpenShift Virtualization allows running virtual machines as containers managed by Kubernetes. It uses KVM with QEMU and libvirt to run virtual machines inside containers. Virtual machines are scheduled and managed like pods through Kubernetes APIs and can access container networking and storage. Templates can be used to simplify virtual machine creation and configuration. Virtual machines can be imported, viewed, managed, and deleted through the OpenShift console and CLI like other Kubernetes resources. Metrics on virtual machine resources usage are also collected.
Achieving the ultimate performance with KVM ShapeBlue
This document summarizes an presentation about achieving ultimate performance with KVM. It discusses optimizing hardware, CPU, memory, networking, and storage for virtual machines. The goal is the lowest cost per delivered resource while meeting performance targets. Specific optimizations mentioned include CPU pinning, huge pages, SR-IOV networking, virtio drivers, and bypassing the host for storage. It cautions that many performance claims use unrealistic benchmarks and hardware configurations unlike real-world usage.
Vous avez un site Internet réalisé sous Joomla (version 3).
Vous devez créer, modifier, supprimer des contenus, le faire évoluer... Ceci est un guide de 33 pages pour l'administration régulière d'un site : de la connexion à la maintenance du site en passant par la gestion multi-utilisateurs et la création de contenus :
- L’administration (accès, principes de base)
- Gestion des utilisateurs (création, droits, niveaux)
- Ajout et modification du contenu (bases, catégories, articles)
- Insertion d’images dans un article (gestion, insertion, règles)
- Menus et liens de menus (navigation, liens, sous-menus)
- Gestion des articles en vedette (accueil)
- Modifier la page contact (composant contacts)
- Les extensions (modules, composants, plugins)
- La maintenance du site (sauvegarde, mises à jour)
- Glossaire
Ce document est conçu pour accompagner le gestionnaire d'un site sous Joomla peu ou pas personnalisé avec des extensions. Si vous souhaitez une version personnalisée, contactez-nous : contact@com3elles.com
Nous améliorons régulièrement ce document. N'hésitez pas à nous faire part de vos remarques.
The content of this document is translated by Google. If there are any errors, the original text will be used.
COPYRIGHT by ITZIK REICH AND TEAM
volumes.blog
VxRail 7.0.240 introduced Dynamic Node architecture which allows compute nodes to be deployed without local storage drives. Storage is provided by external arrays connected via Fibre Channel or using HCI Mesh. The document provides release notes on Dynamic Node support in subsequent VxRail releases, including protocols supported and integration with PowerStore, PowerMax, and Unity storage arrays. It also describes the differences in deployment process compared to standard VxRail clusters, such as not requiring vSAN licensing and using an external vCenter Server. The initial deployment is similar except certain settings like storage type and vCenter configuration must be customized.
The document provides instructions for shutting down a vSAN 7 cluster. It involves right clicking on the cluster in the vCenter interface and selecting shutdown cluster. This initiates a pre-check and prompts the user to enter a shutdown reason. It then monitors the status as the nodes transition to maintenance mode and power off, with the final status being all nodes in the cluster have powered off.
13. 貼上以下 [需自行修改 vcenter ip username / password]
import requests
import urllib3
from vmware.vapi.vsphere.client import create_vsphere_client
session = requests.session()
# Disable cert verification for demo purpose.
# This is not recommended in a production environment.
session.verify = False
# Disable the secure connection warning for demo purpose.
# This is not recommended in a production environment.
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
14. # Connect to a vCenter Server using username and password
vsphere_client = create_vsphere_client(server='192.168.100.101',
username='administrator@vsphere.local', password='P@ssw0rd', session=session)
# List all VMs inside the vCenter Server
vsphere_client.vcenter.VM.list()
vsphere_client.vcenter.VM.list() 會列出現行系統 VM 列表
15. 例:列出 VM FREENAS 資源狀態
client.vcenter.VM.list(client.vcenter.VM.FilterSpec(names={'FREENAS'}))
接著就依自行需要執行 python API
備註:
Python 程序副檔為.py 可以命令列方式行
Windows 環境變數 PATH 如果不在請自行手動加。
http://code.vmware.com/ > API Explorer https://developer.vmware.com/ 有完整
API