viernes, 16 de agosto de 2013

Google Takeout: Backup Picasa, Google+, Blogger, Youtube and Drive

If you want to make a perfect backup of your blog on Blogger, from your photos or images from Picasa (if you was integrated to Google+ it called Google Images)Google  Drive files or from your videos on YouTube, Google allows you to do these tasks to keep everything perfectly in any external hard drive and get all the information to know how many files or images you have, and how much you have left as a hosting site for download.

Takeout is not any site is of Google, and I recommend you make a backup from time to time of all your Google services or the services that you choose one by one, because with the changes made to Google+ and then some, would be terrifying to lose everything you've done for years.

Once the copies was done you have them on your hard drive with confidence knowing that you can carry all of Blogger to another platform, or if your work disappear they can be recovered.

https://www.google.com/takeout

Step by step

1) You can download all Google services together to make a copy, but it will take a lot depending on what you have uploaded to Google, and maybe some services that I not want backed up, but you can download them all at once.

2) You've chosen the service, especially beam backup your photos or images from Google+ and Picasa, as well as your blogs on Blogger, you click on configure to see your photo albums.

3) If you have choosen albums to save on disk, click on CREATE FILE

4) You will get a screen where you will see as you load your albums with a bar, and when finished loading the blue bar, click on DOWNLOAD, It will asking you for the password every time you download and make copies of a security albums. Put your password, and within seconds your albums, will be downloaded to your pc.



See ya.... Enjoy!

What does Google know about me?

The main source of income for Google is still advertising. For the company's Mountain View is essential to know the profiles and tastes of each of its users to be able to present the ads that are most suited to your tastes and needs and capture their attention and interest.

Google offers many services (mostly free) enjoyed great popularity as search, Gmail, Google Maps, Google Earth, YouTube, Google+, Analytics, Android and Google Play, Blogger, Google Alerts, Google Drive , Google Docs, Google Calendar, Google Hangouts, Google Now, Google Chrome and some others. Can support all this only to advertising and also earn money? Apparently yes.

This is not bad. Google wants to know us better to offer us the most we may want or be required. Another story is that Google does (or can does) with this information (provide them to the government, selling, etc).

How to review our profile in Google?

Google Control Panel

There are two versions of the profile that has Google about each of us. The first is the Google Control Panel (Google Dashboard). 

https://www.google.com/dashboard/

A comprehensive and detailed list of all services we use from Google (and can also be configured from there).

Email account, including number of messages, etc. AdSense Accounts, configured Alerts, Make and model associated with Android devices (including high and date last accessed).

Blogger Profiles, Number of contacts, Documents in Google Docs, Google+ profile and number of "+1" s. Location history in which it has been ordered by date.

Books downloaded from Goole Books, Photos in Picasa / Google +, Applications installed from the Play Store, Number of videos on YouTube. You can also access an option "Your online presence" through which you can monitor the results that appear when you enter our name and even set alerts, Etc. Etc.



Ads Configuration Panel

On the other hand, if we do not login in with a Google account, it can not link searches and other activities to a specific profile and therefore stores it as a cookie on the browser used.

The configuration of ads informations can be found here (it should be done after closing session in Google):

https://www.google.com/settings/ads/onweb/

Google "remembers" any Google+ profile information although the session was closed for example if the last user was a man or a woman, your age range, etc.. In case you have no access to this data, Google attempt to estimate and generates interest based on my searches.

If I delete all cookies from the browser and I visit back the page

https://www.google.com/settings/ads/onweb/

The result I get is all empty. Google will continue to show ads, but will no longer be based on my tastes and needs.

Any action using any of the many Google services has implications because is recorded. There should be nothing to fear but it is advisable to be aware of this and know the reality. Every day that passes the privacy is more complex to achieve.



Thanks for stopping by, I hope you enjoyed the post.

sábado, 10 de agosto de 2013

Updated: How to configure Network Bonds for VM Traffic in Citrix XenServer

NIC bonds, sometimes also known as NIC teaming, improve XenServer host resiliency and/or bandwidth by enabling administrators to configure two or more NICs together so they logically function as one network card.

Requeriments

- A XenServer pool
- XenCenter
- xe CLI
- At least 2 NICs availables per host in the pool*

- Create NIC bonds as part of initial resource pool creation prior to joining additional hosts
to the pool or creating VMs.

Adding a NIC bond to an existing pool requires one of the following:

