Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 176561 articles
Browse latest View live

UAG v3.1.1 RSA Integration

$
0
0

We are trying to configure UAG to work with RSA, unfortunately without success so far.

As I am reading the documentation and as I am looking at the configuration page about RSA in UAG, I AM AMAZED TO SEE THE FOLLOWING LINES:

 

*External HOST Name          Enter the IP address of the Unified Access Gateway instance. The value you enter must match the value

you used when you added the Unified Access Gateway appliance as an authentication agent to the RSA SecurID server.

*Internal HOST Name           Enter the value assigned to the IP address prompt in the RSA SecurID server

 

Please see attached the screenshot from the actual installation - UAG.png

These values will always be the same, if they are the IP Addresses of the UAG!  This is according to my understanding.

 

Please see attached screenshot from the actrual installation of the RSA - where the things are looking much logical. - RSA.png

 

Despite everything we tried including deploying from powershell and ini configuration file, we are still in the middle of nowhere.

The login prompt offered from UAG should include RSA embedded text. But this is NOT happening. No trace from attempt in the RSA...

 

I am wondering if somewhere out there exist living person who have successfully integrated these two solutions?

Any help from this extraordinary man will be greatly appreciated.


file copy speed from usb disk to vm has been decreased

$
0
0

Dear all

Hi

 

today appear a new problem

i connect an external disk to my esxi host (HP DL380 G8) and add usb disk as a device to one of my vms(redhat4.7)

i want copy a file from usb to my vm while copying start . the speed of copy was good about

50mb/s but after 2minutes the speed of copy has been decreased to 1-2mb/s and host memory increase

now what is the problem ? why my copy speed has been decreased ?

 

BR

vCenter SSO 5.1 Administrator Password has expired

$
0
0

we are planing to upgrade vCenter 5.1 Server, whose SSO administrator@vsphere.local password has expired . We tried to do a password reset as mentioned in the below link, but it is failing . We do not have any other user accounts that has rights on the SSO.

 

VMware vSphere 5.1

 

 

As you know, VMware support has ended since it is 5.1. Please help.

 

Aj

Workstation 14 - no Logitech mouse wheel in guest

$
0
0

I’m using VMware Workstation Pro 14 on Windows 10 x64 with Windows and Linux guests. 

 

I installed a Logitech Ergo MX trackball.  The scroll wheel works perfectly on the host OS, but does not work in the guest OS. This works fine with a Microsoft mouse – the scroll wheel works in both the host OS and the guest OS.

 

Is there a way to make this work in guest instances?  Should this be reported as a defect in Workstation?

 

Mark

Privilege are not working correctly in vSphere web client SDK 6.5. (html)

$
0
0

Hi,

 

I am using vSphere web client SDK 6.5 for vCenter plugin development and working on HTML client.

 

I have added extension in plugin.xml with following code :

 

<extension id="com.mycompany.mainView">

        <extendedPoint>vise.global.views</extendedPoint>

        <object>

            <name>MyApp</name>

            <componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">

                <object>

                    <root>

                        <url>/vsphere-client/mycompany/resources/abc/view/abc.html</url>

                    </root>

                </object>

            </componentClass>

        </object>

       <metadata>

           <privilege>mycompany.global.viewBasicInfo</privilege>

       </metadata>

 

This piece of code is working correctly on FLEX client and I am able to access my plugin, however same code on HTML client is showing message which showing that, "You have no privileges to view this object or it does not exist." Even I logged in with Admin user credentials which has all privileges.

 

Please assist.

esxi hdd gözükmüyor

$
0
0

Merhaba yeni kurduğum esxi 6.5.0 Update 1 (Build 7526125) tüm güncellemeler yapılı şekilde server 2012 kurdum başta fark etmedim disk kapasitesini arttırmak istediğimde edit kısmına girdim ama hdd gözükmüyordu herhalde yanlış kurdum dedim sonra yeni kurulum yaptım  orada da aynısı çıktı hdd gözükmüyor ayarlayamıyorum otomstik default ayarlanıyor yeni hdd eklemek istediğimde eklenmiyor neden olabilir bilen varsa nasıl çözebilirim.

