vCloud Director 9.1: Install NFS – Part 4


At first, we need to prepare the virtual machine we are going to deploy the NFS Server. These are the characteristics of the virtual machine.

  • O.S: CentOS 7 (64-bit)
  • vCPU: 2
  • RAM: 8 GB
  • HDD: 16 GB

Next, we need to install these packages on the CentOS server with yum:.

#yum install nfs-utils

And them, we need to create the directory that will be shared by NFS.

#mkdir /nfs

Change the permissions of the folder as follows.

#chmod -R 755 /nfs #chown nfsnobody:nfsnobody /nfs

Next, we need to start the services and enable them to be started at boot time.

systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
systemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap

Next, we need to install nano to share the NFS directory over the network a follows.

#yum install nano

And them …

# nano /etc/exports

We will make two sharing points  /nfs. Edit the exports file as follows:

/nfs            *(rw,sync,no_root_squash,no_all_squash)

Finally, start the NFS service

# systemctl restart nfs-server

Again we need to add the NFS service override in CentOS 7 firewall-cmd public zone service as:

firewall-cmd --permanent --zone=public --add-service=nfs
firewall-cmd --permanent --zone=public --add-service=mountd
firewall-cmd --permanent --zone=public --add-service=rpc-bind
firewall-cmd --reload

 

Hoping you have enjoyed this post, see you next time.

vCloud Director 9.1: Install Erlang and RabbitMQ – Part 3


If you are using 3rd party solutions with vCloud Director, you will probably need to install an AMQP broker or if you have more than one vCloud director node AMQP broker is needed which allows vCloud Director cells to exchange messages among each other. That´s will be our case.

At first, we need to install Erlang software, which makes rabbit MQ works properly. following the next steps to intall.

1. Download the software from this site https://www.erlang.org/downloads/.

2. execute the installer and choose the componentes you are going to deploy.

1.

3. Make sure that the process is finished.

2

 

Second, follow the next steps to install RabbitMQ software.

1. Download the software from this site https://www.rabbitmq.com/install-windows.html.

2. execute the installer and choose the componentes you are going to deploy.

3

4. Make sure that the process is finished.

4

5. Important: Test the RabbitMQ status by following the next command.

c:\Program files\RabbitMQ Server\rabbitmq_server-3.6.15\sbin>rabbitmqctl status

5

If you fall in this error:

TCP connection succeeded but Erlang distribution failed.

Follow the next step to solve it.

 

6. We need to go to this folder and copy the following file.

c.\Windows\System32\config\systemprofile\.erlang.cookie

6

7. Them, we need to replace the following file.

c.\Users\Administrator\.erlang.cookie

7

8. Finally, execute the RabbitMQ status and you should receive this message.

8

This means RabbitMQ is running.

9. Them, you should run this command to manage the RabbitMQ by HTML.

c:\Program files\RabbitMQ Server\rabbitmq_server-3.6.15\sbin>rabbitmq-plugins enable rabbitmq_management

9

10. Finally, we can get into the RabbitMQ service.

http://localhost:15672/

10

11

Hoping you have enjoyed this post, see you next time.

VMware NSX 6.4.1: Deploy and Configure


At first, we need to deploy the OVF appliance.

1 – Right Click on vCenter and Deploy OVF template.

01

2 – Select the file OVF.

02

03

3 – Select the name and location.

04

4 – Select resources.

05

5 – Review the details and  accept license agreements.

06

07

6 – Select the datastore you want to deploy the appliance (For best practice select Thick provision disk format).

08

7 – Select the network you want to manage the appliance.

10

8 – Customize the template as DNS, NTP, IP address, gateway, password etc.

11

9 – Review the summary and click finish.

12

10 – After the deployment is finished, turn on the virtual appliance and login into the console, validate the configuration interface.

13

Second, Now we are ready to connect NSX to vCenter Server.

1 – Connect to the NSX GUI by opening a web browser and navigating to the NSX Manager IP address and go to ´Manage vCenter registration´.

14

2 – Them configure Lookup Service URL (Platform service Controller) and vCenter Server information.

15

17

16

18

3 – Them you make sure that the Networking and security icon appears on the home tab.

19

Third, We can configure NSX Controller.

1- We just need IP pool addresses including the gateway.

Best Practice: Having three controllers is mandatory.