- Configure the bonds on the master and then each member of the pool
- Configure the bonds on the master and then restarting each member of the pool so that it
inherits its settings from the pool master. This is if you use xe CLI.
- Configure the bonds on the master. XenCenter automatically synchronizes the networking
settings on the member servers with the master, so you do not need to reboot the member servers.

For simplicity and to prevent misconfiguration, Citrix recommends using XenCenter to create NIC bonds

Thanks +Matthew Spah

---------------------------------------------------

* All XenServer hosts in a resource pool should have the same number of physical network interface cards (NICs), although this requirement is not strictly enforced when a XenServer host is joined to a pool.

-------------------------

1) XenCenter Configuration

- Configuring NIC Bond for VM Traffic






- Destroy NICs Bond





2) xe CLI Configuration

- Open the XenServer host text console.*
- Create the network with the network-create command, which returns the UUID of the newly created network:

xe network-create name-label=

- Use the pif-list command to find the UUID of the PIF corresponding to the physical NIC supporting

xe pif-list

- To configure the bond in active-active mode (default), use the bond-create command to create the bond. Using commas to separate the parameters, specify the newly created network UUID and the UUIDs of the PIFs to be bonded:

xe bond-create network-uuid= pif-uuids=,, 

Enter two UUIDs if you are bonding two NICs and four UUIDs if you are bonding four NICs. The UUID for the bond is returned after running the command.



-----------------------------------------------------

* I'm using Terminal from my Linux Client

----------------------------------------------------

See you at the next post.... Enjoy!

miércoles, 7 de agosto de 2013

How to enable High Availability on a Citrix XenServer pool

HA can be enabled on a pool using either XenCenter or the command-line interface. In either case, you will
specify a set of priorities that determine which VMs should be given highest restart priority when a pool is
overcommitted.

Requirements

- Citrix recomend Minimum 3 XenServer Hosts (In this demo I'm using 2)

- Shared Storage*

- Resource Pool

- Static IP Addresses for all XenServers

- VM connected to pool-wide network**

- VMs not connected to any host DVD drive configuration

- All VM virtual disk on shared storage accessible pool-wide

-------------------------------------------------------------

* 4MB for heartbeat volume, 256 MB for metadata volumen

** Use bonded management interface

---------------------------------------------------------------



See you next time.

sábado, 3 de agosto de 2013

How to authenticate users with Active Directory in Citrix XenServer

Hi, if you want to have multiple user accounts on a server or a pool, you must use Active Directory (AD) user accounts for authentication. 
To permit access, you must create a subject (user or group in AD) entry for the person or group you wish to grant access to. This can be done using XenCenter or the xe CLI.

--------------

Requeriments

1) A XenServer pool or a server.
2) An Active Directory Server (2003 or later)
3) An user account in AD for integration. This user MUST BE member of "Account Operator" as least.
4) Six groups in Active Directory. One for each Role Based Access Control.

1) Enabling Active Directory Authentication

- Join to Active Directory using XenServer. Under pool or server node, Users, Join Domain. Use the user created before*

- To disable, just click on Leave Domain.

- To enable using the xe CLI:

xe pool-enable-external-auth auth-type=AD \
service-name= \
config:user= \
config:pass=

- To disable using xe CLI:

xe pool-disable-external-auth

----------------------------------------------------------------

* This user MUST BE member of "Account Operator" as least.

----------------------------------------------------------------

2) Setup Role Based Access Control

XenServer's Role Based Access Control (RBAC) allows you to assign users, roles, 

and permissions to control who has access to your XenServer and what actions they 

can perform.

RBAC depends on Active Directory for authentication services. Specifically, 

XenServer keeps a list of authorized
users based on Active Directory user and group accounts.



There are 6 roles:

Pool Administrator (Pool Admin), Pool Operator (Pool Operator), Virtual Machine 

Power Administrator (VM Power Admin), Virtual Machine Administrator (VM Admin), 

Virtual Machine Operator (VM Operator), Read-only (Read Only)

- In XenCenter, under pool or server node go to users tab, click Add, put the name of 

the group to each role.



- Once the group was added, right click under Group, Change Role. Select the role 

for the group added.

- To remove a group, just click on remove.

- Using xe CLI to add subject:

xe subject-add subject-name=

- To Assign an RBAC Role to a Created subject using CLI:

xe subject-role-add uuid= role-uuid=
or
xe subject-role-add uuid= role-name=

