- 浏览: 1482915 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (691)
- linux (207)
- shell (33)
- java (42)
- 其他 (22)
- javascript (33)
- cloud (16)
- python (33)
- c (48)
- sql (12)
- 工具 (6)
- 缓存 (16)
- ubuntu (7)
- perl (3)
- lua (2)
- 超级有用 (2)
- 服务器 (2)
- mac (22)
- nginx (34)
- php (2)
- 内核 (2)
- gdb (13)
- ICTCLAS (2)
- mac android (0)
- unix (1)
- android (1)
- vim (1)
- epoll (1)
- ios (21)
- mysql (3)
- systemtap (1)
- 算法 (2)
- 汇编 (2)
- arm (3)
- 我的数据结构 (8)
- websocket (12)
- hadoop (5)
- thrift (2)
- hbase (1)
- graphviz (1)
- redis (1)
- raspberry (2)
- qemu (31)
- opencv (4)
- socket (1)
- opengl (1)
- ibeacons (1)
- emacs (6)
- openstack (24)
- docker (1)
- webrtc (11)
- angularjs (2)
- neutron (23)
- jslinux (18)
- 网络 (13)
- tap (9)
- tensorflow (8)
- nlu (4)
- asm.js (5)
- sip (3)
- xl2tp (5)
- conda (1)
- emscripten (6)
- ffmpeg (10)
- srt (1)
- wasm (5)
- bert (3)
- kaldi (4)
- 知识图谱 (1)
最新评论
-
wahahachuang8:
我喜欢代码简洁易读,服务稳定的推送服务,前段时间研究了一下go ...
websocket的helloworld -
q114687576:
http://www.blue-zero.com/WebSoc ...
websocket的helloworld -
zhaoyanzimm:
感谢您的分享,给我提供了很大的帮助,在使用过程中发现了一个问题 ...
nginx的helloworld模块的helloworld -
haoningabc:
leebyte 写道太NB了,期待早日用上Killinux!么 ...
qemu+emacs+gdb调试内核 -
leebyte:
太NB了,期待早日用上Killinux!
qemu+emacs+gdb调试内核
所有的安装都是yum
改配置
在keystone库中写service表
写endpoint表,作为api调用
有的建立个库
安装swift
注释:实际生产环境的话,此处的VG最好和上面的cinder使用的VG不同。自己另外创建一个VG
准备一个单独的逻辑卷或者磁盘,假设逻辑卷是/dev/vgstorage/lvswift
mkdir /mnt/sdb1
mount /dev/vgstorage/lvswift /mnt/sdb1
在keystone库的service表中加了一条数据
在endpoint表加了3条数据
---------------
设置rsync:
修改/etc/xinetd.d/rsync文件
disable = no
新建文件/etc/rsyncd.conf
新建文件/etc/rsyslog.d/10-swift.conf
修改/etc/rsyslog.conf配置文件,新加一行
$PrivDropToGroup adm
开始修改swift配置文件:
在/etc/swift/account-server目录下,新建四个配置文件1.conf,2.conf,3.conf,4.conf,这四个文件的内容如下:
-----------
在container-server目录下,新建四个文件1.conf,2.conf,3.conf,4.conf,四个文件的内容如下.
cd /etc/swift/container-server
-----------------
在object-server目录下,新建四个文件1.conf,2.conf,3.conf,4.conf,
cd /etc/swift/object-server
----------------
chmod 755 /root/remakering.sh
/root/remakering.sh
执行
----------------
权限
chown -R swift:swift /srv/
chown -R swift:swift /etc/swift
chown -R swift:swift /mnt/sdb1
启动
启动memcached
/etc/init.d/memcached start
chkconfig memcached on
• 启动swift (swift没有配置开机启动)
swift-init all start
开启swift的debug模式 (可选)
在proxy-server.conf 里的 [default]配置里面加上下面2行
log_facility = LOG_LOCAL1
log_level = DEBUG
启动后输出:
测试
新建container
swift post haocontainer
上传文件
swift upload haocontainer a.txt
查询一级目录
swift list
查询haocontainer目录下面的文件
swift list haocontainer
改配置
在keystone库中写service表
写endpoint表,作为api调用
有的建立个库
安装swift
yum install xfsprogs openstack-swift-proxy openstack-swift-object openstack-swift-container openstack-swift-account openstack-utils memcached
注释:实际生产环境的话,此处的VG最好和上面的cinder使用的VG不同。自己另外创建一个VG
准备一个单独的逻辑卷或者磁盘,假设逻辑卷是/dev/vgstorage/lvswift
[root@controller rhel65(keystone_admin)]# cd /dev/vgstorage/ [root@controller vgstorage(keystone_admin)]# ls volume-d6e1529f-633c-4e86-ad45-fc61734b950e [root@controller vgstorage(keystone_admin)]# lvcreate --size 5G --name lvswift vgstorage Logical volume "lvswift" created [root@controller vgstorage(keystone_admin)]# ls lvswift volume-d6e1529f-633c-4e86-ad45-fc61734b950e [root@controller vgstorage(keystone_admin)]# mkfs.xfs -f -i size=1024 /dev/vgstorage/lvswift meta-data=/dev/vgstorage/lvswift isize=1024 agcount=4, agsize=327680 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=1310720, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=2560, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 [root@controller vgstorage(keystone_admin)]#
mkdir /mnt/sdb1
mount /dev/vgstorage/lvswift /mnt/sdb1
vi /etc/fstab 加入 /dev/vgstorage/lvswift /mnt/sdb1 xfs defaults 0 0 mkdir /mnt/sdb1/1 /mnt/sdb1/2 /mnt/sdb1/3 /mnt/sdb1/4 for x in {1..4}; do ln -s /mnt/sdb1/$x /srv/$x; done mkdir -p /etc/swift/object-server /etc/swift/container-server /etc/swift/account-server /srv/1/node/sdb1 /srv/2/node/sdb2 /srv/3/node/sdb3 /srv/4/node/sdb4 /var/run/swift chown -R swift:swift /etc/swift/ /srv/ /var/run/swift/ /mnt/sdb1
keystone service-create --name swift --type object-store --description "Swift Storage Service hao" WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | description | Swift Storage Service hao | | id | dac813a9993c4743977a057c2f4b199e | | name | swift | | type | object-store | +-------------+----------------------------------+ [root@controller srv(keystone_admin)]# # keystone endpoint-create --service swift --publicurl "http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s" --adminurl "http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s" --internalurl "http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s" --region beijing WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+-------------------------------------------------+ | Property | Value | +-------------+-------------------------------------------------+ | adminurl | http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s | | id | 50cd09254c324fcc9ce04a4c16836007 | | internalurl | http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s | | publicurl | http://172.16.21.233:8080/v1/AUTH_%(tenant_id)s | | region | beijing | | service_id | dac813a9993c4743977a057c2f4b199e | +-------------+-------------------------------------------------+ [root@controller srv(keystone_admin)]#
在keystone库的service表中加了一条数据
在endpoint表加了3条数据
---------------
设置rsync:
修改/etc/xinetd.d/rsync文件
disable = no
新建文件/etc/rsyncd.conf
uid = swift gid = swift log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid address = 127.0.0.1 [account6012] max connections = 25 path = /srv/1/node/ read only = false lock file = /var/lock/account6012.lock [account6022] max connections = 25 path = /srv/2/node/ read only = false lock file = /var/lock/account6022.lock [account6032] max connections = 25 path = /srv/3/node/ read only = false lock file = /var/lock/account6032.lock [account6042] max connections = 25 path = /srv/4/node/ read only = false lock file = /var/lock/account6042.lock [container6011] max connections = 25 path = /srv/1/node/ read only = false lock file = /var/lock/container6011.lock [container6021] max connections = 25 path = /srv/2/node/ read only = false lock file = /var/lock/container6021.lock [container6031] max connections = 25 path = /srv/3/node/ read only = false lock file = /var/lock/container6031.lock [container6041] max connections = 25 path = /srv/4/node/ read only = false lock file = /var/lock/container6041.lock [object6010] max connections = 25 path = /srv/1/node/ read only = false lock file = /var/lock/object6010.lock [object6020] max connections = 25 path = /srv/2/node/ read only = false lock file = /var/lock/object6020.lock [object6030] max connections = 25 path = /srv/3/node/ read only = false lock file = /var/lock/object6030.lock [object6040] max connections = 25 path = /srv/4/node/ read only = false lock file = /var/lock/object6040.lock
新建文件/etc/rsyslog.d/10-swift.conf
# Uncomment the following to have a log containing all logs together #local1,local2,local3,local4,local5.* /var/log/swift/all.log # Uncomment the following to have hourly proxy logs for stats processing #$template HourlyProxyLog,"/var/log/swift/hourly/%$YEAR%%$MONTH%%$DAY%%$HOUR%" #local1.*;local1.!notice ?HourlyProxyLog local1.*;local1.!notice /var/log/swift/proxy.log local1.notice /var/log/swift/proxy.error local1.* ~ local2.*;local2.!notice /var/log/swift/storage1.log local2.notice /var/log/swift/storage1.error local2.* ~ local3.*;local3.!notice /var/log/swift/storage2.log local3.notice /var/log/swift/storage2.error local3.* ~ local4.*;local4.!notice /var/log/swift/storage3.log local4.notice /var/log/swift/storage3.error local4.* ~ local5.*;local5.!notice /var/log/swift/storage4.log local5.notice /var/log/swift/storage4.error local5.* ~
修改/etc/rsyslog.conf配置文件,新加一行
$PrivDropToGroup adm
重新启动rsyslog服务 mkdir -p /var/log/swift/hourly chmod -R g+w /var/log/swift service rsyslog restart • 备份一些配置文件 mkdir /etc/swift/bak mv /etc/swift/account-server.conf /etc/swift/bak mv /etc/swift/container-server.conf /etc/swift/bak mv /etc/swift/object-expirer.conf /etc/swift/bak mv /etc/swift/object-server.conf /etc/swift/bak
开始修改swift配置文件:
openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_tenant_name admin openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_user admin openstack-config --set /etc/swift/proxy-server.conf filter:authtoken admin_password openstack openstack-config --set /etc/swift/proxy-server.conf filter:authtoken auth_host 172.16.21.233 openstack-config --set /etc/swift/proxy-server.conf filter:keystone operator_roles admin,SwiftOperator,Member 设置一个随机值 openstack-config --set /etc/swift/swift.conf swift-hash swift_hash_path_suffix $(openssl rand -hex 10)
在/etc/swift/account-server目录下,新建四个配置文件1.conf,2.conf,3.conf,4.conf,这四个文件的内容如下:
[======account-server目录下的1.conf的内容========== [DEFAULT] devices = /srv/1/node mount_check = false disable_fallocate = true bind_port = 6012 user = swift log_facility = LOG_LOCAL2 recon_cache_path = /var/cache/swift eventlet_debug = true [pipeline:main] pipeline = recon account-server [app:account-server] use = egg:swift#account [filter:recon] use = egg:swift#recon [account-replicator] vm_test_mode = yes [account-auditor] [account-reaper] ======account-server目录下的2.conf的内容========= [DEFAULT] devices = /srv/2/node mount_check = false disable_fallocate = true bind_port = 6022 user = swift log_facility = LOG_LOCAL3 recon_cache_path = /var/cache/swift2 eventlet_debug = true [pipeline:main] pipeline = recon account-server [app:account-server] use = egg:swift#account [filter:recon] use = egg:swift#recon [account-replicator] vm_test_mode = yes [account-auditor] [account-reaper] ======account-server目录下的3.conf的内容=========== [DEFAULT] devices = /srv/3/node mount_check = false disable_fallocate = true bind_port = 6032 user = swift log_facility = LOG_LOCAL4 recon_cache_path = /var/cache/swift3 eventlet_debug = true [pipeline:main] pipeline = recon account-server [app:account-server] use = egg:swift#account [filter:recon] use = egg:swift#recon [account-replicator] vm_test_mode = yes [account-auditor] [account-reaper] ======account-server目录下的4.conf的内容=========== [DEFAULT] devices = /srv/4/node mount_check = false disable_fallocate = true bind_port = 6042 user = swift log_facility = LOG_LOCAL5 recon_cache_path = /var/cache/swift4 eventlet_debug = true [pipeline:main] pipeline = recon account-server [app:account-server] use = egg:swift#account [filter:recon] use = egg:swift#recon [account-replicator] vm_test_mode = yes [account-auditor] [account-reaper]
-----------
在container-server目录下,新建四个文件1.conf,2.conf,3.conf,4.conf,四个文件的内容如下.
cd /etc/swift/container-server
======container-server目录下的1.conf的内容=========== [DEFAULT] devices = /srv/1/node mount_check = false disable_fallocate = true bind_port = 6011 user = swift log_facility = LOG_LOCAL2 recon_cache_path = /var/cache/swift eventlet_debug = true [pipeline:main] pipeline = recon container-server [app:container-server] use = egg:swift#container [filter:recon] use = egg:swift#recon [container-replicator] vm_test_mode = yes [container-updater] [container-auditor] [container-sync] ======container-server目录下的2.conf的内容=========== [DEFAULT] devices = /srv/2/node mount_check = false disable_fallocate = true bind_port = 6021 user = swift log_facility = LOG_LOCAL3 recon_cache_path = /var/cache/swift2 eventlet_debug = true [pipeline:main] pipeline = recon container-server [app:container-server] use = egg:swift#container [filter:recon] use = egg:swift#recon [container-replicator] vm_test_mode = yes [container-updater] [container-auditor] [container-sync] ======container-server目录下的3.conf的内容=========== [DEFAULT] devices = /srv/3/node mount_check = false disable_fallocate = true bind_port = 6031 user = swift log_facility = LOG_LOCAL4 recon_cache_path = /var/cache/swift3 eventlet_debug = true [pipeline:main] pipeline = recon container-server [app:container-server] use = egg:swift#container [filter:recon] use = egg:swift#recon [container-replicator] vm_test_mode = yes [container-updater] [container-auditor] [container-sync] ======container-server目录下的4.conf的内容=========== [DEFAULT] devices = /srv/4/node mount_check = false disable_fallocate = true bind_port = 6041 user = swift log_facility = LOG_LOCAL5 recon_cache_path = /var/cache/swift4 eventlet_debug = true [pipeline:main] pipeline = recon container-server [app:container-server] use = egg:swift#container [filter:recon] use = egg:swift#recon [container-replicator] vm_test_mode = yes [container-updater] [container-auditor] [container-sync]
-----------------
在object-server目录下,新建四个文件1.conf,2.conf,3.conf,4.conf,
cd /etc/swift/object-server
======object-server目录下的1.conf的内容=========== [DEFAULT] devices = /srv/1/node mount_check = false disable_fallocate = true bind_port = 6010 user = swift log_facility = LOG_LOCAL2 recon_cache_path = /var/cache/swift eventlet_debug = true [pipeline:main] pipeline = recon object-server [app:object-server] use = egg:swift#object [filter:recon] use = egg:swift#recon [object-replicator] vm_test_mode = yes [object-updater] [object-auditor] ======object-server目录下的2.conf的内容=========== [DEFAULT] devices = /srv/2/node mount_check = false disable_fallocate = true bind_port = 6020 user = swift log_facility = LOG_LOCAL3 recon_cache_path = /var/cache/swift2 eventlet_debug = true [pipeline:main] pipeline = recon object-server [app:object-server] use = egg:swift#object [filter:recon] use = egg:swift#recon [object-replicator] vm_test_mode = yes [object-updater] [object-auditor] ======object-server目录下的3.conf的内容=========== [DEFAULT] devices = /srv/3/node mount_check = false disable_fallocate = true bind_port = 6030 user = swift log_facility = LOG_LOCAL4 recon_cache_path = /var/cache/swift3 eventlet_debug = true [pipeline:main] pipeline = recon object-server [app:object-server] use = egg:swift#object [filter:recon] use = egg:swift#recon [object-replicator] vm_test_mode = yes [object-updater] [object-auditor] ======object-server目录下的4.conf的内容=========== [DEFAULT] devices = /srv/4/node mount_check = false disable_fallocate = true bind_port = 6040 user = swift log_facility = LOG_LOCAL5 recon_cache_path = /var/cache/swift4 eventlet_debug = true [pipeline:main] pipeline = recon object-server [app:object-server] use = egg:swift#object [filter:recon] use = egg:swift#recon [object-replicator] vm_test_mode = yes [object-updater] [object-auditor]
----------------
#!/bin/bash cd /etc/swift rm -f *.builder *.ring.gz backups/*.builder backups/*.ring.gz swift-ring-builder object.builder create 10 3 1 haohao:???? swift-ring-builder object.builder add r1z1-172.16.21.233:6010/sdb1 1 swift-ring-builder object.builder add r1z2-172.16.21.233:6020/sdb2 1 swift-ring-builder object.builder add r1z3-172.16.21.233:6030/sdb3 1 swift-ring-builder object.builder add r1z4-172.16.21.233:6040/sdb4 1 swift-ring-builder object.builder rebalance swift-ring-builder container.builder create 10 3 1 swift-ring-builder container.builder add r1z1-172.16.21.233:6011/sdb1 1 swift-ring-builder container.builder add r1z2-172.16.21.233:6021/sdb2 1 swift-ring-builder container.builder add r1z3-172.16.21.233:6031/sdb3 1 swift-ring-builder container.builder add r1z4-172.16.21.233:6041/sdb4 1 swift-ring-builder container.builder rebalance swift-ring-builder account.builder create 10 3 1 swift-ring-builder account.builder add r1z1-172.16.21.233:6012/sdb1 1 swift-ring-builder account.builder add r1z2-172.16.21.233:6022/sdb2 1 swift-ring-builder account.builder add r1z3-172.16.21.233:6032/sdb3 1 swift-ring-builder account.builder add r1z4-172.16.21.233:6042/sdb4 1 swift-ring-builder account.builder rebalance
chmod 755 /root/remakering.sh
/root/remakering.sh
执行
[root@controller ~(keystone_admin)]# ./remakering.sh Device d0r1z1-172.16.21.233:6010R172.16.21.233:6010/sdb1_"" with 1.0 weight got id 0 Device d1r1z2-172.16.21.233:6020R172.16.21.233:6020/sdb2_"" with 1.0 weight got id 1 Device d2r1z3-172.16.21.233:6030R172.16.21.233:6030/sdb3_"" with 1.0 weight got id 2 Device d3r1z4-172.16.21.233:6040R172.16.21.233:6040/sdb4_"" with 1.0 weight got id 3 Reassigned 1024 (100.00%) partitions. Balance is now 0.00. Device d0r1z1-172.16.21.233:6011R172.16.21.233:6011/sdb1_"" with 1.0 weight got id 0 Device d1r1z2-172.16.21.233:6021R172.16.21.233:6021/sdb2_"" with 1.0 weight got id 1 Device d2r1z3-172.16.21.233:6031R172.16.21.233:6031/sdb3_"" with 1.0 weight got id 2 Device d3r1z4-172.16.21.233:6041R172.16.21.233:6041/sdb4_"" with 1.0 weight got id 3 Reassigned 1024 (100.00%) partitions. Balance is now 0.00. Device d0r1z1-172.16.21.233:6012R172.16.21.233:6012/sdb1_"" with 1.0 weight got id 0 Device d1r1z2-172.16.21.233:6022R172.16.21.233:6022/sdb2_"" with 1.0 weight got id 1 Device d2r1z3-172.16.21.233:6032R172.16.21.233:6032/sdb3_"" with 1.0 weight got id 2 Device d3r1z4-172.16.21.233:6042R172.16.21.233:6042/sdb4_"" with 1.0 weight got id 3 Reassigned 1024 (100.00%) partitions. Balance is now 0.00. [root@controller ~(keystone_admin)]#
----------------
权限
chown -R swift:swift /srv/
chown -R swift:swift /etc/swift
chown -R swift:swift /mnt/sdb1
启动
启动memcached
/etc/init.d/memcached start
chkconfig memcached on
• 启动swift (swift没有配置开机启动)
swift-init all start
开启swift的debug模式 (可选)
在proxy-server.conf 里的 [default]配置里面加上下面2行
log_facility = LOG_LOCAL1
log_level = DEBUG
启动后输出:
[root@controller ~(keystone_admin)]# swift-init all start Starting container-updater...(/etc/swift/container-server/1.conf) Starting container-updater...(/etc/swift/container-server/2.conf) Starting container-updater...(/etc/swift/container-server/3.conf) Starting container-updater...(/etc/swift/container-server/4.conf) Starting account-auditor...(/etc/swift/account-server/1.conf) Starting account-auditor...(/etc/swift/account-server/2.conf) Starting account-auditor...(/etc/swift/account-server/3.conf) Starting account-auditor...(/etc/swift/account-server/4.conf) Starting object-replicator...(/etc/swift/object-server/1.conf) Starting object-replicator...(/etc/swift/object-server/2.conf) Starting object-replicator...(/etc/swift/object-server/3.conf) Starting object-replicator...(/etc/swift/object-server/4.conf) Starting proxy-server...(/etc/swift/proxy-server.conf) Starting container-replicator...(/etc/swift/container-server/1.conf) Starting container-replicator...(/etc/swift/container-server/2.conf) Starting container-replicator...(/etc/swift/container-server/3.conf) Starting container-replicator...(/etc/swift/container-server/4.conf) Starting object-auditor...(/etc/swift/object-server/1.conf) Starting object-auditor...(/etc/swift/object-server/2.conf) Starting object-auditor...(/etc/swift/object-server/3.conf) Starting object-auditor...(/etc/swift/object-server/4.conf) Unable to locate config for object-expirer Starting container-auditor...(/etc/swift/container-server/1.conf) Starting container-auditor...(/etc/swift/container-server/2.conf) Starting container-auditor...(/etc/swift/container-server/3.conf) Starting container-auditor...(/etc/swift/container-server/4.conf) Starting container-server...(/etc/swift/container-server/1.conf) Starting container-server...(/etc/swift/container-server/2.conf) Starting container-server...(/etc/swift/container-server/3.conf) Starting container-server...(/etc/swift/container-server/4.conf) Starting account-server...(/etc/swift/account-server/1.conf) Starting account-server...(/etc/swift/account-server/2.conf) Starting account-server...(/etc/swift/account-server/3.conf) Starting account-server...(/etc/swift/account-server/4.conf) Starting account-reaper...(/etc/swift/account-server/1.conf) Starting account-reaper...(/etc/swift/account-server/2.conf) Starting account-reaper...(/etc/swift/account-server/3.conf) Starting account-reaper...(/etc/swift/account-server/4.conf) Starting container-sync...(/etc/swift/container-server/1.conf) Starting container-sync...(/etc/swift/container-server/2.conf) Starting container-sync...(/etc/swift/container-server/3.conf) Starting container-sync...(/etc/swift/container-server/4.conf) Starting account-replicator...(/etc/swift/account-server/1.conf) Starting account-replicator...(/etc/swift/account-server/2.conf) Starting account-replicator...(/etc/swift/account-server/3.conf) Starting account-replicator...(/etc/swift/account-server/4.conf) Starting object-updater...(/etc/swift/object-server/1.conf) Starting object-updater...(/etc/swift/object-server/2.conf) Starting object-updater...(/etc/swift/object-server/3.conf) Starting object-updater...(/etc/swift/object-server/4.conf) Starting object-server...(/etc/swift/object-server/1.conf) Starting object-server...(/etc/swift/object-server/2.conf) Starting object-server...(/etc/swift/object-server/3.conf) Starting object-server...(/etc/swift/object-server/4.conf)
测试
新建container
swift post haocontainer
上传文件
swift upload haocontainer a.txt
查询一级目录
swift list
查询haocontainer目录下面的文件
swift list haocontainer
[root@controller ~(keystone_admin)]# swift list haocontainer a.txt [root@controller ~(keystone_admin)]# swift list haocontainer
发表评论
-
xl2tp 备份
2019-09-24 16:25 7332019年9月24日更新: 注意,需要开启firewall ... -
sdl笔记
2019-01-31 17:19 741sdl教程教程 https://github.com/Twin ... -
tinyemu
2019-01-24 17:59 1441参考https://bellard.org/jslinux/t ... -
br0和tap0的互相影响
2019-01-02 19:17 820转载 http://www.cnblogs.com/wlei/ ... -
aws搭建xl2tp给iphone使用
2018-12-26 21:37 19022019年12月26日 可以参考原来的配置 https:// ... -
consul的基本使用
2017-06-27 11:13 1409### 安装 [centos7上consul的安装](ht ... -
lvs的helloworld
2017-06-13 20:36 601###################lvs######### ... -
M版openstack(ovs,dvr,动态迁移)
2017-06-09 10:30 1800主要内容 1.先搭建三个节点的环境,dvr模式 2.建一个vm ... -
M版本的openstack的例子(linuxbridge)
2017-05-23 15:05 561做两个节点控制节点和计算节点 mcontroller521 ... -
系统调用的helloworld
2017-05-04 16:14 660《2.6内核标准教程》 p293 #include < ... -
bitcoin和cgminer的安装
2017-04-05 22:45 1964参考 http://blog.csdn.net/rion_ch ... -
ceph安装和常用命令
2017-03-21 21:55 965/etc/hosts ssh-keygen ssh-copy- ... -
mobile terminal 笔记
2016-12-02 15:35 649找出旧的iphone4 越狱之后可以变个小操作系统 mobi ... -
openstack的topo图
2016-09-07 14:07 638http://haoningabc.iteye.com/blo ... -
openstack的M版本的neutron的实验
2016-09-01 20:00 3147试验步骤: 1.创建内部 ... -
openstack的M版本安装
2016-08-17 13:33 1065参考 http://docs.openstack.org/mi ... -
socket基础和select(python)
2016-06-14 17:21 1807上接 c语言的socket基础ht ... -
socket基础(c语言)
2016-06-14 16:45 1007不使用select 普通的基础socket连接,对多个客户端的 ... -
ffmpeg+nginx 的直播(2,直播摄像头和麦克风)
2016-05-28 20:21 4385假设我的服务器是centos7 192.168.139.117 ... -
ffmpeg+nginx 的直播(1,直播播放的视频文件)
2016-05-26 17:11 661964位操作系统centos7 ############ 1.一 ...
相关推荐
2. **安装依赖**:OpenStack依赖于一系列库和服务,例如Keystone(身份服务)、Nova(计算服务)、Neutron(网络服务)、Cinder(块存储服务)和Glance(镜像服务)。在每台服务器上安装这些组件的依赖项,如`...
OpenStack Swift 学习笔记 OpenStack Swift 是 OpenStack 开源云计算项目的子项目之一,旨在使用普通硬件来构建冗余的、可扩展的分布式对象存储集群,存储容量可达 PB 级。Swift 并不是文件系统或者实时的数据存储...
**四、OpenStack管理** OpenStack 提供了命令行工具(CLI)和Web界面(Horizon)进行资源管理。此外,还可以通过API与OpenStack进行交互,实现自动化运维和集成其他系统。 **五、OpenStack扩展和社区** OpenStack ...
OpenStack 是一个开源的...通过逐步安装、配置和操作OpenStack,可以深入掌握如何构建和管理自己的云环境。同时,不断关注OpenStack社区的最新发展,参与实践项目,将有助于不断提升对OpenStack的理解和应用能力。
#### 四、Nova深入解析 - **角色定位**:作为OpenStack云中的计算组织控制器,管理云中实例的生命周期。 - **关键技术**:使用内核级虚拟化技术(如KVM)和用户空间虚拟化技术(如QEMU)。 - **KVM**:基于内核的...
总结起来,OpenStack课程的笔记涵盖了云计算的定义、KVM虚拟化的原理,以及OpenStack的核心组件和它们的角色。对于想要深入理解和使用OpenStack的人来说,这些知识点构成了学习的基础,并且是进一步探索云计算领域的...
OpenStack支持多种存储后端,包括但不限于本地文件系统、GridFS、Ceph RBD、Amazon S3、Sheepdog、OpenStack Block Storage (Cinder)、OpenStack Object Storage (Swift)以及VMware ESX等。 ##### 1.4 创建Image的...
《CL210 RedHat-OpenStack超详细学习笔记》 OpenStack是一个开源的云计算平台,其中Glance组件是Image Service的核心,它负责管理和分发虚拟机镜像,以实现高效、灵活的云环境部署。在传统的IT环境中,安装和配置...
最后,课程进入实际操作阶段,指导学员逐步安装和配置OpenStack的各个组件,包括Keystone、Glance、Swift、Neutron、Nova和Dashboard。此外,还将通过命令行和Dashboard操作来实践OpenStack的使用。课程结束时,还会...
OpenStack的Cinder组件是专为云环境设计的块存储服务,它负责为虚拟机提供持久化的块存储设备。在OpenStack中,实例(虚拟机)的生命周期是短暂的,但通过Cinder,可以创建可挂载到多个实例的独立卷(volume),从而...
"《OpenStack高可用集群:原理与架构》读书笔记模板.pptx" 本书从OpenStack终端用户的角色出发,以面向生产系统的OpenStack高可用集群建设为主线,对部署OpenStack高可用集群所依赖的各个基础技术栈和OpenStack核心...
9 Openstack-swift 10 Openstack-glance 11 Openstack-neutron.mp4 12 Openstack-ceilometer 13 FusionCloud 6.3私有云解决方案 14 FusionCloud网络平面 15 FusionCloud私有云运营 16 FusionAccess虚拟机登录及故障...
2. **Swift - 存储服务**:提供高可用性的对象存储服务,适用于海量数据存储场景。 3. **Glance - 镜像服务**:负责镜像的存储、检索和管理,支持多种格式的镜像。 4. **Keystone - 身份验证服务**:提供统一的...
OpenStack云解决方案能够适应这些挑战,它提供了包括整体解决方案、大数据平台云方案、桌面云方案以及Swift存储云方案在内的多样化应用场景。OpenStack的整体解决方案可以构建一个弹性、可扩展的云计算平台,满足...
OpenStack Object Storage(Swift)则专注于持久性对象存储,适用于存储大量静态数据,如虚拟机映像、照片、电子邮件和备份档案。而 OpenStack Image Service(Glance)确保了镜像的高效分发和访问,是 OpenStack ...
【15】6-3openstack-swift 【16】7-1openstack-cinder 【17】7-2openstack-cinder 【18】7-3openstack-neutron 【19】8-1openstack-neutron 【20】8-2openstack-keystone 【21】8-3openstack-ceilmetor+...
本文档是关于 Fusion 虚拟化随堂笔记 9 的总结,涵盖了 OpenStack 的项目、计算服务 Nova、块存储服务 Cinder、镜像管理服务 Glance、对象存储服务 Swift、文件存储服务 Manila、网络服务 Neutron、认证鉴权服务 ...