vCSA after upgrade to 6.5 not showing any hosts

$
0
0

Hi!

I'm trying to perform an update from vCenter and vSphere from 6.0 to 6.5, but vCenter hangs after upgrade to 6.5. With hangs I mean: installation/migration goes well, startup goes well, but when I logon to vCenter (Flash and HTML5), no hosts are displayed. I just get a "loading..." (screenshot) and nothing happens.

Any idea how to debug that? What log files should I look at?

TIA

 

Untitled.png

Unable to start Network service

$
0
0

Hi my vmware player is unable to start because of kernel module updater. When I do "install updates" , it just stops services, doing something at background and stops immediately telling that "Unable to start services" . Probably problem stems from vmware network adapter. Here is my environment infos:

 

OS: Ubuntu 16.04.3 LTS

Arch: x64

Kernel: Linux my-pc 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Soft: Vmware player 12.5.9

 

Log file:

 

Log data

2018-01-14T16:55:06.962+04:00| vthread-4| I125: Log for VMware Workstation pid=13022 version=12.5.9 build=build-7535481 option=Release

2018-01-14T16:55:06.962+04:00| vthread-4| I125: The process is 64-bit.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

2018-01-14T16:55:06.962+04:00| vthread-4| I125: Host is Linux 4.13.0-26-generic Ubuntu 16.04.3 LTS

2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.

2018-01-14T16:55:06.962+04:00| vthread-4| I125: PREF Failed to load user preferences.

2018-01-14T16:55:07.009+04:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-13022.log

2018-01-14T16:55:07.021+04:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-14T16:55:07.021+04:00| vthread-4| I125: Created new pathsHash.

2018-01-14T16:55:07.021+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-14T16:55:07.021+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.021+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.021+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.021+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.028+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.028+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.168+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-14T16:55:07.168+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Read 22181 symbol versions

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmmon module.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmnet module.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmblock module.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vmci module.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Reading in info for the vsock module.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Setting vsock to depend on vmci.

2018-01-14T16:55:07.190+04:00| vthread-4| I125: Invoking modinfo on "vmmon".

2018-01-14T16:55:07.192+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2018-01-14T16:55:07.192+04:00| vthread-4| I125: Invoking modinfo on "vmnet".

2018-01-14T16:55:07.193+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-14T16:55:07.194+04:00| vthread-4| I125: Invoking modinfo on "vmblock".

2018-01-14T16:55:07.195+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-14T16:55:07.195+04:00| vthread-4| I125: Invoking modinfo on "vmci".

2018-01-14T16:55:07.197+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-14T16:55:07.197+04:00| vthread-4| I125: Invoking modinfo on "vsock".

2018-01-14T16:55:07.199+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.

2018-01-14T16:55:07.216+04:00| vthread-4| I125: to be installed: vmnet status: 0

2018-01-14T16:55:07.236+04:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-14T16:55:07.236+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-14T16:55:07.236+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.236+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.236+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.236+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.243+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.243+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.372+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-14T16:55:07.372+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-14T16:55:07.394+04:00| vthread-4| I125: Read 22181 symbol versions

2018-01-14T16:55:07.394+04:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.13.0-26-generic/build/include

2018-01-14T16:55:07.396+04:00| vthread-4| I125: Update kernel header path to /lib/modules/4.13.0-26-generic/build/include

2018-01-14T16:55:07.396+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.396+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.396+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.396+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.402+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.402+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.403+04:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"

2018-01-14T16:55:07.406+04:00| vthread-4| I125: Got gcc version "5.4.0".

2018-01-14T16:55:07.406+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-14T16:55:07.406+04:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".

2018-01-14T16:55:07.409+04:00| vthread-4| I125: Got gcc version "5.4.0".

2018-01-14T16:55:07.409+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-14T16:55:07.410+04:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.13.0-26-generic".

2018-01-14T16:55:07.410+04:00| vthread-4| I125: No matching PBM set was found for kernel "4.13.0-26-generic".