- To remove a subject:

xe subject-remove subject-uuid=

--------------------------------------------------------------------------------------

Now, to provide access to a user/subject just add it in Active Directory on each Group.

---------------------------------------------------------------------------------------



Let me know if you have questions.

See ya.

domingo, 14 de julio de 2013

How to move from Google Latitude to Google+ Location

Google Latitude is not longer present in the new version of Google Maps for Android. The social location service Google will close on August 9 after being running for over four years in Google Maps application for Android and the most popular mobile operating systems.

Google+ now has an option labeled Location in the mobile app. Tapping this tab will take you to a service that looks very similar to Latitude, with the faces of your friends and family members strewn across a large map. You can zoom in and pinpoint their last reported location, but you can’t ping them for a check in like you could in Latitude. As long as your friend is reporting their location, however, you will see them move on the map.

If you’re interested in sharing your location with others, you have to go into Google+ Location and pick who you want to share your location with. You can share publicly, so anyone with a Google+ account can see your location, or you can choose to limit your sharing to specific circles and people. If you’re an active Google+ user who uses the circle organization system, this process is really quick. If you have everyone dumped into one circle, you basically have to either put the people you want to share with in a circle and choose that circle or select each individual and share with them.



See you in the next post.

Bye.

miércoles, 10 de julio de 2013

How to encrypt your emails with Secure Gmail

With the scandal of PRISM, for example, many advise encrypt your emails.

The idea that was already implicit spied on us, but we have confirmed that our sense of vulnerability raises the maximum, there is not much we can do. While we will be able to be spied on when someone in this program or other more regional and unveiled we still want it no matter how much security we have, there are ways to reduce the amount of information that will take or the increasing difficulty that will require them to find it. One of these methods is email encryption, and we recently found a Chrome extension that handles this.

Requirements
------------

- A Gmail account
- Google Chrome installed

---------------------------

1) Install Secure

- Open Google Chrome and go to Google Chrome Web Store: https://chrome.google.com

- In the search type: Secure Gmail and enter.

- Click on Secure Gmail by Streak

- Click Add to Chrome / Click OK to confirm

2) Sending a encrypted email

- Go to Gmail

- You will find next to the Compose button, another button again. That will be how to tell the extension you want to write an encrypted email.

- Then you will see the pop of writing but with the title in red.

- Write the recipient's address, a subject and then email content normally.

- When finished, pressures on the Submit button Encryption and the extension will be prompted to enter a password to encrypt it. You can add an optional password hint in case your recipient does not know the password. *

- The email arrives in your Inbox coded container with a button to open the popup and enter the password. **

------------------------------------------------------------------

* If you use password hint, the password is information that you two have in common and no one else can find with that suggestion.

**  In the case of the recipient not having Secure Gmail extension installed, a link to the download will come attached to the same email encryption

*** A detail is that the recipient can not answer with the same email encryption, so no conversation possible. So you will need to click the lock icon next to the reply button to compose a new message with encryption.



See ya.

Enjoy!

sábado, 6 de julio de 2013

How to apply updates to a pool of Citrix XenServers using the xe CLI

Since this release there is a new License mode. XenServer 6.2.0 replaces the previous XenServer Free, Advanced, Enterprise, and Platinum editions. XenServer 6.2.0 no longer requires a license server or licence file to enable features, all features are enabled for free in unlicensed mode. Licenses are only required to receive Citrix Support and to enable the use of XenCenter for the installation of security and feature hotfixes. Hotfixes can continue to be installed on unlicensed hosts using the xe command line.

Requeriments
------------

1) A XenServer Pool configured
2) SFTP Client/ SCP Client installed in a client machine *
3) SSH client installed in a client machine **
4) The patch that you want to install ***

-------------------------------------------

* In this demo I'm using Ubuntu as client and I will use Filezilla as to upload the patch on XenServer

** I will use Terminal

*** I will install XS62E002. You can download from Citrix Site. 

-----------------------------------------------------------------

1) Uploading the patch to Pool

- Upload the update to the XenServer master pool usin SFTP client.
- Upload the update file to the pool you wish to update by running the following:

xe -s -u -pw patch-upload file-name=

Here, -s refers to the name of the pool master. XenServer assigns the update file a UUID, which this command
prints. Note the UUID.*

----------------------

* Once an update file has been uploaded to a XenServer host, you can use the "xe patch-list" and "xe patch-param-list" commands to view information about the file.

