久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

exalogic備份exabr怎么用

157次閱讀
沒有評論

共計 6595 個字符,預(yù)計需要花費 17 分鐘才能閱讀完成。

這篇文章主要介紹 exalogic 備份 exabr 怎么用,文中介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們一定要看完!

[root@el02node01 bin]# ./exabr h

ExaBR   1.2.6 (b12259)

Usage: exabr command targets [options]

General options:

  –version                Display the exabr version

  –help                   Display this usage help and exit

Targets:

  Targets can be specified by listing the comma-separated IPs or hostnames or by using one of the predefined targets: 

  all-ib (all Infiniband switches), all-mgmt (all management (Cisco) switches), all-cn (all compute nodes and their ILOMs), 

  all-cn-iloms (all compute nodes ILOMS), all-sn (all storage nodes and their ILOMs), all-sn-iloms (all storage ILOMs),

  all-hw (all the hardware components), control-stack, user-vm (zfs snapshot)

  or all-itemized-vms (all user-vservers listed in the configuration file)

Common options:

  –repository, -r         path to the backup repository (any path, usually a mount to a NFS share)

                           (EXABR_REPO environment variable can be also used instead)

Commands:

init – initialize the exabr configuration file. Uses ECU data or the configuration of the given compute-node to obtain hostnames of different rack components

  exabr -r repository-path init first-compute-node

init-ssh, remove-ssh – establish or remove SSH public key authentication

  exabr -r repository-path init-ssh targets

  exabr -r repository-path remove-ssh targets

backup – back up the target to the backup repository

  exabr -r repository-path backup targets [–noprompt]

  exabr -r repository-path backup compute-nodes [–noprompt] [–exclude-paths /path ,..] [–include-paths /path ,..]

  exabr -r repository-path backup itemized-vms [–noprompt] [–exclude-paths /path ,..] [–include-paths /path ,..]

  Options:

    –noprompt, -n         never prompts for password, and skips the target instead if public key authentication has not been 

                           established (via init-ssh command)

    –exclude-paths        comma-separated list of directories or files that should not be included in the backup

    –include-paths        comma-separated exclusive list of directories and/or files to be backed up

    –timeout              timeout value in seconds to wait for the backup to complete. Default is 2700 seconds.

restore – restore the target from the backup repository 

  exabr -r repository-path restore targets [-b backup-name]

  exabr -r repository-path restore compute-nodes [-b backup-name] [–exclude-paths /path ,..] [–include-paths /path ,..]

  exabr -r repository-path restore itemized-vms [-b backup-name] [–exclude-paths /path ,..] [–include-paths /path ,..]

  exabr -r repository-path restore user-vm [-b snapshot-name] –vm vm-name-or-uuid

  exabr -r repository-path restore control-stack [-b snapshot-name]

  Options:

    –backup, -b           the name of the specific backup to be restored. If option is not given, the latest backup is used. 

                           the backup name is shown in brackets by list command.

    –exclude-paths        comma-separated list of directories or files that should not be restored from the backup

    –include-paths        comma-separated exclusive list of directories and/or files to be restored

    –vm                   name or uuid of the vm to restore from the named zfs snapshot. Restores entire disk image

    –timeout              timeout value in seconds to wait for the restore to complete. Default is 2700 seconds.

stop, start – stops or starts control stack VMs

  exabr -r repository-path stop control-stack

  exabr -r repository-path start control-stack

list – list the content of the backup repository 

  exabr -r repository-path list targets [–verbose]

  Options:

    –verbose, -v          display more details

ib-register – when the hardware component has been replaced and has a new Infiniband identity, register it with the Infiniband fabric

  exabr -r repository-path ib-register targets [–dry-run]

  Options:

    –dry-run              display the commands that would be run without performing them.

configure – configure and/or check the ECU networking settings for a re-imaged compute node

  exabr -r repository-path configure target-compute-node

control-unregister – unregister a compute-node from OVMM and from EMOC even if it is not reachable, or missing

  exabr -r repository-path control-unregister target-compute-node