2018-01-14T16:55:07.410+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-14T16:55:07.410+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.410+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.410+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.410+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.418+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.418+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.419+04:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.

2018-01-14T16:55:07.419+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.419+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.419+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.419+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.427+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.427+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.427+04:00| vthread-4| I125: Using temp dir "/tmp".

2018-01-14T16:55:07.429+04:00| vthread-4| I125: Obtaining info using the running kernel.

2018-01-14T16:55:07.429+04:00| vthread-4| I125: Setting header path for 4.13.0-26-generic to "/lib/modules/4.13.0-26-generic/build/include".

2018-01-14T16:55:07.429+04:00| vthread-4| I125: Validating path "/lib/modules/4.13.0-26-generic/build/include" for kernel release "4.13.0-26-generic".

2018-01-14T16:55:07.429+04:00| vthread-4| I125: Failed to find /lib/modules/4.13.0-26-generic/build/include/linux/version.h

2018-01-14T16:55:07.429+04:00| vthread-4| I125: /lib/modules/4.13.0-26-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2018-01-14T16:55:07.429+04:00| vthread-4| I125: using /usr/bin/gcc for preprocess check

2018-01-14T16:55:07.438+04:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.13.0-26-generic".

2018-01-14T16:55:07.438+04:00| vthread-4| I125: The header path "/lib/modules/4.13.0-26-generic/build/include" for the kernel "4.13.0-26-generic" is valid.  Whoohoo!

2018-01-14T16:55:07.570+04:00| vthread-4| I125: found symbol version file /lib/modules/4.13.0-26-generic/build/Module.symvers

2018-01-14T16:55:07.570+04:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.13.0-26-generic/build/Module.symvers.

2018-01-14T16:55:07.591+04:00| vthread-4| I125: Read 22181 symbol versions

2018-01-14T16:55:07.591+04:00| vthread-4| I125: Invoking modinfo on "vmnet".

2018-01-14T16:55:07.593+04:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.

2018-01-14T16:55:08.491+04:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.13.0-26-generic/misc/vmnet.ko".

2018-01-14T16:55:08.491+04:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".

2018-01-14T16:55:08.499+04:00| vthread-4| I125: Successfully extracted the vmnet source.

2018-01-14T16:55:08.499+04:00| vthread-4| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-lAVtko/vmnet-only auto-build HEADER_DIR=/lib/modules/4.13.0-26-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"

2018-01-14T16:55:10.691+04:00| vthread-4| W115: Failed to build vmnet.  Failed to execute the build command.


vSphere 6.0 upgrade to 6.5

$
0
0

Hi,

 

We have a system that is delivered 1 year ago, I believe its delivered with a UFM module but unsure if the vShpere is installed. So 2 questions.

 

1. If the system is preinstalled with UFM module vSphere 6.0 can we just download 6.5 from the vendor and run the upgrade from DVD

or

2. If the system is not preinstalled, and the UFM module is empty, can we download 6.5 install this with the license we have for 6.0 ?

 

And if you have some good links to upgrade 6.0 -> 6.5 it would be nice.

 

Thanks for reply.

Vcenter disk

$
0
0

In vcenter 6.5 version,The disk is not marked as a flash disk, suggesting that the disk is in use

License 7.0 install 7.4

$
0
0

Hi,

 

We are going to install Horizon View, and we have bought this a time back but not installed it yet.

We have license for 7.0 but could we download 7.4 and use the 7.0 license ?

Or do we have to install 7.0 first and then upgrade to 7.4 ?

 

Thanks for reply.

force esxi headless

$
0
0

hello,

i am testing gpu passthrough to my vm(s). i have 2 gpus in the host, and i'm able to pass through gpu#1 to the vm. gpu#2 is used by esxi.

now i would like to add a second vm, and pass gpu#2 to it. for this i need to make sure that esxi doesn't use the gpu at boot time.

so essentially, i would like to turn esx into a headless system.

 

the only thing i found in the docs was this

Detecting a Headless System

 

"You can set the headless flag in the ACPI FADT table to mark a system as headless"

can someone explain how that is done exactly?

