ISCSI Server Installation



Similar documents
FTP Server Configuration

Nagios XI Monitoring Windows Using WMI

HP Device Manager 4.6

Unidesk 3.0 Script to Increase UEP Size for Persistent Desktops

Preparing an IIS Server for EmpowerID installation

AppLoader 7.7. Load Testing On Windows Azure

Title: Setting Up A Site to Site VPN Between Microsoft Azure and the Corporate Network

HP Device Manager 4.6

Dynamics CRM 2011 Outlook Configuration Guide With Windows XP

Enterprise Self Service Quick start Guide

Installing and Configuring Active Directory Agent

Setting up a VPN connection Windows XP

Q&A. DEMO Version

Biznet GIO Cloud Connecting VM via Windows Remote Desktop

Installing and Configuring Windows Server Module Overview 14/05/2013. Lesson 1: Planning Windows Server 2008 Installation.

TechNote. Configuring SonicOS for MS Windows Azure

Parallels Panel. Deployment Guide. Plesk Automation Revision 1.0

Device LinkUP + Desktop LP Guide RDP

Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

MATLAB Distributed Computing Server with HPC Cluster in Microsoft Azure

Installing T-HUB on multiple computers

Windows Firewall must be enabled on each host to allow Remote Administration. This option is not enabled by default

Installing Oracle 12c Enterprise on Windows 7 64-Bit

CONFIGURING MICROSOFT SQL SERVER REPORTING SERVICES

The VHD is separated into a series of WinRar files; they can be downloaded from the following page:

uh6 efolder BDR Guide for Veeam Page 1 of 36

Using the IPMI interface

Using TS-ACCESS for Remote Desktop Access

Deploy the client as an Azure RemoteApp program

Quick Instructions Installing on a VPS (Virtual Private Server)

ProHVM (Probus-IT Hyper-V Manager)

IP Interface for the Somfy Digital Network (SDN) & RS485 URTSII

Yale Software Library

Active Directory Reporter Quick start Guide

Supervisor 10 Remote Access Users Guide Last Update: 10/27/14

MacroLan Azure cloud tutorial.

Setup and configuration for Intelicode. SQL Server Express

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

How to Back Up and Restore a Dynamics NAV 2015 Database Using SQL and PowerShell:

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

This How To guide will take you through configuring Network Load Balancing and deploying MOSS 2007 in SharePoint Farm.

Remote Desktop Web Access. Using Remote Desktop Web Access

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide

Configuring SonicOS for Microsoft Azure

WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH NETWORKER

VPS Remote Computing. Connecting to a Windows Server for the first time. 1 Your Server has been installed. 2 Finding the login details for your Server

Microsoft IT Camp Hands-On Lab

Hands on Lab: Building a Virtual Machine and Uploading VM Images to the Cloud using Windows Azure Infrastructure Services

Avatier Identity Management Suite

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

General Computing Network (GCN) Guide for Mac OS X

Microsoft XP Professional Remote Desktop Connection

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Using Remote Desktop to access your Office Computer or Faculty Remote Desktop Server August, 2005 This document consists of two main parts and an

BaseManager & BACnet Manager VM Server Configuration Guide

Setting Up Scan to SMB on TaskALFA series MFP s.

User's Guide - Beta 1 Draft

VPS Hosting. The Guide to Bet Angel VPS. Getting started with Bet Angel VPS. Revised August Page 1

Covene Cohesion Server Installation Guide A Modular Platform for Pexip Infinity Management November 11, 2014 Version 2.0 Revision 1.

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Microsoft Hyper-V Server 2008 R2 Getting Started Guide

REMOTE DESKTOP SETUP INSTRUCTIONS

Vess A2000 Series. NVR Storage Appliance. Windows Recovery Instructions. Version PROMISE Technology, Inc. All Rights Reserved.

CONNECT-TO-CHOP USER GUIDE

NSi Mobile Installation Guide. Version 6.2

CDP-H210 Introduction to Azure Active Directory

Immotec Systems, Inc. SQL Server 2005 Installation Document

1. Installation Overview

Windows Server 2008 R2 Initial Configuration Tasks

ActiveImage Protector 3.5 for Hyper-V with SHR. User Guide - Back up Hyper-V Server 2012 R2 host and

Quick Start Guide for Parallels Virtuozzo

Linux Development Environment Description Based on VirtualBox Structure

CANON FAX L360 SOFTWARE MANUAL

Lab Answer Key for Module 1: Installing and Configuring Windows Server Table of Contents Lab 1: Configuring Windows Server

Acronis Backup & Recovery 11

Using Virtual Machines

Install MS SQL Server 2012 Express Edition

Moving the TRITON Reporting Databases

Creating a User Profile for Outlook 2013

13.1 Backup virtual machines running on VMware ESXi / ESX Server

Setting up Citrix XenServer for 2X VirtualDesktopServer Manual

Maintaining the Content Server

Table of Contents. Online backup Manager User s Guide

Setting Up a Windows Virtual Machine for SANS FOR526

ADFS 2.0 Application Director Blueprint Deployment Guide

5nine Cloud Security Azure Pack Extension. Version 5.2

Imaging Computing Server User Guide

SmartSync Monitor Help

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

Configuring and Integrating PowerShell

Information to configure your Windows 7 office computer is described below.

LifeCyclePlus Version 1

Cloud Services ADM. Agent Deployment Guide

Secure Global Desktop (SGD)

Transcription:

ISCSI Server Installation 1. Create a virtual machine (VM). 2. Note wn the IP address of the created virtual machine 3. RDP the machine Click Start Menu -> All Programs -> Accessories -> Remote Desktop Connection 4. Type the IP address of the iscsi machine in the computer field and click connect button

