Posts

Showing posts with the label Openstack

Valorant requires a restart or loads slowly when entering the game. What can I do? I have an idea.

Valorant is a free first -person tactical shooting game developed by Riot Games, which combines the exact system of arms shooting and heroism. Players will be transformed into agents and will compete for target points using team collaboration, tactical layout and skills cooperation 5V5 offensive and defense stroke. The game has a low economic system and high competitiveness. Before each game start, buy weapons and armor according to tactical needs and use a combination of heroic skills to create the benefits of the battlefield. Its solid ballistic mechanism and map design require players for accurate purposes and tactical decision -making. At the same time, the rich character pool and skill combination give the game a strategic depth. If you have the problems you need to restart or slowly load while playing a "Varorant", try the following systematic solution: Network environment optimization is the main solution. Because valante servers can be introduced abroad, physical dist...

为 Openstack 创建 PXE 启动映像

  Openstack 不支持启动无盘 PXE 启动 VM,我们必须创建具有 PXE 启动功能的映像才能实现此目的。 1.创建一个小的空磁盘文件,创建dos文件系统。 dd if=/dev/zero of=pxeboot.img bs=1M count=4 mkdosfs pxeboot.img 2.让它可以通过syslinux引导 losetup /dev/loop0 pxeboot.img mount /dev/loop0 /mnt syslinux --install /dev/loop0 3.安装iPXE内核并制作系统.cfg在启动时加载它 wget http://boot.ipxe.org/ipxe.iso mount -o loop ipxe.iso /media cp /media/ipxe.krn /mnt cat > /mnt/syslinux.cfg <<EOF DEFAULT ipxe LABEL ipxe KERNEL ipxe.krn EOF umount /media/ umount /mnt 4.现在我们已经准备好了pxeboot.img,让我们注册它来一瞥 source nceprc glance image-create --name NG-AS --is-public true --disk-format raw --container-format bare < pxeboot.img

用于 Openstack Glance/Cinder/Instance-store 的 NFS 后端

在这篇文章中,让我们介绍如何将NFS配置为Openstack Glance,Cinder和共享实例存储的统一存储后端,我们还将看看它是如何工作的。 设置:1 个控制器和 2 个计算节点。控制器也充当 NFS 服务器。 OS+Openstack: RHEL7 + Juno 控制器: 192.168.255.1 HPDL36 计算: 192.168.255.2 HPDL37 计算: 192.168.255.3 HPDL38 在控制器服务器上设置 NFS 服务器 创建 3 个文件夹作为实例存储、概览和灰烬的共享源,授予足够的访问权限: mkdir /nfsshare; chmod 777 /nfsshare mkdir /nfsshare_glance; chmod 777 /nfsshare_glance mkdir /nfsshare_cinder; chmod 777 /nfsshare_cinder 创建 /etc/导出 /nfsshare   *(rw,no_root_squash) /nfsshare_cinder *(rw,no_root_squash) /nfsshare_glance *(rw,no_root_squash) 启动 NFS 服务器 systemctl start rpcbind systemctl start nfs systemctl start nfslock 设置 NFS 客户端 一目了然 将 NFS 共享挂载到控制器节点上,一目了然: mount HPDL36:/nfsshare_glance /var/lib/glance/images 新星实例存储 在 2 个计算节点上挂载 NFS 共享,用于共享实例存储 mount HPDL36:/nfsshare /var/lib/nova/instances 煤渣 煤渣卷服务将处理安装,我们不需要在这里进行手动安装。 设置开放堆栈 由于 Glance 和 Nova 将这些 NFS 挂载的文件夹用作本地文件系统,因此默认的 Openstack 配置将起作用。只有 Cinder 需要 NFS 后端的特殊配置: 将 NFS 共享条目创建到文件中 /etc/cinder/nfsshare HPDL36:/nfsshare_cinder 更改文件的所有权和访问权限:...

ML2/VXLAN 的工作原理

Image
我的设置: 1 个控制器节点 + 2 个计算节点 RDO Havana 2013.2.2, CentOS 6.5, OpenVSwitch 1.11.0 VXLAN 本地 IP: 控制器:10.142.255.101 计算-1:10.142.255.102 计算-2:10.142.255.103 1. 使用 ML2 设置 VXLAN 打包安装后,默认情况下不安装ML2,我们必须手动配置它。 在控制器节点上: yum install  openstack-neutron-ml2 python-pyudev 编辑 /etc/neutron/neutron.conf core_plugin =neutron.plugins.ml2.plugin.Ml2Plugin service_plugins=neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.loadbalancer.plugin.LoadBalancerPlugin 更改链接 plugin.ini unlink /etc/neutron/plugin.ini ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini 编辑 /etc/neutron/plugin.ini [ml2] type_drivers = vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch [ml2_type_flat] [ml2_type_vlan] [ml2_type_gre] [ml2_type_vxlan] vni_ranges = 1001:2000 vxlan_group = 239.1.1.1 [database] sql_connection = mysql://neutron:83105f1d6ded47cc@10.142.0.101/neutron_ml2 [securitygroup] firewall_driver = dummy_value_to_enable_security_groups...