If XenServer detects any errors or preparatory steps that have not been taken (for example, VMs are running in the pool), it alerts you.

--------------------------------

2) Update the pool

- Get the UUID of the update file:

xe patch-list

Copy the "uuid ( RO)" value.

- Update the pool, specifying the UUID of the update file, by running the following:

xe patch-pool-apply uuid=

- Verify that the update was applied by using the "xe patch-list" command. If the update has been successful, the hosts field contains the host UUID.

- Perform any post-update operations, as necessary (such as, rebooting the hosts).


That's it.

Hasta la proxima, enjoy!!

viernes, 5 de julio de 2013

How to integrate Citrix XenServer 6.2 with System Center Virtual Machine Manager 2012 (SCVMM 2012)

Hello my friends,

Now I will show you how to Integrate Citrix XenServer 6.2 with SCVMM 2012.

Requirements
----------
1) A SCVMM 2012 server
2) A Citrix XenServer 6.2
3) A PC with XenCenter installed
4) Microsoft System Center Integration Pack 6.2.0
for Citrix XenServer 6.2 Installers *

-------------------------------------------------- ----------------

* I downloaded from the Citrix website

-------------------------------------------------------------------

1) Install Microsoft System Center Integration Pack

- If you did not this at the installation of XenServer, you can do it after.

a) Put the installers in CDROM drive of Citrix XenServer
b) Go to XenCenter and then XenServer console
c) Mount the CDROM in XenServer with following steps:

mkdir-p / mnt / tmp
mount / dev / / mnt / tmp
cd / mnt / tmp /
. / install.sh
cd /
umount / mnt / tmp

- After the installation this message should appears: "Pack Installation Successful"

2) Securing communication between XenServer and SCVMM

- Create DNS entries for your XenServer Hosts
- Using your browser connect to the FQDN of each of your XenServer hosts
- Click the Certificate Error in the Security Status bar and select View certificates
- Make sure the FQDN on the certificate matches the FQDN of the XenServer host your connecting to. THIS IS IMPORTANT.
- When the Certificate import Wizard comes up select “Place all certificates in the following store” than click Browse. This will bring up the “Select Certificate Store” dialog. Navigate to “Trusted People” than select “Local Computer” Make sure “Show physical stores” is selected, than press OK. Select Next on the “Certificate Import Wizard” to proceed.
- You should be prompted letting you know the import was successful.

3) Adding your XenServer host's to SCVMM

- Open SCVMM Console

a) Creating the Run As account
- Go to Settings / Create Run As account:
. Name: Type a name
. Username: Username to connect to XenServer, usually "root".
. Password / Confirm Password: Password for the "root"
. Validate Domain Credentials: Unchecked
. OK

b) Adding your XenServer Hosts

- Click the VMs and Services section to Proceed with adding your XenServer host's to SCVMM.
- Once in the VMs and services section you will see "Clouds" and "All Hosts" at this point you can create a new folder or Host Group for your hosts.
- Under "Computer Name" section you XenServer Enter FQDN.
- Make sure to select the account you created Previously Which in the creating "Creating a Run As Account" section above than click OK.
- Now that your "Computer Name" and "Run As Account" are selected, chose your "Host Group of" which you would like to add your hosts to than click "Add".
- Summary dialog this is where you confirm adding of the "Computers".
- Once your host's are added you will see your name XenServer pool as the "Cluster" in SCVMM, and under it are all of your hosts.



4) Troubleshooting

- Check DNS functionallity and if all relevant servers can be resolved
- Check if the XenServer Certificate is valid and correspond correspondence with the computer name specified.
- Make sure if using secure communication

See you in the next post

Enjoy!!

viernes, 28 de junio de 2013

UPDATED: How to create an NFS Storage in Citrix XenServer (and iSCSI as well)

Hi,
Today I will show how to create a NFS Storage in XenServer 6.1

Requeriments:

- One or more installed XenServers
- A Resource Pool configured 
- An NFS server. For this demo I am using FreeNAS but you guys can use any other.
- The NFS Server must have static IP or be DNS addressable.
- The NFS should be configured to be accessed by one or more targets.

There are two ways to do this:

1) Creating an NFS SR using XenCenter

- At the Pool level,
- In the toolbar select New Storage. A wizard should open:

a) Type: Virtual Disk Storage / NFS VHD
b) Name: Name for the storage
c) Location: Enter the path of NFS shared
- Click SCAN and must show the UUID in the bottom.
- Select "Create New SR"
d) Finish

