Wednesday, July 13, 2011

Active directory users, OU and Groups creation

Active directory users, OU and Groups creation
1.       First we have to create OU for Alberta Head office
Procedure for creating Alberta OU
a.       Open server manager
b.      Go to Roles -> Active directory Domain service-> Active Directory Users and computers -> test.local(Right click)->New->Organization Unit
Give name Alberta and create
2.       Now make sub OU under Alberta OU
ABUsers and ABComputers
ABUsers for all Alberta users
ABComputers for all Alberta computers
Create sub groups in ABComputers
ITcomputers
StandardComputers
TestComputers

3.       Create one more OU called IT for IT staff of Alberta
Note: IT is not a sub OU of Alberta its Individual OU
4.       Now Create add users to Abusers OU
Procedure for Creating Users:
2 procedures
1.       Creating users using script
Open note pad
dsadd user "cn=%1, ou=INSERTYOUROUHERE, dc=YOURDOMAIN, dc=comORWHATEVERYOURSUFFIXIS" -fn %2 -ln %3 -pwd P@ssw0rd -mustchpwd yes
Type this script and save it as .bat file
Note: - if you have sub OU fist use sub OU and then main OU in script
Now open command prompt and go to the path where you save the batch file then type batchFileName UserName FirstName Lastname

2.       Manually creating users
Right click on ABUsers OU ->New -> User
Give username, Firstname, Lastname, password, select password must change for first login
Users for ABUsers OU

Name
First Name
Last Name
User name
Group
Rafi Mohammad
Rafi
Mohammad
Mrafi
IT
Ravi Kumar
Ravi
Kumar
Kravi
IT
Shane Warne
Shane
Warne
wshane
SalesUsers
Tony Khory
Tony
Khory
ktony
SalesUsers
George Saddeh
George
Saddeh
sgeorge
SalesManagers
Shakeel Ahmad
Shakeel
Ahmad
ashakeel
SalesManagers
Doug Windover
Doug
Windover
wdoug
AccountsUsers
Tamara Barton
Tamara
Barton
btamara
AccountsUsers
Dana Dobiasova
Dana
Dobiasova
ddana
AccountsManagers
Shifali Jain
Shifali
Jain
jshifali
AccountsManagers
Guest User1
Guest
User1
Guser1
Guests
Guest User2
Guest
User2
Guser2
Guests
Guest User3
Guest
User3
Guser3
Guests
Linsey Martin
Linsey
Martin
mlinsey
Executives
Joseph Catricala
Joseph
Catricala
cjoseph
Executives
Linda Murphy
Linda
Murphy
mlinda
HR
Lisa Hagarty
Lisa
Hagarty
hlisa
HR
Renwick Babwah
Renwick
Babwah
brenwick
Warehouse
Marwan Albedi
Marwan
Albedi
amarwan
Warehouse
Gouse Shaik
Gouse
Shaik
Sgouse
OperationsManagers
Satish Agarval
Satish
Agarval
asatish
OperationsManagers
Ruby Joseph
Ruby
Joseph
jruby
OperationsUsers
Visali Jain
Visali
Jain
jvisali
OperationsUsers

5.       Now create Groups
Executives
IT
AccountsUsers
AccoutnsManagers
SalesUsers
SalesManagers
OperationsUsers
OperationsManagers
Warehouse
HR
Guests

Procedure for creating groups
a.       Right click on subOU ABUsers->New->Group
b.      Give Group name and create it
6.       Now add user to Groups as per above table
Ex:-  Shane Warne belongs to SalesUsers group
         George Saddeh belongs to SalesManagers

Procedure for adding user to group
a.       Select the user right click -> Add to group-> give group name and add it









Tuesday, February 22, 2011

Creating VM in Vsphere client