20

21

22

Note: Same process to the others.

23

Fourth, we need to exclude infrastructure virtual machine from the firewall protection.

24

25

26

This case: vCenter Server, Platform Service Controller, vCloud Director and so on.

Fifth, we are ready to prepare host cluster for NSX.

1 – Go to ´Installation and Upgrade´, them click on Host Preparation tab and click on Install.

27

2 – Finally, we need to verify the cluster status.

28

Sixth, Configure VXLAN Transport Parameters.

1 – Go to ´Installation and Upgrade´, them click on Host Preparation tab and click on CONFIGURE.

29

2 – Configure the following parameters.

30

If you have not configured IP Pool for the VXLAN, click on NEW IP POOL and configure it.

31

3 – Verify the VXLAN configuration.

32

4 – Configure the multicast address range for the VXLAN.

34

33

4 – Now we can configure the transport zone.

35

36

Now we are ready to use NSX 6.4!

Hoping you have enjoyed this post, see you next time.

 

VMware vSphere 6.5: Migrate Standard Switch to Distributed Switch


At first, we need to create the Distributed Switch.

1. Create new Distributed Switch.

01

2. Choose the distributed Switch name.

02

3. Select the Distributed Switch version, this case 6.5.0.

03

4. Specify the general settings.

Number of uplinks: It depends on your physical nic quantity.

04

5. Verify the summary and click finish.

05

Second, we need to prepare the portgroup for the migration.

1. Select the portgroup and click Edit Settings.

06

2. Make sure that you have the same security configuration from standard portgroup.

08

3. We need to validate that the Distributed Portgroup VLAN corresponds to the standard portgroup VLAN we are going to migrate.

07

4. Configure both Uplinks as active uplinks.

09

Third, you are ready to migrate Standard Swith to Distributed Switch.

1. Select the Distributed Switch and click Add and manage Hosts.

10

2. Click add hosts.

11

3. Click on New hosts and select the hosts you want to migrate.

12

13

4. Here you have to select the physical adapters and VMkernels you are going to migrate. (This vSphere version you can migrate both at the same time)

14

5.  Assign a vmnic from Standard Switch to an Uplink.

15

16.jpg

6. Assign a vmkernel from Standard Switch to a Distributed Portgroup.

17

18

7. Validate the impact.

19

8. Validate the summary and click finish.

20

9. Finally you can validate the Distributed Switch.

21.jpg

Hoping you have enjoyed this post, see you next time.

vCloud Director 9.1: Install vCloud Director – Part 2


At first, we need to prepare the virtual machine we are going to deploy the first cell. These are the characteristics of the virtual machine.

  • O.S: CentOS 7 (64-bit)
  • vCPU: 2
  • RAM: 16 GB
  • HDD: 16 GB
  • IP: 10.161.115.165 (Used for HTTP)
  • IP: 10.161.115.166 (Used for Proxy Console)

Next, we need to prepare the operating system with the following packages.

# yum install alsa-lib bash chkconfig coreutils findutils glibc grep initscripts 
krb5-libs libgcc libICE libSM libstdc libX11 libXau libXdmcp libXext libXi libXt 
libXtst module-init-tools net-tools pciutils procps redhat-lsb sed tar which wget

And them, we need to install the lastest operating system updates.

# yum update

And finally, we need to stop and disable the operating system firewall to avoid communication issues.

# systemctl stop firewalld

# systemctl disable firewalld

Second, follow the next steps to deploy the vCloud Director 9.1.

1. Copy the installation file using winSCP.

01

2. Ensure execute permission.

# chmod u+x vmware-vcloud-director-distribution-9.1.0-8825802.bin

3. Run the installation file.

# ./vmware-vcloud-director-distribution-9.1.0-8825802.bin

Note: After the software is installed, the installer prompts you to run the configuration scritp, which configures Certificates, Server’s network and database connections.

In this case, choose n and before to execute the script we must configure the certificates.

02

Third, follow the next steps to create a Self-Signed SSL Certificate.

1. Go to the directory /opt/vmware/vcloud-director/jre/bin.

2. Execute the following commands to generate the Self-Signed SSL Certificates.

  • For HTTP service