ESXi-5.5.0-20180104001-standard

$
0
0

Anyone know why ESXi-5.5.0-20180104001-standard is missing from hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml as of tonight?  I'm in the middle of patching some hosts and it disappeared yet the 6.0 & 6.5 profiles are still there.

vSphere Essentials Plus Kit - Costs to extend/expand?

$
0
0

We are considering purchasing the vSphere Essentials Plus Kit (3x 2-CPU servers) with 3years of support.

 

With regards to this:

 

[1] during the 3 year support period, are we eligible for free upgrades for vSphere/vCenter/ESXi?

 

[2] what happens when the 3 years of support runs out? Will vSphere/vCenter/ESXi stop working?

 

[3] what is the cost to renew support at the end of this 3 years?

 

[4] if we decide to purchase an additional server with 2x CPU-sockets, what is the cost to add this to our existing vCenter cluster?

 

 

thanks in advance!

No Boot Camp Volumes Found

$
0
0

Hi, My boot camp stop working even not able to add new boot camp, trying direct boot to windows  (hold Option key switching) even not working.. anyone around recovered from this issue?

 

 

 


Windows 2012R2 and ESXi 6.5U1

$
0
0

I'm using ghettoVCB 2016-11-20 on ESXi 6.5U1 and I got an issue with Windows 2012 r2 VM to backup.

 

The VM is configurated with 2 vmdk (one for system and one for data) thin provisioned vmdk.

 

I can backup the VM with ghettoVCB (thin format, quiesce file system), but when I try to power on the clone VM, Windows 2012 doens't boot because  the system volume has read-only, hidden, No Default Drive Letter and shadow copy all set to Yes

 

Following KB2001611: VMware Knowledge Base  , I can fix the system volume and the VM boots correctly. Any services works as expected (MS SQL, IIS, AD, DCHP and so on..).

 

Why so strange behaviour? I always powered on ghettoVCB backup VMs without any issue at all (Linux, Windows, SCO) in previous version of ESXi.

 

I hope some gurus may help me.

 

Thanks in advance

 

Balteck

vExpert: René van den Bedem

$
0
0

This document is a detail page for the VMware vExpert Directory.

Expert Information

NameRené van den Bedem
LocationCincinnati, OH
United States
Short DescriptionNPX#8, 3xVCDX#133, 25 year IT and Telecoms Professional, Chief Architect & Strategist
AffiliationPartner
IndustryTelecommunications
Website/Bloghttp://vcdx133.com
Twitterhttp://www.twitter.com/@vcdx133
LinkedIn Profilehttps://www.linkedin.com/in/ren%C3%A9-van-den-bedem-02713472/
OverviewRene is an Enterprise Architect & Strategist with 25+ years of experience within the Telecommunications and IT industries. His experience has been very broad and varied, from software development and testing, systems engineering and technical design to systems integration and project management.
Technical CertificationsNPX#8, 3xVCDX#133, CCNP, JNCIS, Australian Master Cabler
Publications and Speaking EngagementsReference Customer, Blogging and Podcasting
User Groups and CommunitiesCisco Champion 2014, VCDX Mentor, Nutanix Technology Champion, Dell-EMC Elect
Expertise and InterestsCloud, Automation, Virtualisation, Data Center, Infrastructure, Networking

 

 


View all vExpert entries

Падает Horizon Agent

$
0
0

Перестал отвечать Horizon Agent установленный на пользовательской виртуалке (Win7). Появилась ошибка (во вложении). Что она означает?

VMware Photon OS 2.0 で NFS Server / NFS Client をためす。

$
0
0

ためしに、VMware Photon OS 2.0 で NFS 環境を構築してみようと思います。

今回は、NFS Server / NFS Clent の両方を Photon OS にしてみます。

 

NFS Server

  • ホスト名は ph20-nfs-sv-01
  • IP アドレス/サブネットマスクは 192.168.12.240/24

NFS Client

  • ホスト名は ph20-nfs-client-01
  • IP アドレス/サブネットマスクは 192.168.12.241/24

 

OS の準備。

Photon OS 2.0 は、OVA 版(photon-custom-hw13-2.0-304b817.ova)をデプロイしてあります。

NFS Server / NFS Client はどちらも、ホスト名、ネットワークの設定をすませて、

RPM をこの時点の最新のものにしてあります。

root@photon-machine [ ~ ]# hostnamectl set-hostname ph20-nfs-sv-01

root@photon-machine [ ~ ]# tdnf update -y

root@photon-machine [ ~ ]# reboot

 

NFS Server の構築。

今回は、NFS で共有するために VM に仮想ディスク 2(/dev/sdb)を追加しています。

仮想ディスク 2 は VM に追加ずみです。

(NFS で共有するディレクトリは、仮想ディスクをわけずにディレクトリを指定してもよいです)

 

NFS 共有のためのディスク準備。

ディスク(/dev/sdb)をフォーマットします。

sdb が認識されています。

root@ph20-nfs-sv-01 [ ~ ]# lsblk -l /dev/sd?

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda    8:0    0  16G  0 disk

sda1   8:1    0   3M  0 part

sda2   8:2    0  16G  0 part /

sdb    8:16   0  40G  0 disk

 

パーティションを作成します。これで /dev/sdb1 が作成されます。

root@ph20-nfs-sv-01 [ ~ ]# echo '2048,,L' | sfdisk -uS /dev/sdb

 

ext4 ファイルシステムでフォーマットします。

root@ph20-nfs-sv-01 [ ~ ]# mkfs -t ext4 /dev/sdb1

 

今回は、/opt/share ディレクトリを作成してマウントします。

root@ph20-nfs-sv-01 [ ~ ]# mkdir -p /opt/share

root@ph20-nfs-sv-01 [ ~ ]# chmod -R 755 /opt

root@ph20-nfs-sv-01 [ ~ ]# echo '/dev/sdb1 /opt/share ext4 defaults 0 0' >> /etc/fstab

root@ph20-nfs-sv-01 [ ~ ]# cat /etc/fstab

UUID=c1e929b0-5a75-4783-b99f-f79b4007da4e    /    ext4    defaults 1 1

/dev/sdb1 /opt/share ext4 defaults 0 0

root@ph20-nfs-sv-01 [ ~ ]# mount -a

root@ph20-nfs-sv-01 [ ~ ]# df -h /opt/share

Filesystem      Size  Used Avail Use% Mounted on

/dev/sdb1        40G   49M   38G   1% /opt/share

 

lsblk コマンドでも、/dev/sdb1 がマウントされたことが確認できます。

root@ph20-nfs-sv-01 [ ~ ]# lsblk -l /dev/sd?

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda    8:0    0  16G  0 disk

sda1   8:1    0   3M  0 part

sda2   8:2    0  16G  0 part /

sdb    8:16   0  40G  0 disk

sdb1   8:17   0  40G  0 part /opt/share

 

NFS Server のセットアップ。

nfs-utils をインストールします。

root@ph20-nfs-sv-01 [ ~ ]# tdnf install -y nfs-utils

 

NFS 関連のサービスを有効化 / 起動します。

 

rpcbind

root@ph20-nfs-sv-01 [ ~ ]# systemctl enable rpcbind

Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service.

Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket.

root@ph20-nfs-sv-01 [ ~ ]# systemctl start rpcbind

root@ph20-nfs-sv-01 [ ~ ]# systemctl is-active rpcbind

active

 

nfs-server

root@ph20-nfs-sv-01 [ ~ ]# systemctl enable nfs-server

Created symlink /etc/systemd/system/multi-user.target.wants/nfs-server.service → /lib/systemd/system/nfs-server.service.

root@ph20-nfs-sv-01 [ ~ ]# systemctl start nfs-server

root@ph20-nfs-sv-01 [ ~ ]# systemctl is-active nfs-server

active

 

NFS で共有するディレクトリをエクスポートします。

今回は、マウントするアドレスを制限していない(「*」を指定している)ため
exportfs では /opt/share は「<world>」となっています。

ちなみに no_subtree_check は、exportfs 実行時のメッセージ抑止のためにデフォルト値をそのまま記載しています。

