VMware Global Community
0Diego0
Contributor
Contributor
Jump to solution

Backup/Restore con vcbMounter/vcbRestore

Ciao a tutti,

mi affido alla vostra esperienza perché non ho ancora trovato una risposta.

La domanda é:

perché in vcbMounter si puo dare l'opzione -m SAN (l'ho trovato in varie ricerche google...) ma sul mio ESX 3.5 mi dice che posso dare -m "cos"|"nbd"|"nbdssl"???

Ovviamente lo scopo é fare un backup su un LUN del SAN cosi da non passare per la rete e metterci moooolto di piu

Ecco l'output dell'Help, intanto grazie se qualcuno lo sa e mi può spiegare

Ciao

0Diego0

PS: in internet ho trovato qualcosa a proposito di un proxy.... mmm???

vcbMounter --help

Usage:

vcbMounter -h <url> -u <username> <operation>

<url> := <hostname>

<operation> := <mount_op> | <auto_umount_op>

<verbosity> := -L (0-6)

<mode> := -m "cos"|"nbd"|"nbdssl"

<mount_op> := -a <VM> <mountPoint> [<datastores>]

<auto_umount_op> := -U <mountpoint_dir>

<VM> := <moref>|<uuid>|<ipaddr>|<...>

(See VM Backup guide for complete list of search

criteria.)

<mountPoint> := -r <dir>

<flavor> := -t "fullvm"

<datastores> := -C <datastore_catalog_file>

<SsId> := -n "ssid:"<Sdk-MoRef>

<export-flags> := -M (0|1) -F (0|1)

If no password is specified on the command line, you will be prompted for one.

Export Flags:

-M: If set, the disk is exported into a single (monolithic) file.

When turned off (default), the disk is split into multiple 2GB files.

-F: If set, the disk is exported as "flat" disk, with no optimizations.

When turned off (default), the exported disk files will be more compact as

unused space in the disk image is not included in the exported file.

Examples:

+) Do a full VM style backup of vm "foo.bar.com" across the SAN,

talk to ESX/VC host "wisdom.bar.com" as user "vc" with

password "foobar". - Export will go to "d:\backups":

vcbMounter -h wisdom.bar.com -u vc -p foobar -a ipaddr:foo.bar.com \

-r d:\backups\foo-fullVM -t fullvm

Full VM backups export an entire virtual machine into a set of

files within a directory. Backing up this file set allows for the

entire virtual machine to be restored later on.

+) Do an automatic unmount of the export just created:

vcbMounter -h wisdom.bar.com -u vc -p foobar \

-U d:\backups\foo-fullVM

(A full VM unmount operation just has to delete the exported files.)

Reply
0 Kudos
1 Solution

Accepted Solutions
AndreTheGiant
Immortal
Immortal
Jump to solution

Stai guardando il vcbMount che c'è sull'ESX.

Ma per quello che vuoi fare te ci vuole un VCB Proxy: un server Windows fisico, collegato alla stessa SAN (con zoning e masking corretti) e con il pacchetto VCB (e opzionalmente con il software di backup).

Vedrai che in quel caso avrai anche il trasporto di tipo "san".

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

Reply
0 Kudos
6 Replies
AndreTheGiant
Immortal
Immortal
Jump to solution

Stai guardando il vcbMount che c'è sull'ESX.

Ma per quello che vuoi fare te ci vuole un VCB Proxy: un server Windows fisico, collegato alla stessa SAN (con zoning e masking corretti) e con il pacchetto VCB (e opzionalmente con il software di backup).

Vedrai che in quel caso avrai anche il trasporto di tipo "san".

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
0Diego0
Contributor
Contributor
Jump to solution

Ok perfetto, allora vedrò come procedere!

Grazie ancora!

Ciao

Diego

Reply
0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

Per la documentazione:

http://www.vmware.com/support/vi3/doc/vi3_vcb15_rel_notes.html

http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_vm_backup.pdf

http://viops.vmware.com/home/docs/DOC-1392

Per il download, vai sul sito e scarica VCB 1.5 ed eventualmente gli script di integrazione per i sw di backup.

NB: alcuni software hanno già un'integrazione nativa, ma spesso è un agente a pagamento e pure abbastanza caro.

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0Diego0
Contributor
Contributor
Jump to solution

Grazie mille per la DOC!

Diego

Reply
0 Kudos
0Diego0
Contributor
Contributor
Jump to solution

Scusa, un altra domanda, che riguarda quello che abbiamo detto:

Il mio scopo sarebbe quello di eseguire un backup direttamente su SAN, cioé senza passare dalla rete e attraverso il proxy... in pratica mantenendo le stesse performances di un deploy.

Non so se allora la soluzione sopra funziona per me, e cercando e perdendomi tra le pagine del sito di vmware, non so neanche se sia possibile.

Forse eseguire un clone potrebbe essere una soluzione, poi la vm clonata la tengo come backup... però forse non avrei la stessa compressione di un vero backup...

Le vm piu grandi da backupare sono 320 GB e facendolo con vcbMounter attraverso la lan verso una macchina fisica Win, ci mette molte ore

Mi sa che devo chiarire ancora un paio di punti...

PS: un collega mi ha rivelato che in verità una machcina fisica con win e il proxy installato l'abbiamo gia...

Reply
0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

Il mio scopo sarebbe quello di eseguire un backup direttamente su SAN, cioé senza passare dalla rete e attraverso il proxy...

Ti serve proprio una macchina Windows con VCB che faccia da proxy.

In pratica che succede? Con gli script di VCB fai una snap della VM che vuoi backuppare, poi tramite SAN leggi il VMFS (con la modalità "san") e ti scarichi i vmdk della macchina, poi gli script tolgono la snap.

Questi file li puoi poi salvare su nastro con un normale programma di backup.

Per il ripristino ti basta usare il Converter e ributtarli su ESX.

Andre

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos