Wednesday, October 3, 2018

Cancelling running Tasks on Nutanix AHV


login as: nutanix
Nutanix Controller VM
nutanix@192.168.15.40's password:
Last login: Wed Oct  3 20:45:53 IST 2018 from 192.168.15.21 on ssh
Last login: Wed Oct  3 20:46:03 2018 from 192.168.14.27
nutanix@NTNX-16SM60490506-B-CVM:192.168.15.21:~$ acli

<acropolis> task.list
Task UUID                                                      Parent Task UUID                                    Component                  Sequence-id                  Type                           Status
8e1891db-8684-4a96-a82a-255bcdd46e76                                                                       Acropolis                    1654             kVmDiskUpdate             kSucceeded
fb4c9fc5-d1a4-4ee0-b85f-bffe5aa3b277                                                                           Nutanix Guest Tools   11                MountGuestTools            kSucceeded
e97eeae1-6769-4b99-8697-500ee6fc4a49  a5f5b02f-31b4-4949-a9ef-bc6306ca83c5     Acropolis                    1653             kVmSetPowerState         kSucceeded
a5f5b02f-31b4-4949-a9ef-bc6306ca83c5                                                                          Uhura                          988              VmChangePowerState     kSucceeded
d93385de-20aa-4ea3-82be-34eae61963e3  b242c17f-6bc2-456a-b48d-8a047aa9df5e    Acropolis                    1652             kVmUpdate                     kSucceeded
b5e06fb1-9bd9-4846-91d3-c92bace664de                                                                        Acropolis                    1650             kImageCreate                  kRunning
351990a6-f901-4d98-8775-97fe1f7a6148                                                                         Acropolis                    1649             kImageCreate                  kRunning

<acropolis> task.get b5e06fb1-9bd9-4846-91d3-c92bace664de

<acropolis> task.cancel task_list=b5e06fb1-9bd9-4846-91d3-c92bace664de
Task cancel for UUID: b5e06fb1-9bd9-4846-91d3-c92bace664de: complete


Monday, September 11, 2017

Configure DC to synchronize time with external NTP server

How do I configure time in my Active Directory?
Well, it's simple! Normally it should be set correctly if we don't modify it in purpose,
Otherwise, we do provide some tools for that: w32tm.exe command-line utility and GPO. we are going to look here w32tm whihc is very easy.
  • Using w32tm.exe
Run the following command on the PDC emulator:  
If you have multiple domain controller and don't know which DC holds PDC role then use following command: netdom /query fsmo

w32tm /config /manualpeerlist:timeserver /syncfromflags:manual /reliable:yes /update
(where timeserver is a –space delimited– list of your time source servers)

Monday, November 21, 2016

Repairing WMI problems - WMI Service is Missing

WMI Service is missing but the wbem folder structure is present in the system.

After so much attempt able to resolve this issue..

Remember WinXP Service Pack 3 Solution ??  Permission issue  or access is denied

Same applied here

resetting the security permissions on the registry and system drive, which will also make sure that WMI is setup with the right permissions. You can do this by grabbing the SubInACL tool from Microsoft and running the following commands from the directory in which you installed it:

Friday, June 10, 2016

Restore Networking on Ubuntu 14.04

Restore Networking

 

Restores networking service in Ubuntu 14.04 with that of Ubuntu 13.10
Networking was changed in Ubuntu 14.04 without any clear reason why - further detail submitted by a user found here: http://askubuntu.com/a/449916

I've gone ahead and taken his suggestion of reverting the networking scripts back to that of 13.10 to allow for the familiar, working service networking restart command to function as expected.

Thursday, June 9, 2016

apt-get update fails in Ubuntu Server

Normal Ubuntu releases are supported for 9 months, whereas LTS (Long Term Support) releases are supported for 5 years.  Once support is up for the version of Ubuntu you are using the repository is moved to another server and will no longer be available on the standard 

apt-get update error - W: Failed to fetch mirrors / Some index files failed to download. They have been ignored, or old ones used instead

Friday, January 8, 2016

DHCP Server - Backup & restore Procedures

BACKUP & RESTORE OF DHCP SERVER

Manual DHCP server backup

You can also run backups manually through the DHCP management console. This feature can be useful if you intend to make major changes to your DHCP settings. You can back up the database to a location other than the default folder. Note that this won’t change the location of the regular automatic backups. This setting can only be changed in the Windows Registry with the BackupDatabasePath parameter.

Rebuilding the Windows 7 Icon Cache.

Follow these directions:

1. Close all folder windows that are currently open.
2. Launch Task Manager using the CTRL+SHIFT+ESC key sequence, or by running taskmgr.exe
3. In the Process tab, right-click on the Explorer.exe process and select End Process