PrepAway - Latest Free Exam Questions & Answers

Which two commands should you run?

You install Windows Server 2008 R2 (Server Core Installation) on a server.
The server will store virtual machines (VMs) on a volume that is attached to the server by
means of an iSCSI connection. You need to configure the server so that VMs can be stored
on the iSCSI volume. Which two commands should you run? (Each correct answer presents
part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
iscsicli listTarget

B.
iscsicli qaddTarget

C.
iscsicli qloginTarget

D.
iscsicli AddConnection

Explanation:
You can also use the command line to complete all actions required to configure the iSCSI
Initiator. The command line is necessary when using Server Core, since it has no graphical
user interface (GUI). Following are example commands that show how to enable and
configure the iSCSI Initiator using the command line.
First, you must enable the state of the iSCSI Initiator service and start the service using the
SC command:
1. Set the iSCSI Initiator service to start automatically: sc \\localhost config msiscsi start=
auto
2. Start the iSCSI Initiator service: sc start msiscsi
3. Complete the remaining tasks using the iSCSI command-line interface (iscsicli):
•Add the target portal:
iscsicli QAddTargetPortal <IP address of Portal>
•Add the target:
iscsicli QAddTarget <iqn address of target>
Log in to the target:

iscsicli QloginTarget <iqn address of target>
• Make Login Persistent
iscsicli PersistentLoginTarget <iqn address of target> i
T * * * * * * * * * * * * * * * 0
• Bind all persistent volumes:
iscsicli BindPersistentVolumes
4. Confirm some critical settings by using these two command lines:
iscsicli ListPersistentTargets
iscsicli ReportTargetMappings


Leave a Reply