2) Creating an NFS SR using xe CLI

- Open the console one any XenServer in the pool.
- Create the SR by entering the following:

xe sr-create content-type=user type=nfs name-label= \
shared=true device-config:server= \
device-config:serverpath=

* Always make sure to have set the permission on the NFS Server.

* If you need help to setup up the FreeNAS, let me know.



To create an SR on the iSCSI share at the pool level using XenCenter

- At the Pool level,
- In the toolbar select New Storage. A wizard should open:

a) Type: Software iSCSI
b) Name: Name for the iSCSI storage
c) Target Host: Enter the iSCSI IP/Hostname
d) If you are using CHAP authentication introduce user and password
d) Click on "Discover IQNs" and must show the Target IQN.
e) Click on "Discover LUNs" and Target LUN should be appears.
f) Finish

-------

Tips: Be careful when setup the iSCSI with authentication. Remember introduce the credencials in XenCenter.

If you need help to setup a iSCSI in FreeNAS let me know.

Hope you find this useful.

Until next time. Enjoy!

UPDATE 2: Setup a NSF in FreeNAS


sábado, 22 de junio de 2013

UPDATED: Instalando Citrix XenServer 6.1 en VMware Workstation 9.0

Hola Amigos de MDS,

El día de hoy vamos a ver como Instalar Citrix XenServer 6.1 en VMware Workstation 9

Requisitos:

- Imagen ISO de XenServer 6.1 *
- XenCenter Instalado **

-------------------------------------------------------------------------------

* La Iso de XenServer la pueden descargar de la pagina de Citrix.
** El XenCenter lo pueden encontrar en el mismo ISO de XenServer

-------------------------------------------------------------------------------

1) Creacion de la VM en Vmware Workstation

Primero crearemos la maquina virtual con la siguiente configuración:

- Tipo de Configuración: Avanzada
- Compatibilidad de HW: Workstation 9.0
- Instalar desde: Colocamos la ruta de Nuestro Archivo ISO de XenServer 6.1
- SO Guest: Linux / Version: CentOS 64-bit
- Colocamos un nombre para la VM y la ubicación donde se va a crear.
- Procesadores: 1 / Cores: 1 *
- Memoria: En esta demo voy a usar 4 GB
- Tipo de red: En esta demo voy a usar tipo bridge.
- Controlador I/O: LS Logic
- Disco: Crear un nuevo Virtual Disk
- Tipo de Virtual Disk: SCSI
- Capacidad de Disco: En esta demo usaremos 400 GB / Almacenar el disco en un solo archivo
- Archivo de disco: Lo dejamos por defecto y le damos siguiente.

- Antes de darle FINALIZAR vamos a Personalizar el Hardware
- Nos vamos a Procesadores y marcamos la opción: "Virtualize Intel VT-x/EPT or AMD-V/RVI
- Removemos la disquetera (Floppy), tarjeta de sonido e impresora. Cerramos

- Le damos Finalizar.

---------------------

* Aveces puede presentarse algún problema cuando se asigna más de un procesador o más de un Core.

2) Instalación de XenServer6.1

- Le damos Power On a la VM creada y comenzara la instalación.*

-------------------------------------------------------------------------------------------

* Si necesitan ayuda con la instalación de XenServer, sólo mándeme un mensaje.

-------------------------------------------------------------------------------------------

3) Ingresamos a XenCenter

- Verificamos la conexión al XenServer desde XenCenter. * **

4) Creamos un ISO Library

- Generamos una conexión CIFS ***

----------------------------------------------------------------------------------------
* Sugerencia: Instalar los últimos Fixes liberados para XenServer. En esta demo voy a omitir este paso.

** No olviden activar la licencia del XenServer

*** Si tienen dudas de como crear un ISO library mandenme un mensaje.

----------------------------------------------------------------------------------------

5) Creamos VM's en XenServer

- Para esta demo voy a crear 1 VM de Windows Server 2008 R2 y una de Windows 2003 R2 *

----------------------------------------------------------------------------------------

* Recuerden que pueden crear VM's de acuerdo a la capacidad de HW que tengan.

-----------------------------------------------------------------------------------------




Espero que les sea de utilidad este tutorial. 
Déjame tu comentario y el dedito arriba (Like) :)

Hasta la proxima.... Enjoy!

Update: Creando una ISO Library