当前位置:网站首页>openstack各种服务的管理
openstack各种服务的管理
2022-08-06 05:23:00 【cpf945】
后面没有*的是对应于usr/local/bin下的服务位置。
以neutron服务为例:
查看服务状态:systemctl status [email protected]
启动服务:systemctl status [email protected]
关闭服务:systemctl status [email protected]
scp [email protected]:/home/cpfer/Documents/local.conf ./
一、服务列表
[email protected]<----->neutron-server<----->neutron的服务
[email protected]<----->nova-scheduler
[email protected]<----->neutron-metadata-agent
[email protected] <----->*wsgi
[email protected]<----->glance-registry
[email protected]<-----> nova-conductor
[email protected]<----->nova-compute
[email protected]<----->nova-novncproxy
[email protected]<----->neutron-dhcp-agent
[email protected]<----->neutron-openvswitch-agent
[email protected]<----->nova-consoleauth
[email protected]<----->uwsgi
[email protected]<----->neutron-metering-agent
[email protected]<-----> */opt/stack/devstack/tools/dstat.sh
[email protected]<----->*uwsgi
[email protected]<----->neutron-l3-agent
[email protected]<-----> nova-conductor
[email protected]<----->
[email protected]<----->uwsgi
[email protected]<-----> */opt/stack/bin/etcd
[email protected]
,n-api ,n-cpu, n-cond, n-sch, n-novnc, n-cauth, n-api-meta,
placement-api, placement-client,
g-api ,g-reg,
c-sch, c-api, c-vol,
q-svc ,q-dhcp, q-meta, q-agt, q-l3 ,horizon,
rabbit,tempest,mysql,etcd3,dstat,taas,
openstack-cinder-scheduler
openstack-cinder-api
systemctl start [email protected]
systemctl start [email protected]
systemctl restart [email protected]
systemclt start [email protected]*
systemctl start [email protected]
systemctl start [email protected]
systemctl start [email protected]
systemctl start [email protected]
systemctl start [email protected]
二、服务相关内容:
当使用status查看服务的状态时,会有显示ExecStart。
neutron的显示如下。
ExecStart=/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini (code=exited, status=0/SUCCESS)
如果要用pdb调试neutron端的代码,可以拷贝这些路径(不包括后面括号的内容)
然后前面添加python -m pdb 运行即可。
如使用命令如下:
python -m pdb /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
边栏推荐
猜你喜欢
随机推荐
3.6 shellcode编码技术
5.6 XSS跨站脚本攻击
redis-(error) CLUSTERDOWN Hash slot not served
SNAT和DNAT
shell脚本一键部署dhcp服务(简单通俗易懂)图加注释详解
Yarn的总结
HAProxy 生产环境架构
MongoDB之$type操作符按照类型查询
GameFramework.DataTable 详解
【STM32HAL库】常用功能备忘
MiniFlow -- 9.简单理解反向传播
揭示OT安全四大挑战!Fortinet 发布《2022年全球运营技术和网络安全态势报告》
扫雷游戏分析实现(完整代码)
Unity3D 光照数据简介
3.2 定位shellcode
Visual Studio的调试bug
利用Metasploit控制目标电脑(Win7_x64系统)
单向环形链表之约瑟夫问题
numpy生成网格方法
网安大事件丨Fortinet对Apache Log4j漏洞利用的全面复盘与防御









