使用SL api createSnapshot of Endurance存储比通过门户网站获取手动快照需要更长的时间吗?(Takes longer to use SL api createSnapsh

编程入门 行业动态 更新时间:2024-10-27 05:23:35
使用SL api createSnapshot of Endurance存储比通过门户网站获取手动快照需要更长的时间吗?(Takes longer to use SL api createSnapshot of Endurance storage than does taking a manual snapshot via web portal?)

我在用着

iscsi_mgr = SoftLayer.ISCSIManager(SL.instance(sl_config).client) iscsi_id = helpers.resolve_id(iscsi_mgr.resolve_ids, iscsi_identifier,'iSCSI') iscsi = SL.instance(sl_config).client['Network_Storage_Iscsi'] snapshots = iscsi.createSnapshot(id=iscsi_id)

然后我旋转并等待拍摄的快照数量比以前大1(因为createSnapshot是异步操作)我在使用getManualSnapshots返回所有快照的列表。

我注意到,在使用API​​时,无论快照之间的数据量是多少,我都会在15到60分钟内完成此过程。 同时,门户网站明显更快。 使用这种方式的SL API和通过门户网站进行的操作有什么区别? 有什么我缺少的快照随时可用吗?

谢谢

I'm using

iscsi_mgr = SoftLayer.ISCSIManager(SL.instance(sl_config).client) iscsi_id = helpers.resolve_id(iscsi_mgr.resolve_ids, iscsi_identifier,'iSCSI') iscsi = SL.instance(sl_config).client['Network_Storage_Iscsi'] snapshots = iscsi.createSnapshot(id=iscsi_id)

I then spin and wait for the number of snapshots taken to become 1 larger than before ( since createSnapshot is an async operation ) There I'm using getManualSnapshots to return the list of all snapshots.

I've noticed that when using the API I am seeing take anywhere from 15 to 60 minutes to complete this procedure, regardless of the amount of data changed in between snapshots. Meanwhile the web portal is noticeably faster. What is the difference between the use of the SL API this way and what is going on via web portal? Is there something I am missing to have the snapshot readily available?

Thanks

最满意答案

门户使用此方法: http : //sldn.softlayer.com/reference/services/SoftLayer_Network_Storage/createSnapshot

您可以尝试更改正在使用的服务,看看是否有任何区别:

iscsi = SL.instance(sl_config).client['Network_Storage'] snapshots = iscsi.createSnapshot(id=iscsi_id)

问候

The portal uses this method: http://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage/createSnapshot

You could try changing the service that your are using and see if there is any difference:

iscsi = SL.instance(sl_config).client['Network_Storage'] snapshots = iscsi.createSnapshot(id=iscsi_id)

Regards

更多推荐

本文发布于:2023-07-29 15:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1317561.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:快照   门户网站   更长   时间   SL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!