# ./keytool -keystore certificates.ks -alias http -storepass passwd -keypass passwd -storetype JCEKS -genkeypair -keyalg RSA -keysize 2048 -validity 365 -dname "CN=vcd01-prd.example.com, OU= Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd01-prd.example.com,dns:vcd01-prd,ip:10.161.115.165"
  • For Console Proxy service
# ./keytool -keystore certificates.ks -alias consoleproxy -storepass passwd  -keypass passwd -storetype JCEKS -genkeypair -keyalg RSA -keysize 2048 -validity 365  -dname "CN=vcd01-proxy-prd.example.com, OU=Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd01-proxy-prd.example.com,dns:vcd01-proxy-prd,ip:10.161.115.166"

3. Verify that all the certificates are generated, list the context of the keystore file.

# ./keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -list

03

 

 

 

4. Validate the certificates using WinSCP in the following directory /opt/vmware/vcloud-director/jre/bin.

04

5. Important: Copy the certificates in a directory in which must be readable by the user vcloud.vcloud. The vCloud Director installer creates this user and group. In this case ‘/opt/vmware/‘.

05

Continue reading “vCloud Director 9.1: Install vCloud Director – Part 2”

vCloud Director 9.1: Install and Configure Database – Part 1


At first, we need to defind what kind of data base we are going to deploy, there are tree options:

  1. Microsoft SQL Server Database
  2. Oracle Database
  3. PostgreSQL Database

In this case, we are going to deploy Microsoft SQL Server 2016 Standard SP1 Database. For Microsoft SQL Server Database these are the minimum prerequisites:

  • RAM: 16 GB
  • CPU: 4 CPUs
  • Disk: 100GB

Before you choose the Microsoft SQL Server Database version validate VMware Product Interoperability Matrices.

01

Second, follow the next steps to deploy Microsoft SQL Server 2016 Standard SP1.

1. Select stand-alone installation.

02

2. Enter your product key.

03

3. Accept license Terms.

04

4. Select Database Engine Services. Here it’s important to select another partition in the operating system for the date base, in this case E:\ – 100GB.

05

5. Select the instance´s name.

06

6. Select the service accounts, in this case keep it by default.

07

7. Select mixed mode and add an administrator account.

Note: Windows Authentication is not supported when use SQL Server with vCloud Director.

08

8. Verify the SQL configuration and click install.

09

9. Validate every feature is succeeded.

10

Continue reading “vCloud Director 9.1: Install and Configure Database – Part 1”

vSphere Replication 5.8: Deploying Appliance by vSphere Client


At first, you need to configure an IP Pool in the vSphere Client, because the deployment could fail while the IP address is being configured.

1 – Click on the Datacenter you want to deploy the appliance, select IP Pools and click add.

01

2 – Configure IPv4 options.

02

3 – Configure DNS options.

03

4- Configure Associations options that means the portgroup you want to associate, and click OK.

04

Second, Mount the ISO in the server you are going to deploy the OVF.

05

Third, following the next steps to deploy the OVF appliance.

1 – Click file and Deploy OVF template.

06

2 – Select the file OVF and the address.

07

Continue reading “vSphere Replication 5.8: Deploying Appliance by vSphere Client”

VMware vCSA 6.7: Deploying vCenter Server with external PSC


VMware-vCenter-Topology__452693609__-600x400

At first you need to download ISO media following this steps:

1 – Open the following link https://my.vmware.com/, and log in with your company account.

01

2 – Select View &  Download Products.

02

3 – Select All Products and VMware vSphere View Downloads Components.

04

4 -Select the version, this case vSphere 6.7.

05

5 – Select the Product and Go to Downloads.

06

6 – Here you find three types of media documents, we chose ISO file VMware vCenter Server Appliance and Download now.

07

Before you start the deployment, make sure your IP addresses can resolve the name and the reverse for vCenter Server and Platform Service Controller (PSC).

17

Note: If you don´t have DNS Server you can use IPs addresses for the deployment.

Second, we deploy Platform Service Controller  6.7 folling these steps.

1 – Mount ISO file on your PC.

08

2 – Navigate in this route vcsa-ui-intsaller\win32\installer.exe.

09

3 – Stage 1: The installer is opened and click install.

10.JPG

4 – This explain how your deployment is going to process, click next.

11

Continue reading “VMware vCSA 6.7: Deploying vCenter Server with external PSC”