Groups
Groups
Sign in
Groups
Groups
日本OpenStackユーザ会
Conversations
About
Send feedback
Help
既存インスタンスをISOイメージでBootする方法
856 views
Skip to first unread message
tty kwsk
unread,
May 27, 2016, 8:13:35 PM
5/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本OpenStackユーザ会
度々失礼します。
情報がなかなか見つからず, Try&Errorも空振りばかりで質問させてください。
既存のWindowsインスタンスをCDブートしたいのですが, nova bootコマンドでisoイメージからインスタンスを起動するような方法はありますでしょうか。
新規にインスタンスを作成するのではなく, 既存のインスタンスをリカバリCDからブートするイメージです。
よろしくお願いします。
Akira Yoshiyama
unread,
May 27, 2016, 8:37:19 PM
5/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openstack-ja
よしやまです。おはようございます。
Nova のレスキューモードが使えるかも知れません。
$ nova rescue --rescue_image_ref <IMAGE_ID> <SERVER>
<IMAGE_ID>: Glance 上の ISO イメージの UUID
<SERVER>: 対象の Windows インスタンスの UUID または VM名
元に戻す際は unrescue します。
$ nova unrescue <SERVER>
参考:
http://docs.openstack.org/ja/user-guide/cli_reboot_an_instance.html
2016年5月28日 9:13 tty kwsk <
kwsk...@gmail.com
>:
> --
> このメールは Google グループのグループ「日本OpenStackユーザ会」に登録しているユーザーに送られています。
> このグループから退会し、グループからのメールの配信を停止するには
openstack-ja...@googlegroups.com
> にメールを送信してください。
> その他のオプションについては
https://groups.google.com/d/optout
にアクセスしてください。
--
吉山あきら <
akirayo...@gmail.com
>
tty kwsk
unread,
May 30, 2016, 7:05:20 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本OpenStackユーザ会
ありがとうございました。
レスキューモードでの起動ができました。
しかし,ISOのイメージにVirtIO等ドライバが入っていないため仮想ドライブを認識できずで目的を達成できずでした。
ISOに無理やりVirtIOのファイルを入れ込み,起動中にインストールしてしまおうと試みましたが,ISOカスタマイズしたものからは起動NG。
結局のところKVMなどで一度カスタマイズするという手順を踏まないとWindowsはダメなのかもしれないな・・・という状況でストップしました。
2016年5月28日土曜日 9時37分19秒 UTC+9 吉山あきら:
Tomokazu HIRAI
unread,
May 30, 2016, 7:19:03 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openst...@googlegroups.com
こんにちは。
virtio であれば glance を使って無効化できますよ。
% glance image-create --name="windows" <オプション適宜> <IMAGE_NAME>
% glance image-update --property hw_vif_model=e1000 <IMAGE_NAME>
% glance image-update --property hw_disk_bus=ide <IMAGE_NAME>
参考例を貼り付けておきます。
2016年5月30日 20:05 tty kwsk
<
kwsk...@gmail.com
>
:
tty kwsk
unread,
Jun 1, 2016, 9:26:24 AM
6/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本OpenStackユーザ会
ありがとうございます。
イメージの属性を変えて試してみましたが,結果はnon-bootable・・・となってしまいました。
なかなか思うようにいかずで四苦八苦しております。
が,もう少しあがいています。ありがとうございました。
2016年5月30日月曜日 20時19分03秒 UTC+9 jedipunkz:
Akira Yoshiyama
unread,
Jun 1, 2016, 10:06:37 AM
6/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openstack-ja
よしやまです。こんばんは。
CD-ROM ブートなので、glance image-update のオプションとして
--property hw_cdrom_bus=ide
が有効かも知れません。
参考:
https://access.redhat.com/documentation/ja-JP/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/End_User_Guide/cli_manage_images.html
2016年6月1日 22:26 tty kwsk <
kwsk...@gmail.com
>:
tty kwsk
unread,
Jun 6, 2016, 11:37:36 AM
6/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本OpenStackユーザ会
よしやまさん
ご返信ありがとうございます。
当該イメージの属性をupdateして
・nova bootで新規作成
・nova rescueでCD boot
のどちらも試してみましたが,いずれも失敗(no bootable device)でした。
ISOの作り方が問題なのかなぁ・・・なんて思ったりもしています。
2016年6月1日水曜日 23時06分37秒 UTC+9 吉山あきら:
tty kwsk
unread,
Jun 7, 2016, 7:03:28 PM
6/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 日本OpenStackユーザ会
すみません,やり方を間違えていたようです。
生のISOイメージの属性を
hw_cdrom_bus ide
hw_disk_bus ide
でイメージから起動してインストールまで出来ました。
この状態からVirtIOをインストールしてスナップショットからイメージへ登録へ進んでみます。
ありがとうございました。
2016年6月7日火曜日 0時37分36秒 UTC+9 tty kwsk:
Reply all
Reply to author
Forward
0 new messages