AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-43630

David Shields's questions

Martin Hope
David Shields
Asked: 2018-12-11 07:26:10 +0800 CST

来自单个 U 盘/笔的 Clonezilla

  • 0

我正在尝试创建一个自定义的 clonezilla 安装程序,作为从记忆棒刷新我们的标准机器的工具。

我可以从 syslinux/syslinux.cfg 自定义开始菜单就好了,但我希望大记忆棒也包含要恢复的图像。该图像在 /lib/live/mount/medium/myImage 中,可以从命令行中看到,但安装程序似乎想在 /home/partimag 上找到它

有没有办法修改 ocs-live-run="ocs-sr ..." 等以指向本地路径,而不必挂载 /home/partimag ?

在此先感谢-我正在拔头发。

如下迈克尔的脚本:

# mount the image where Clonezilla wants to find it
echo Mounting /lib/live/mount/medium/image on to /home/partimag/
mount --bind /lib/live/mount/medium/image /home/partimag/
RET=$?
if [ ${RET} -ne 0 ]
then
        echo "FAILURE: Mount failed! Image missing?"
        exit 2
fi

# now actually do the restore.
# -p true - exit with success
# -g auto - grub install in the right place
# -e* <whatever> - geometry
# -r – resize when restore done
# -j2 – clone hidden data
# -c – wait for confirm
# -p true – just exit
# -src – skip image check on restore
echo Now doing restore (disk)
ocs-sr -g auto -e1 auto -e2 -r -j2 -c -p true -scr restoredisk gen4image sda

#ocs-sr -g auto -e2 -c -r -j2 -k true restoreparts aks_user sda1

RET=$?
echo Returned $RET
if [ ${RET} -ne 0 ]
then
        echo "FAILURE: Imaging failed! Bad image? Bad drive?"
        exit 1
fi
disk-image
  • 1 个回答
  • 608 Views
Martin Hope
David Shields
Asked: 2013-01-09 02:16:51 +0800 CST

没有域的 Hyper-V 冗余

  • 1

我们目前在非域 W2008 服务器上运行 Hyper-V 服务器,并正在寻求构建故障转移解决方案。因为所有 (6-10) 个 VM 来宾都是 linux,而我们的数据中心空间 90% 是非 Windows,所以我们从未觉得需要 AD 域等。

我最初的计划是第二台服务器(W2008R2 或 W2012 标准),运行 Hyper-V 服务器。

没有共享存储/SAN。

VM 是相当静态的——门户网站和 Web 服务器,数据库位于其他地方,不在 VM 中,因此我们可以相当轻松地处理定期从主 VM 到辅助 VM 的一周前的备份副本。

选项 1 是上述设置 - 如果 VM 服务器出现故障,则在辅助服务器上启动副本。

选项 2 是实施故障转移集群,因此如果 VM 服务器出现故障,VM Secondary 将接管

我真的很感激一些关于前进方向的建议——我读得越多,我就越困惑。

hyper-v
  • 1 个回答
  • 1054 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve