0

Installing NSX Manager GUEST INTROSPECTION NSX Data Security

Guest introspection is a service that is deployed from NSX Manager to offload security functions. Guest Introspection installs a new vib and a service virtual machine on each host in the cluster. Guest Introspection is required for NSX Data Security, Activity Monitoring, and several third-party security solutions.

System Requirements for NSX

To install Guest Introspection First need to login into the vSphere web client and browse to Networking & Security.
on the left hand side click on Installation. Click the green plus symbol to add a new service deployment.

After this select Guest introspection

 

Select Storage and Network

Create IP Pool for the VM which NSX install for AV purpose.

 

 

Now select the IP Pool and click next

After that it will appear here in last tab

If you closely monitor vCenter task then it will start installing VM

In NSX manager you can see status.

Now your Guest Introspection is ready.

 

You can check this in vCenter under Newly created resource pool > ESX Agent.
This resource pool is auto created by NSX manager for these VM’s only.

 

If this VM giving you error or warning like Failed then just click on Resolve and it will delete the VM and create new VM.

0

Upgrade VMware vCloud Director for Service Providers v8.20 to v9.0.0

Now before starting this activity need to take backup for few VMs like. You can check my last blog regarding same.

Here is the link https://www.dtechinspiration.com/upgrade-vmware-vcloud-director-for-service-providers-v8-1-0-to-v8-20/

Now starting activity

 

Steps to upgrade

We are running only one vCD cell server. Here is the process:

  1. Restrict access to vCD and display a maintenance message for the duration of the upgrade.

 

0

Upgrade VMware vCloud Director for Service Providers v8.1.0 to v8.20

Today we are upgrading our vCloud Director from 8.10 to 8.20.

Now before starting this activity need to take backup for few VMs like.

  • Take Snapshot of vCloud Director VM
  • Take Snapshot of vCenter VM
  • Take Snapshot of NSX VM
  • Do the FTP backup for NSX VM
  • Take vCloud Database backup
  • Take vCenter Database backup
  • Login into vmware website and download the upgrade bin file from there
  • Copy it on vCloud Director Server using winscp software to copy this in tmp folder

 

Steps to upgrade

We are running only one vCD cell server. Here is the process:

  1. Restrict access to vCD and display a maintenance message for the duration of the upgrade.

2017-09-27 15_34_30-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_34_48-Service Unavailable

 

2. Quiesce vCD cell servers from the Cell Management Tool.

  • cd /opt/vmware/vcloud-director/bin/
    ./cell-management-tool -u username -p password cell –status
    ./cell-management-tool -u username -p password cell –quiesce true
    ./cell-management-tool -u username -p password cell –maintenance true

3. Upgrade the vCD software on all cell servers (If you have). Do not restart vCD services until the database is upgraded.

Log in to the target server as root.

  • Go to cd /tmp folder make this vCloud file as executable
  • chmod u+x vmware-vCloud-director-distribution-8.20.0-5515092.bin

After that run this command ./vmware-vCloud-director-distribution-8.20.0-5515092.bin

If the installer detects a version of vCloud Director installed on this server that is equal to or later than
the version in the installation file it displays an error message and exits. Otherwise, it prompts you to
confirm that you are ready to proceed to upgrade this server.

 

2017-09-27 15_36_17-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_36_23-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_36_41-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_36_53-mRemoteNG - confCons.xml - vCenter-Cloud-D

 

Upgrade the vCD database.

Note: Make Sure you have Database backup before upgrading Schema for database.

image

 

Go to this location: cd /opt/vmware/vCloud-director/bin/

type ./upgrade

2017-09-27 15_39_54-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_40_24-mRemoteNG - confCons.xml - vCenter-Cloud-D

 

After that it will ask you to restart vCD server press Y.

2017-09-27 15_41_09-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_41_43-mRemoteNG - confCons.xml - vCenter-Cloud-D

 

Restart the vCD services on the cell servers.

2017-09-27 15_42_53-mRemoteNG - confCons.xml - vCenter-Cloud-D2017-09-27 15_41_43-mRemoteNG - confCons.xml - vCenter-Cloud-D

 

If you had the vCD web console open during the upgrade, log out to clear the browser cache.

2017-09-27 15_47_00-VMware vCloud Director

Errors during and After upgrade:

 

1. First thing after upgrade vCloud Director, vCD VM not getting IP address

To resolve this issue you have to make nic UP and Down for Centos or Linux

  • ifup eth0 and ifdown eth0
  • Also known error (Due Gratuitous ARP issue)

2. After that vCenter not connecting in vCloud Director.

We discovered the connection issue was due to vCenter using TLSv1 which we needed to enable on the vCD cell by running

  • /opt/vmware/vcloud-director/bin]# ./cell-management-tool ssl-protocols -d SSLv3,SSLv2Hello

and then restarting the cell services.

To perform this activity you have to follow below steps.

  • A. Login to the vCloud Director cell via SSH as root.
  • B. Change directory to where the cell-management-tool is located.
    ># cd /opt/vmware/vcloud-director/bin
  • C. Run the tool to verify the job count and active state (true):
    ># ./cell-management-tool -u administrator cell -t
    Please enter the administrator password:
    Job count = 2
    Is Active = true
  • D. Use the quiesce feature to ensure the cell takes no new jobs
    ># ./cell-management-tool -u administrator cell -q true
    Please enter the administrator password:
  • E. Run the tool to verify the job count and active state (false):
    ># ./cell-management-tool -u administrator cell -t
    Please enter the administrator password:
    Job count = 0
    Is Active = false
  • F. Shut down the cell once the Job count = 0 and Is Active = false:
    ># ./cell-management-tool -u administrator cell -s
    Please enter the administrator password:
  • G. Stop the vCloud Director services:
    ># service vmware-vcd stop
    Stopping vmware-vcd-watchdog:        [  OK  ]
    Stopping vmware-vcd-cell:                   [  OK  ]

3. Here you need to access your vCloud Director SQL database

and run these commands. (Run these command in one go)

  • update jobs set status = 3 where status = 1;
    update last_jobs set status = 3 where status = 1;
    delete from busy_object;
    delete from QRTZ_SCHEDULER_STATE;
    delete from QRTZ_FIRED_TRIGGERS;
    delete from QRTZ_PAUSED_TRIGGER_GRPS;
    delete from QRTZ_CALENDARS;
    delete from QRTZ_TRIGGER_LISTENERS;
    delete from QRTZ_BLOB_TRIGGERS;
    delete from QRTZ_CRON_TRIGGERS;
    delete from QRTZ_SIMPLE_TRIGGERS;
    delete from QRTZ_TRIGGERS;
    delete from QRTZ_JOB_LISTENERS;
    delete from QRTZ_JOB_DETAILS;
    delete from compute_resource_inv;
    delete from custom_field_manager_inv;
    delete from ccr_drs_vm_host_rule_inv;
    delete from cluster_compute_resource_inv;
    delete from datacenter_inv;
    delete from datacenter_network_inv;
    delete from datastore_inv;
    delete from dv_portgroup_inv;
    delete from dv_switch_inv;
    delete from folder_inv;
    delete from managed_server_inv;
    delete from managed_server_datastore_inv;
    delete from managed_server_network_inv;
    delete from network_inv;
    delete from resource_pool_inv;
    delete from storage_pod_inv;
    delete from task_inv;
    delete from task_activity_queue;
    delete from activity;
    delete from activity_parameters;
    delete from failed_cells;
    delete from lock_handle;
    delete from vm_inv;
    delete from property_map;

4. Start the vCloud Director services:
># service vmware-vcd start
Starting vmware-vcd-watchdog: [ OK ]
Starting vmware-vcd-cell: [ OK ]

0

VMware vSphere NSX 6.3.3 Step-By-Step Installation : Howto

 

NSX Manager Deployment

1. NSX Manager

It will automatically install all the required component as per request Like NSX controller.

2. NSX Controllers: Need to be deploy in odd number like 3 or 5.

3. Edge