Creating VM in Vsphere client
1.       Go to virtual machine
2.       Click new virtual machine
3.       Configuration typical/ custom
I choose custom
4.       Give the name to virtual machine
5.       Select the data store [local or SAN data store]
6.       Select virtual machine version VM4/ VM7
I select VM7
7.       Select guest operating system
8.       Select number of virtual processor required
9.       Select memory for virtual machine
10.   Select network connect ion
11.   Select SCSI controller (leave by default)
12.   Select type of disk to use
. Create new virtual disk
. Use exiting virtual disk
. Run device mapping
.do not create disk
I select new virtual disk
13.   Create disk capacity 40GB/ 80GB your wish
14.   Advance option make it default
These advance option do not need to be changed
15.   Click finish to create
16.   To make changes to virtual machine right click on VM go to edit  setting
17.   Here you can add hard disk or increase memory and you can add network adapter
18.   If you put CD/ DVD drive in automatic mode when you insert Operation system bootable disk and start Virtual machine it will detect automatically
19.   Otherwise you can give data store ISO file path so you can select ISO image from their path to install ISO



Next Blog: Creating Template in Vsphere


Thursday, February 17, 2011

ESX Installation


ESX Installation:
Install ESX to get started with running virtual machines. The machine running ESX virtualization software
will act as a host in your virtual infrastructure.
Hosts provide CPU and memory resources, access to storage, and network connectivity for virtual machines
that reside on them.


Prerequisites for Installing ESX:
Before you begin the installation procedure, ensure that the host meets the prerequisites.
The prerequisites are as follows:
If ESX will not use an NTP server, make sure that the server hardware clock is set to UTC. This setting is
in the system BIOS.
Make sure the host has a supported network adapter.


ESX Hardware Requirements
Using ESX requires specific hardware and system resources.
64-Bit Processor
VMware ESX 4.0 will only install and run on servers with 64-bit x86 CPUs.
Known 64-bit processors:
All AMD Opterons support 64 bit.
All Intel Xeon 3000/3200, 3100/3300, 5100/5300, 5200/5400, 7100/7300, and 7200/7400 support 64 bit.
All Intel Nehalem (no Xeon brand number assigned yet) support 64 bit.
RAM
2GB RAM minimum


Network Adapters
One or more network adapters. Supported network adapters include:
Broadcom NetXtreme 570x gigabit controllers
Intel PRO 1000 adapters
SCSI Adapter, Fiber Channel Adapter, or Internal RAID Controller
One or more of the following controllers (any combination can be used):
Basic SCSI controllers are Adaptec Ultra-160 and Ultra-320, LSI Logic Fusion-MPT, and most NCR/
Symbios SCSI controllers.
Fiber Channel, see the Hardware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
RAID adapters supported are HP Smart


**Note:Make sure Intel VT is enabled in the host's BIOS.





1 - Insert the media and launch Install ESX in graphical

 


2-The install launcher start...

 


3- Click on NEXT

 


4-Accept the license and click NEXT

 


5-Select you preferred language and click NEXT

 


6-Select if you want install or not drivers...and click NEXT

 


7-The loading driver start...

 


8-The loading driver is finish, you can click on NEXT

 


9-Enter Serial or not and click on NEXT

 


10-Select your network adapter and click NEXT

 


11-enter a IP configuration
Example:
IP: 192.168.0.1
Mask: 255.255.255.0
Gateway: 192.168.0.1 or another IP if you want
DNS: 192.168.0.1
Hostname: ESXSERVER


After Click NEXT



12-In a first time select Standard Setup and click NEXT







13-Select the Storage (Here the storage is just present for install binaries ESX Server, after you can add another volume NAS or others) and click NEXT







14-Select your time zone and click on NEXT



15-Select Time and date and click NEXT



16-The install process start...



17-After the installation finishes click on NEXT



18-Yeah the install is complete, now you can access at your esx server at the IP that you enter in the previous step.



19-In my example, i'm connect with the Vsphere Client for access to the ESX server.
I need to use the Windows XP mode for launch the Vsphere Client



20-Cool the installation is finish but now the ESX configuration is necessary...If you want start the challenge, all at your server and computer and GO to the VMWARE WORLD

21-To remotely access the machine. We need to enable SSH
Root # vi /etc/ssh/sshd.config
Go to 39 line
Permit root login Yes
22-#/etc/init.d/sshd restart
23-In windows we will call as service, in Linux we will call as demean.




Next Blog: Installing and configuring vi client