control-register – register a live compute-node with OVMM and with EMOC

  exabr -r repository-path control-register target-compute-node

ERROR: Invalid arguments. Two arguments expected: command targets

以上為命令的幫助.

1. 首先進行初始化

./exabr init 10.135.1623.200      = first node of exalogic

2. 對配置文件進行編輯

編輯 /exalogic-lcdata/backups/exabr.config 文件

3. 對 ib 結(jié)點進行備份

[root@el02node01 bin]# ./exabr backup all-ib

ExaBR   1.2.6 (b12259)

Logging to file /root/exabr.log

————————

Using backup repository: /exalogic-lcdata/backups

Using configuration file: /exalogic-lcdata/backups/exabr.config

—————————————————

Targets: 3 total

Infiniband Gateway switch: el02gateway01.xx.cn, el02gateway02.xx.cn

Infiniband Spine switch: 10.135.173.239

—————————————————

—————————————————

(1 out of 3)

—————————————————

el02gateway01.fawcar.com.cn authentication successful

Backing up Infiniband Gateway switch el02gateway01.xx.com.cn

Destination directory: /exalogic-lcdata/backups/ib_gw_switches/el02gateway01.xx.com.cn/201812060805

—————————————————

Fetching firmware version

Backing up switch configuration

Backing up partitions

Generating md5 checksum

MD5 checksums created

OK: Infiniband Gateway switch el02gateway01.xx.com.cn backup successful (took: 7 seconds)

—————————————————

—————————————————

(2 out of 3)

—————————————————

el02gateway02.fawcar.com.cn authentication successful

Backing up Infiniband Gateway switch el02gateway02.xx.com.cn

Destination directory: /exalogic-lcdata/backups/ib_gw_switches/el02gateway02.fawcarxx.com.cn/201812060805

—————————————————

Fetching firmware version

Backing up switch configuration

Backing up partitions

Generating md5 checksum

MD5 checksums created

OK: Infiniband Gateway switch el02gateway02.xx.com.cn backup successful (took: 9 seconds)

—————————————————

—————————————————

(3 out of 3)

—————————————————

10.135.173.239 authentication successful

Backing up Infiniband Spine switch 10.135.173.239

Destination directory: /exalogic-lcdata/backups/ib_spine_switches/10.135.173.239/201812060805

—————————————————

Fetching firmware version

Backing up switch configuration

Backing up partitions

Generating md5 checksum

MD5 checksums created

OK: Infiniband Spine switch 10.135.173.239 backup successful (took: 4 seconds)

—————————————————

——————- SUMMARY ———————–

OK: 3 out of 3 finished successfully

—————————————————

4. 對計算結(jié)點進行備份

[root@el02node01 bin]# ./exabr backup all-cn

5. 對存儲結(jié)點進行備份

[root@el02node01 bin]# ./exabr backup all-sn

6. 對思科交換機備份

[root@el02node01 bin]# ./exabr backup all-mgmt 

7. 備份硬件信息

[root@el02node01 bin]# ./exabr backup all-hw

以上是“exalogic 備份 exabr 怎么用”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對大家有幫助,更多相關(guān)知識,歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道!

正文完
 
丸趣
版權(quán)聲明:本站原創(chuàng)文章,由 丸趣 2023-07-24發(fā)表,共計6595字。
轉(zhuǎn)載說明:除特殊說明外本站除技術(shù)相關(guān)以外文章皆由網(wǎng)絡(luò)搜集發(fā)布,轉(zhuǎn)載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 北票市| 伊川县| 汉寿县| 扬中市| 德江县| 娄烦县| 建水县| 惠来县| 博兴县| 冀州市| 同仁县| 济宁市| 于田县| 林州市| 湟源县| 扎赉特旗| 巴里| 安康市| 东乡县| 红河县| 同德县| 阿勒泰市| 五大连池市| 昌吉市| 大港区| 莆田市| 曲水县| 同心县| 阿拉善右旗| 平武县| 黔西| 镇安县| 密云县| 平利县| 磐石市| 错那县| 南江县| 松阳县| 油尖旺区| 昌黎县| 双流县|