root@ph20-nfs-sv-01 [ ~ ]# echo '/opt/share *(rw,no_root_squash,no_subtree_check)' >> /etc/exports

root@ph20-nfs-sv-01 [ ~ ]# cat /etc/exports

/opt/share *(rw,no_root_squash,no_subtree_check)

root@ph20-nfs-sv-01 [ ~ ]# exportfs -r

root@ph20-nfs-sv-01 [ ~ ]# exportfs

/opt/share      <world>

 

iptables の設定。

2049 番ポートあての通信を許可しておきます。

今回の NFS Server / NFS Client は、どちらも 192.168.12.0/24 のネットワーク セグメントにあります。

※環境によっては、systemctl disable iptables でもよいかもしれません。

※今回は、NFS v4 を利用しています。(Photon OS 2.0 のデフォルト)

root@ph20-nfs-sv-01 [ ~ ]# iptables -A INPUT -s 192.168.12.0/24 -p tcp --dport 2049 -j ACCEPT

root@ph20-nfs-sv-01 [ ~ ]# iptables -A INPUT -s 192.168.12.0/24 -p udp --dport 2049 -j ACCEPT

root@ph20-nfs-sv-01 [ ~ ]# iptables-save > /etc/systemd/scripts/ip4save

 

NFS Client でのマウント。

Client 側でも、nfs-utils をインストールします。

root@ph20-nfs-client-01 [ ~ ]# tdnf install -y nfs-utils

 

/opt/share ディレクトリ を作成して、NFS をマウントします。

root@ph20-nfs-client-01 [ ~ ]# mkdir -p /opt/share

root@ph20-nfs-client-01 [ ~ ]# chmod -R 755 /opt

root@ph20-nfs-client-01 [ ~ ]# echo '192.168.12.240:/opt/share /opt/share nfs _netdev 0 0' >> /etc/fstab

root@ph20-nfs-client-01 [ ~ ]# mount -a

root@ph20-nfs-client-01 [ ~ ]# df -h /opt/share

Filesystem                 Size  Used Avail Use% Mounted on

192.168.12.240:/opt/share   40G   48M   38G   1% /opt/share

 

Photon OS 2.0 では、デフォルトは NFS v4 になります。

root@ph20-nfs-client-01 [ ~ ]# nfsstat -m

/opt/share from 192.168.12.240:/opt/share

Flags: rw,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.12.241,local_lock=none,addr=192.168.12.240

 

root@ph20-nfs-client-01 [ ~ ]# nfsstat -l

nfs v4 client        total:      300

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

nfs v4 client        write:        3

nfs v4 client         open:        9

nfs v4 client    open_noat:        4

nfs v4 client        close:        4

nfs v4 client      setattr:       10

nfs v4 client       fsinfo:       20

nfs v4 client       access:       24

nfs v4 client      getattr:       81

nfs v4 client       lookup:       24

nfs v4 client  lookup_root:        5

nfs v4 client       create:        2

nfs v4 client     pathconf:       15

nfs v4 client       statfs:        5

nfs v4 client      readdir:        8

nfs v4 client  server_caps:       35

nfs v4 client  delegreturn:        1

nfs v4 client  exchange_id:        5

nfs v4 client create_session:        5

nfs v4 client destroy_session:        4

nfs v4 client     sequence:       22

nfs v4 client reclaim_comp:        5

nfs v4 client   secinfo_no:        5

nfs v4 client destroy_clientid:        4

 

 

ちなみに photon の GitHub にも、少しだけ NFS についての説明があります。

photon/nfs-utils.md at master · vmware/photon · GitHub

 

以上、Photon OS 2.0 の NFS の様子でした。

Passed VCP6.5-DCV after official training without foundation exam

$
0
0

I passed VCP6.5-DCV exam by taking official training, still no email received from VMWare but I can see my result under vmware certification manager, someone told me I have to take online vSphere 6.5 Foundations Exam (2V0-602) too to get my final VCP6.5-DCV certification, is it true?

Viewing all 176561 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>