4. Distributed Router Controllers

 

Now First you need to Create NSX Cluster this is not compulsion but suggested or i have created one Resource pool with Expandable check.

image

Download the OVA file from VMware website.

image

 

NSX Components Layer where they Installed.

Data Plane: On ESXi host

          a) Kernel Modules: VXLAN (16 Million VXLAN Segment)

b) Distributed Logical Router (DLR)

c) Distributed Firewall (DFW)

d) VDS switch and Edge Service Appliance.

Control Plane:

             a) NSX Controllers

b) User World Agent

c) Logical Router Control VM

Management Plane:

             a) vCenter Server

b) NSX Manager

             c) Message Bus

 

Deployment of NSX Manager:

1. Only One NSX manager per vCenter Server.

2. Deploy as a VM.

3. What if my NSX manager is Shutdown: No worries, everything continues to work but you will not able to change anything. No Service impact.

Solution: Protect with vSphere HA.

NSX manager Virtual Machine Requirement: reference vmware doc.

1. 4 vCPUs

2. 16 GB of RAM

3. 60 GB of Storage

Steps for Installation:

1. Right-Click on the cluster in which you would like to deploy the NSX Manager OVA and choose “Deploy OVF Template”

2017-09-12 14_46_23-vSphere Web Client

image

2. Browse the file and Click next.

image

3. Select the Resources

2017-09-12 14_50_12-vSphere Web Client

4. Review the details and click Next.

image

5. Accept the License agreements and click next.

image

6. Select Storage and click next.

image

7. Now Provide Network from VDS.

image

8. Provide IP details, CLI password and DNS sever click next and finish.

image

After installation you will see new icon with Networking & Security.

image

when you click on Dashboard option on the left hand side then you can see that status of NSX Manager and Host Preparation Status.

image

When you click on Installation Option then it will show you NSX manager and it’s controller nodes name and status.

2017-09-12 16_07_09-vSphere Web Client

Now under Installation you have multiple tabs like Management, Host Preparation, Logical Network Preparation and Service deployments

Click on the Host Preparation and you can see whether NSX manager module vCenter, NSX Manager, EAM(ESX Agent Manager) is installed or not.

These are the VIB which will be install.

esx-vsip
esx-vxlan

 

image

Open Putty session for ESXi host.

 

[root@esx002291:~] esxcli software vib list
Name                                                           Version                                Vendor  Acceptance Level  Install Date
—————————–  ——————————————————————-  ——  —————-  ————

esx-vsip                                            6.5.0-0.0.5534171                      VMware  VMwareCertified   2017-07-19
esx-vxlan                                         6.5.0-0.0.5534171                      VMware  VMwareCertified   2017-07-19

0

vSAN ReadyNode™ Sizer: Size and Deploy vSAN for…

vSAN ReadyNode™ Sizer: Size and Deploy vSAN for the workload of your choice

vSAN ReadyNode™ Sizer: Size and Deploy vSAN for…

The new All Flash vSAN ReadyNode™ Sizer is now available and is accessible here: https://vsansizer.vmware.com/ What are the key features of the vSAN ReadyNode™ Sizer? The key features of vSAN ReadyNode™ Sizer are: Evaluation Sizer: A basic evaluation version of the vSAN ReadyNode™ Sizer which requires minimal input such as the count of The post vSAN ReadyNode™ Sizer: Size and Deploy vSAN for the workload of your choice appeared first on Virtual Blocks .


VMware Social Media Advocacy

0

Latest Fling from VMware Labs – DRS Lens

Latest Fling from VMware Labs – DRS Lens

Latest Fling from VMware Labs – DRS Lens

As VMware vSphere DRS has become more widely adopted now, more and more users are interested in knowing how it works. They need more insights into DRS activity and actions. They want to know the value that DRS provides to their clusters. DRS Lens is an attempt to provide a UI-based solution to help understand DRS better. DRS Lens provides a simple, yet powerful interface to highlight the value proposition of vSphere DRS. Providing answers to simple questions about DRS will help quell many of…Read More


VMware Social Media Advocacy