Tuesday, March 13, 2012

Forcibly take control of Dell -IDRAC console access

Some people have a bad habit of taking control of DRAC access and locking their workstation . If someone want to have access they have to wait till gentleman comes back and provide him so. One way its good but other way its frustrate other.

We can forcibly take control of session by resetting the console access . You can do this at your own risk :) . Launch the weblogin and press the tab "Reset iDRAC6"

image

Wednesday, March 7, 2012

Install XenServer 6.0.2 on Dell PowerEdge M710HD using Integrated Remote Access Controller

Installing XenServer is quite simple but option on Dell remote control access controller is little tricky. First we should insure that virtual media is attached by default it will be Detach as shown below.image

Launch the Dell virtual console in order to map the ISO . image

Attach the media virtual media using "Virtual media wizard" as shown belowimage

Browse and assign the media using ISO image image

Change the boot order to boot from the "Virtual CD"image

This will bring the boot menu which will guide step by step to install XenServer 6.0.2

image

Select the Keymap which is mostly US

image

This will bring welcome screen

image

Accept the license agreement .

image

It depends what you want to . We are performing clean installation

image

This will detect the local hard drive where you want to install the XenServer . Choose thin provisioning if you want to enable intellicache for XenDesktop.

image

Installation media will be local media.

image

Supplement packs are required if you are planning to host linux as a guest VM's or else choose NO.

image

If you doubts the install media choose to verify or else skip it.

image

Type the password as Test123  :)

image

Here you are going to choose management interface. This can be bonded once it is added to the pool using XenCenter.

image

Choose the timezone which server belongs to not YOU :)

image

Select the correct country which server is located not YOU :)

image

Define the NTP server which you have or else choose the manual time entry

image

Specify the NTP server name or IP address.

image

Specify the host name and DNS server and continue with XenServer install .

image

You are all set.

Tuesday, March 6, 2012

How to create public SSL certificate for NetScaler .

Creating public SSL certificate is 3 step process.

Step 1. Create RSA key:  a) Login to NetScaler webpage using 'nsroot' and navigate to SSL section. Highlight 'certificate' and select 'Create RSA key' under SSL keys.

image

                             b)  This will pop up a window asking for various information :

                                         Key Filename: Can be anything and if you doing for first time no need to select browse .

                                          Key Size : Can be anything in multiple of 1024 but most of the public site accept key size beyond 2048

                                          Public Exponent value: Leave it to default F4

                                         Key Format : Should be PEM unless you want DER format

                                         PEM Encoding Algorithm : DES.

                                          PEM/Verify Passphrase : Can be anything which should be remembered for future use.

                                       

                                     image

Step 2. Create SSL Certificate request : a)  Under SSL certificate page ,select  'Create Certificate Request' and this will popup other page

image

                                              b) This will pop up a window asking for various information :

                                                     Request File Name : Can be anything and don't select 'Browse ' or 'View'

                                                     Key File Name: Will be from Step 1 (b) .

                                                      Key Format : Should be same as step 1 (b)

                                                       PEM Passphrase : Should be same as step 1 (b)

                                                      Supply rest of the info  under "Distinguished Name fields"  as required.

                                                     Noting is required for "Attribute Fields "

                                                      image

                                                      c)  Click Create to create the certificate request file.

                                                      d) Click Close to close the Create Certificate Request window.

                                                     e)  Use a program such as WinSCP (http://winscp.net) to copy the CSR to the Local

                                                          computer.    The CSR file is located in the /nsconfig/ssl directory. This file need to send to

                                                        certificate authority like Verizon /Entrust/or Star .

File received from one of the certificate authority as shown below . Select download all the certificate.

image

 

Step 3.  Navigate through certificate tab and select add . This will pop up the box asking for information like

Certificate-Key Pair name: Provide friendly name

Certificate File name : Which you have received from CA provider . This can be PEM format . You can browse and select upload from local

Private Key File name :  This would be from appliance as you have created in Step 1(b) .

Password : Same as step 1 (b) /2(b)

Certificate Format : PEM

You can choose to notify when this certificate is expired .

image

That's all you have to for creating and installing SSL public certificate. In next blog I will discuss about linking with Virtual servers.

SOURCE 1 and 2

Friday, March 2, 2012

XenServer management not shown under xsconsole

By mistake if you have made changes to management IP address of XenServer while it was in pool , you will land up in weird situation where xsconsole will not show any nic to be configured for management interface as shown below

image

and this

image

Where as ifconfig will list all the NIC listed out

image

Restarting xe-toolstack-restart does not help either and running xe network-list will give message "The host toolstack is still initializing . Please wait "

image

Infcact running any xe command will throw weird error like "htto_client. Http_request_rejected"

image

First  check the out of   xe host-is-in-emergency-mode. If the output is "True" then that is the whole reason of problem. Change this from "True " to "False" by running  "xe pool-emergency-transition-to-master".

Rerun " xe host-is-in-emergency-mode" and make sure out is "False". Restart xe-toolstack-restart and wallah you will see all the NIC is back

image

To me it looks like if you make any changes inside the pool , this my result in .

Following link did provided help.

Thursday, March 1, 2012

Error "New partition table could be written" while installing XenServer 6.0

I was trying to install XenServer on 1TB disk with RAID configure and it was throwing below error message on Dell Rack mounted server.

image

This can be solved by two way by disabling GPT  :

1. Boot from the XenServers 6.0.0 install CDROM.
2. At the Xen 6.0.0 install prompt type menu.c32 and press enter.
3. When you get the new menu screen press TAB
4. add disable-gpt just before the last --- then press enter.  The system will go through part of the pre-install boot process.           5. At the bash prompt type "exit".

Installation will continue without any issue

OR

1. Type "shell"  at the boot menu

image

2. Edit the file constants.py under installer location using VI editor image

3. Edit the file and change the value highlighted from True to False and 4096  to 20480 and then exit

image

4. After existing the vim and boot menu , installation will continue .

image

Source : 1 and 2