624446
160
Zoom out
Zoom in
Previous page
1/162
Next page
160 Copyright © Acronis International GmbH, 2002-2015
f) Neustart oder Herunterfahren der Zielmaschine
Umgebungsvariablen:
IMG_PATH: Pfad zu einem Netzwerkordner auf dem Deployment Server.
TMP_DRV_LETTER: das gemountete Laufwerk am Ziel.
14.2.2 Erstellen von Images bestimmter Zielmaschinen
Szenario
Der Administrator muss ein Image von jeder Maschine erstellen, um das System später auf den
Zustand dieses Images zurücksetzen zu können, indem er dieses Image auf derselben Maschine
bereitstellt.
Lösung
Der Administrator erstellt ein Skript, das:
ein Image von jeder Maschine erstellt.
jedes Image entsprechend der MAC-Adresse der Maschine benennt.
Die Images können auf den entsprechenden Zielmaschinen bereitgestellt werden (S. 159).
Beispielskript
setlocal
SET IMG_PATH=\\image_server\images
SET TMP_DRV_LETTER=h:
net use %TMP_DRV_LETTER% %IMG_PATH%
echo off
for /f "tokens=1-13 delims= " %%a in ('ipconfig /all') do (
IF %%a EQU Physical (
for /f "tokens=1-3 delims= " %%a in ('echo %%l') do (
echo IMAGE FILE: %%a.tib
asdcmd.exe /create /filename:%TMP_DRV_LETTER%\%%a.tib /harddisk:1 /compression:8
goto end
)
)
)
:end
echo on
net use %TMP_DRV_LETTER% /d
wpeutil Reboot
endlocal
Das führt dieses Skript aus:
a) Mounten des Netzwerkordners
b) Abfragen der MAC-Adresse der gebooteten Maschine
c) Generieren eines .tib-Dateinamens (ist die MAC-Adresse 01-02-03-04-05-06, dann lautet
der .tib-Dateiname 01-02-03-04-05-06.tib)
d) Erstellen eines Images von Laufwerk C der Maschine, das mit dem generierten Dateinamen in
dem Netzwerkordner gespeichert wird
e) Neustart oder Herunterfahren der Maschine
Umgebungsvariablen:
IMG_PATH: Pfad zu einem Netzwerkordner auf dem Deployment Server.
160


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Acronis Snap Deploy 5 Update 2 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Acronis Snap Deploy 5 Update 2 in the language / languages: German as an attachment in your email.

The manual is 3,37 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info