5. Enter the administrator s credential. 6. Wait for a moment. Then Click Yes 7. Now, open PowerShell prompt as shown below and execute following commands # URL to wnload the iscsi target software $ iscsi_target_url = http://wnload.microsoft.com/wnload/2/f/1/2f110b9c-6cb0-45f1-971b- 4BA37395D820/iSCSITargetQFE4.exe # IP of the main controller. Replace with your main controller s IP $ main_ip= 10.140.17.114 # Name of the main. Replace with your main name $ main_name= titan # Name of the main user account. Change it as per requirement $ main_user= administrator # Password for the main user account. Change it as per requirement $main_password= jjdgfjd#fhf

echo "DOWNLOADING THE ISCSI TARGET SOFTWARE" $wc=new-object system.net.webclient $wc.wnloadfile($iscsi_target_url,"c:\iscsitarget.exe") echo "DISABLE FIREWALL" netsh advfirewall set allprofiles state off echo "ADDING NODE TO DOMAIN" $DOMAINJOIN=[System.Net.Dns]::GetHostName() netsh interface ipv4 set dns name="local Area Connection" source=static address="$main_ip" primary netm join "$DOMAINJOIN" /main:$main_name /userd:$main_user /passwordd:$main_password Set-ExecutionPolicy remotesigned force echo Restarting the machine shutwn r t 0 8. After few minutes, RDP the same machine with the right credential 9. Now, open PowerShell prompt and execute following commands echo "ENABLING PS-REMOTING" netsh advfirewall firewall add rule name="winws Remote Management (HTTP-In)" dir=in action=allow service=any enable=yes profile=any localport=5985 protocol=tcp schtasks /CREATE /TN "EnablePS-Remoting" /SC MINUTE /MO 1 /RL HIGHEST /RU $main_name\$main_username /RP $main_password /TR "powershell -Command Enable-PSRemoting -Force" /F schtasks /RUN /TN "EnablePS-Remoting" sleep 5; $status_code=schtasks /query /fo list /tn "EnablePS-Remoting" find.exe /c `"Running`" }while ("$status_code" -eq "1") schtasks /DELETE /F /TN "EnablePS-Remoting" # EXTRACT iscsi SETUP add-content "c:\iscsi.ps1" 'start c:\iscsitarget.exe -winwstyle hidden -ArgumentList "/s" -wait' schtasks.exe /CREATE /TN "Extract-ISCSI" /SC MONTHLY /MO first /D SUN /RL HIGHEST /RU $main_name\$main_username /RP $main_password /TR "powershell -noprofile -command &c:\iscsi.ps1} - WinwStyle Hidden" /F schtasks.exe /RUN /TN "Extract-ISCSI" sleep 5; $status_code=schtasks /query /fo list /tn "Extract-ISCSI" find.exe /c `"Running`" }while ("$status_code" -eq "1") schtasks /DELETE /F /TN "Extract-ISCSI" remove-item c:\iscsi.ps1 -Force # INSTALL iscsi TARGET add-content "c:\iscsi.ps1" 'start-process "msiexec" "/i C:\iSCSTarget\x64\iscsitarget_public.msi /qn /L*v C:\iscsi_install.log" -WinwStyle hidden' schtasks.exe /CREATE /TN "Install-ISCSI" /SC MONTHLY /MO first /D SUN /RL HIGHEST /RU $main_name\$main_username /RP $main_password /TR "powershell -noprofile -command &c:\iscsi.ps1} - WinwStyle Hidden" /F schtasks.exe /RUN /TN "Install-ISCSI" sleep 5;

$status_code=schtasks /query /fo list /tn "Install-ISCSI" find.exe /c `"Running`" }while ("$status_code" -eq "1") schtasks /DELETE /F /TN "Install-ISCSI" # CREATE VIRTUAL DISKS mkdir c:\disks Import-Module MicrosoftIscsiTarget New-IscsiVirtualDisk "c:\disks\disk1.vhd" -Size 1GB New-IscsiVirtualDisk "c:\disks\disk2.vhd" -Size 1GB New-IscsiVirtualDisk "c:\disks\disk3.vhd" -Size 1GB 10. Then click on Start -> Microsoft iscsi Software Target link 11. Then Click on the Devices. There are list of virtual disks on the right panel 12. Right Click on each Virtual Disk-> Disk Access->Mount Read/Write

After Successful mount, a message box comes. Click OK to close the message box. Repeat this step for each virtual disk. NOTE: As there is no command to enable the iscsi disk access using the cmdlets. This feature (mounting iscsi virtual disk locally) is supported on Winws Server 2012 O.S but not supported in Win2k8 R2 server. That s why we this step manually 13. Then executes the following command on the PowerShell prompt to initialize and format the virtual disks $i=0 $j=1 $file="list disk" diskpart select-string "online" $diskattri="attributes disk clear reanly" $initdisk="convert MBR" $partndisk="create partition primary size=1020" $letter=@("e","f","g") $disk=$file[$j] -split "\s3,}" $seldisk="sel"+$disk[$i] $assignletter="assign letter="+$letter[$j-1] $formatdisk="format fs=ntfs quick label="""+"cluster"+$disk[$i] -replace '\s+', ' ' $formatdisk += '"' $seldisk Out-File -append c:\selectannlinedisk.txt

$diskattri Out-File -append c:\selectannlinedisk.txt $initdisk Out-File -append c:\selectannlinedisk.txt $partndisk Out-File -append c:\selectannlinedisk.txt $assignletter Out-File -append c:\selectannlinedisk.txt $formatdisk Out-File -append c:\selectannlinedisk.txt $j++ }while ($file[$j] -ne $file[$j].eof) get-content c:\selectannlinedisk.txt diskpart