How to Rescue My Virtual Machine ?
English Translate by Excite -シングルユーザモードで XEN Domain-U を起動する- Para Virtual された仮想化システムのシングルユーザモード起動の方法も記述があります。 How to boot up in single user mode or other run levels -XEN 仮想化システムを Rescue モードで起動する- Dom-U を rescue CD でブートする方法などの XEN Domain-u の復旧方法が書かれています。 XEN: How to boot SLES para-virtual DomU's into the Rescue System for disaster recovery まず、起動CD/DVDから /boot/i386/vmlinuz-xen /boot/i386/initrd-xen の二つのファイルを /etc/xen/rescue-sles10 などのフォルダを作ってコピーします。 /etc/xen/vm/MyVm ファイルのコピーを rescue-sles10 などの名前にコピーします。 コピーした rescure-sles10 を編集します。 ------ list ここから ------ name="rescue-sles10" <-----name を変えます #uuid="a5c2ead2-0369-44f0-6e9d-3ee41e09b657" <-----uuid をコメントアウト memory=2048 vcpus=2 # ---- ここから追加部分----- # kernel="/etc/xen/rescue-sles10/vmlinuz-xen" ramdisk="/etc/xen/rescue-sles10/initrd-xen" extra=" install=hd:xvdh rescue=1 xencons=tty" #---- ここまで----- on_poweroff="destroy" on_reboot="restart" on_crash="destroy" localtime=0 builder="linux" bootloader="/usr/lib/xen/boot/domUloader.py" bootargs="--entry=xvda2:/boot/vmlinuz-xen,/boot/initrd-xen" extra=" " disk=[ 'file:/var/lib/xen/images/oes2lx1/oes2lx1.disk0,xvda,w', 'file:/var/lib/xen/images/oes2lx1/oes2lx1.disk1,xvdb,w', 'file:/MyISO/SLED10sp2/SLED-10-SP2-x86-DVD1.iso,xvdc,w' ] <---- ISOファイルの場所を指定します。 vif=[ 'mac=00:16:3e:ae:ae:ae', ] vfb=['type=vnc,vncunused=1'] ------ list ここまで ------ この状態で保存し、rescure します。 # xm create -c rescue-sles10 <---- rescue vmファイルを指定して xm create します。 Using config file "./rescue-sles10". Started domain rescue-sles10 Bootdata ok (command line is ) Linux version 2.6.16.46-0.12-xen (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 SMP Thu May 17 14:00:09 UTC 2007 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000080800000 (usable) No mptable found. Built 1 zonelists Kernel command line: Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) Xen reported: 2009.112 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) Software IO TLB disabled Memory: 2042112k/2105344k available (1902k kernel code, 54420k reserved, 798k data, 160k init) Calibrating delay using timer specific routine.. 5024.54 BogoMIPS (lpj=10049082) Security Framework v1.0.0 initialized Mount-cache hash table entries: 256 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 512K (64 bytes/line) checking if image is initramfs... it is Freeing initrd memory: 7124k freed Brought up 1 CPUs migration_cost=0 DMI not present or invalid. Grant table initialized NET: Registered protocol family 16 Initializing CPU#1 migration_cost=402 Brought up 2 CPUs PCI: setting up Xen PCI frontend stub ACPI: Subsystem revision 20060127 ACPI: Interpreter disabled. xen_mem: Initialising balloon driver. PCI: System does not support PCI PCI: System does not support PCI IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ Setting mem allocation to 2097152 kiB audit: initializing netlink socket (disabled) audit(1234856375.251:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 i8042.c: No controller found. RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize xencons_init: Initializing xen vfb; pass xencons=tty to prevent this Xen virtual console successfully installed as xvc0 Event-channel device installed. Console: switching to colour frame buffer device 100x37 input: Xen Virtual Keyboard as /class/input/input0 input: Xen Virtual Pointer as /class/input/input1 mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input2 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 NET: Registered protocol family 2 IP route cache hash table entries: 131072 (order: 8, 1048576 bytes) TCP established hash table entries: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered NET: Registered protocol family 1 XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vbd/51728 XENBUS: Device with no driver: device/vbd/51744 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 netfront: Initialising virtual ethernet driver. netfront: device eth0 has copying receive path. Registering block device major 202 blkfront: xvda: barriers enabled xvda: xvda1 xvda2 blkfront: xvdb: barriers enabled xvdb: xvdb1 blkfront: xvdc: barriers enabled xvdc: unknown partition table ReiserFS: xvda2: found reiserfs format "3.6" with standard journal ReiserFS: xvda2: using ordered data mode reiserfs: using flush barriers ReiserFS: xvda2: journal params: device xvda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: xvda2: checking transaction log (xvda2) ReiserFS: xvda2: Using r5 hash to sort names Adding 787144k swap on /dev/xvda1. Priority:-1 extents:1 across:787144k md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. device-mapper: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com loop: loaded (max 64 devices) AppArmor: AppArmor (version 2.0-19.43r6320) initialized audit(1234856378.287:2): AppArmor (version 2.0-19.43r6320) initialized audit(1234856383.800:3): audit_pid=1774 old=0 by auid=4294967295 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver eth0: duplicate address detected! Welcome to SUSE Linux Enterprise Server 10 SP1 (x86_64) - Kernel 2.6.16.46-0.12-xen (xvc0). vmlx01 login: 無事 起動できました。 - key word -- SUSE SLES Linux XEN Virtual Machine Rescue CD Boot Single User Mode その他の情報はこちらから 非番のエンジニア
by islandcenter
| 2009-02-17 14:48
| XEN
|
Comments(3)
Thanks for the writing this! I’m new at this game so am trying to catch up.
0
I am looking forward to seeing more reports from it before. What you said was news to me, I′ll tell you.Thanks!
Thanks Your Comments. Arigatoo ! コメントありがとう。
|
by isLandcenter 記事ランキング
最新の記事
カテゴリ
全体
OES Linux Native Netware GroupWise Windows SUSE Novell ZENworks XEN Identity Management プライベートクラウド Windows 8 OES2 Linux/NetWare Windows 7 KVM MacOS 雑文 Linux Internet Windows11 Cloud システム管理 Apple Gadget 未分類 タグ
HowTo(230)
Linux(220) SUSE(190) システム管理(163) Windows(94) 仮想化(80) 比較(58) Windows10(46) Mac(39) Network(34) Windows11(31) 止める(22) Novell(20) zabbix(18) OES(16) IT ビジネス(16) Cloud(9) ZENworks(9) Squid(6) WSUS(5) 以前の記事
2025年 12月
2025年 11月 2025年 10月 2025年 09月 2025年 06月 2025年 05月 2025年 03月 2025年 02月 2025年 01月 2024年 12月 2024年 11月 2024年 10月 2024年 09月 2024年 05月 2024年 04月 2024年 03月 2024年 02月 2024年 01月 2023年 12月 2023年 11月 2023年 10月 2023年 09月 2023年 08月 2023年 07月 2023年 06月 2023年 05月 2023年 04月 2023年 03月 2023年 02月 2023年 01月 2022年 12月 2022年 11月 2022年 10月 2022年 09月 2022年 08月 2022年 07月 2022年 06月 2022年 05月 2022年 04月 2022年 03月 2022年 02月 2022年 01月 2021年 12月 2021年 11月 2021年 10月 2021年 09月 2021年 08月 2021年 07月 2021年 06月 2021年 05月 2021年 04月 2021年 03月 2021年 02月 2021年 01月 2020年 12月 2020年 11月 2020年 10月 2020年 09月 2020年 08月 2020年 07月 2020年 06月 2020年 05月 2020年 04月 2020年 02月 2020年 01月 2019年 12月 2019年 11月 2019年 10月 2019年 09月 2019年 08月 2019年 07月 2019年 06月 2019年 05月 2019年 04月 2019年 02月 2018年 12月 2018年 11月 2018年 10月 2018年 09月 2018年 08月 2018年 07月 2018年 06月 2018年 05月 2018年 04月 2018年 03月 2018年 01月 2017年 12月 2017年 11月 2017年 10月 2017年 09月 2017年 08月 2017年 07月 2017年 06月 2017年 05月 2017年 04月 2016年 10月 2016年 08月 2016年 07月 2016年 06月 2016年 05月 2016年 04月 2016年 03月 2016年 02月 2016年 01月 2015年 12月 2015年 11月 2015年 10月 2015年 08月 2015年 07月 2015年 06月 2015年 05月 2015年 04月 2015年 03月 2015年 02月 2015年 01月 2014年 12月 2014年 11月 2014年 10月 2014年 09月 2014年 08月 2014年 07月 2014年 06月 2014年 05月 2014年 04月 2014年 03月 2014年 02月 2013年 12月 2013年 11月 2013年 10月 2013年 09月 2013年 08月 2013年 07月 2013年 06月 2013年 05月 2013年 04月 2013年 03月 2013年 02月 2013年 01月 2012年 12月 2012年 11月 2012年 10月 2012年 09月 2012年 08月 2012年 07月 2012年 06月 2012年 05月 2012年 04月 2012年 03月 2012年 02月 2012年 01月 2011年 12月 2011年 11月 2011年 10月 2011年 09月 2011年 08月 2011年 07月 2011年 06月 2011年 05月 2011年 04月 2011年 03月 2011年 02月 2011年 01月 2010年 12月 2010年 11月 2010年 10月 2010年 09月 2010年 08月 2010年 07月 2010年 06月 2010年 05月 2010年 04月 2010年 03月 2010年 02月 2010年 01月 2009年 12月 2009年 11月 2009年 10月 2009年 09月 2009年 08月 2009年 07月 2009年 06月 2009年 05月 2009年 04月 2009年 03月 2009年 02月 2009年 01月 2008年 12月 2008年 11月 2008年 10月 2008年 09月 2008年 08月 2008年 07月 2008年 06月 2008年 05月 2008年 04月 2008年 03月 2008年 02月 2008年 01月 2007年 12月 2007年 11月 2007年 10月 2007年 09月 2007年 08月 2007年 07月 2007年 06月 2007年 05月 2007年 04月 2007年 03月 2007年 02月 2007年 01月 2006年 12月 2006年 11月 2006年 10月 2006年 09月 2006年 08月 2006年 07月 2006年 06月 2006年 05月 2006年 04月 2006年 03月 2006年 02月 2006年 01月 2005年 08月 Hot Hot!
PR
検索
最新のコメント
ブログジャンル
|
ファン申請 |
||