NAMEWITHELD12
asked on
VMWARE CLI command to increase timeout values for VM migration task from a command line DUMMY !!!
ok, I am paranoid that I am going to break some thing
so please check my logic THANKS!!!!!
I am attempting to alter the vpxa.cfg file on my ESXi 5.5 host to increase the time out value
I have made a backup copy of the vpxa.cfg file
I have CHMOD the vpxa.cfg file with a CHMOD 600 and am logged is as root
-rw-r--r-T 1 root root 0 Nov 20 00:35 dasConfig.xml
-r--r--r-- 1 root root 2198 Feb 13 15:29 vpxa.bac
-rw------- 1 root root 2198 Feb 9 20:48 vpxa.cfg
so it looks like I have the correct rights to modify the file
I am attempting to enter this text into the vpxa.cfg file with winscp
I am confused about the ".." in the instructions I dont see any existing ".." in the file ,,I think it just means that there is some other things from the start of the config section to the end of it
so it looks like I just need to
add the lines in that are BOLDED below , save the file and reset the rights with CHMOD back to what they were
<config>
<task>
<timeout>10800</timeout>
<task>
<dvs>
<portSyncBatchLimit>100</p ortSyncBat chLimit>
</dvs>
<httpNfc>
<accessMode>proxyAuto</acc essMode>
<enabled>true</enabled>
</httpNfc>
<level id="SoapAdapter.HTTPServic e">
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS ervice</lo gName>
</level>
<level id="SoapAdapter.HTTPServic e.HttpConn ection">
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS ervice.Htt pConnectio n</logName >
</level>
<log>
<level>verbose</level>
<maxFileNum>10</maxFileNum >
<maxFileSize>1048576</maxF ileSize>
<memoryLevel>verbose</memo ryLevel>
<outputToConsole>false</ou tputToCons ole>
<outputToFiles>false</outp utToFiles>
<outputToSyslog>true</outp utToSyslog >
<syslog>
<facility>local4</facility >
<ident>Vpxa</ident>
<logHeaderFile>/var/run/vm ware/vpxaL ogHeader.t xt</logHea derFile>
</syslog>
</log>
<nfc>
<loglevel>error</loglevel>
</nfc>
<task>
<completedMaxEntries>1000< /completed MaxEntries >
<maxThreads>98</maxThreads >
<minCompletedLifetime>120< /minComple tedLifetim e>
</task>
<trace>
<mutex>
<profiledMutexes>InvtLock< /profiledM utexes>
</mutex>
<vmomi>
<calls>false</calls>
</vmomi>
</trace>
<vmacore>
<http>
<defaultClientPoolConnecti onsPerServ er>300</de faultClien tPoolConne ctionsPerS erver>
</http>
<soap>
<sessionTimeout>1440</sess ionTimeout >
</soap>
<ssl>
<doVersionCheck>false</doV ersionChec k>
</ssl>
<threadPool>
<IoMax>9</IoMax>
<TaskMax>4</TaskMax>
<ThreadStackSizeKb>128</Th readStackS izeKb>
<threadNamePrefix>vpxa</th readNamePr efix>
</threadPool>
</vmacore>
<vpxa>
<bundleVersion>1000000</bu ndleVersio n>
<datastorePrincipal>root</ datastoreP rincipal>
<hostIp>192.168.56.80</hos tIp>
<hostKey>5256572c-030c-fdd 6-12e4-c3a 45317ae95< /hostKey>
<hostPort>443</hostPort>
<licenseExpiryNotification Threshold> 15</licens eExpiryNot ificationT hreshold>
<memoryCheckerTimeInSecs>3 0</memoryC heckerTime InSecs>
<serverIp>192.168.56.100</ serverIp>
<serverPort>902</serverPor t>
</vpxa>
<workingDir>/var/log/vmwar e/vpx</wor kingDir>
</config>
so please check my logic THANKS!!!!!
I am attempting to alter the vpxa.cfg file on my ESXi 5.5 host to increase the time out value
I have made a backup copy of the vpxa.cfg file
I have CHMOD the vpxa.cfg file with a CHMOD 600 and am logged is as root
-rw-r--r-T 1 root root 0 Nov 20 00:35 dasConfig.xml
-r--r--r-- 1 root root 2198 Feb 13 15:29 vpxa.bac
-rw------- 1 root root 2198 Feb 9 20:48 vpxa.cfg
so it looks like I have the correct rights to modify the file
I am attempting to enter this text into the vpxa.cfg file with winscp
I am confused about the ".." in the instructions I dont see any existing ".." in the file ,,I think it just means that there is some other things from the start of the config section to the end of it
so it looks like I just need to
add the lines in that are BOLDED below , save the file and reset the rights with CHMOD back to what they were
<config>
<task>
<timeout>10800</timeout>
<task>
<dvs>
<portSyncBatchLimit>100</p
</dvs>
<httpNfc>
<accessMode>proxyAuto</acc
<enabled>true</enabled>
</httpNfc>
<level id="SoapAdapter.HTTPServic
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS
</level>
<level id="SoapAdapter.HTTPServic
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS
</level>
<log>
<level>verbose</level>
<maxFileNum>10</maxFileNum
<maxFileSize>1048576</maxF
<memoryLevel>verbose</memo
<outputToConsole>false</ou
<outputToFiles>false</outp
<outputToSyslog>true</outp
<syslog>
<facility>local4</facility
<ident>Vpxa</ident>
<logHeaderFile>/var/run/vm
</syslog>
</log>
<nfc>
<loglevel>error</loglevel>
</nfc>
<task>
<completedMaxEntries>1000<
<maxThreads>98</maxThreads
<minCompletedLifetime>120<
</task>
<trace>
<mutex>
<profiledMutexes>InvtLock<
</mutex>
<vmomi>
<calls>false</calls>
</vmomi>
</trace>
<vmacore>
<http>
<defaultClientPoolConnecti
</http>
<soap>
<sessionTimeout>1440</sess
</soap>
<ssl>
<doVersionCheck>false</doV
</ssl>
<threadPool>
<IoMax>9</IoMax>
<TaskMax>4</TaskMax>
<ThreadStackSizeKb>128</Th
<threadNamePrefix>vpxa</th
</threadPool>
</vmacore>
<vpxa>
<bundleVersion>1000000</bu
<datastorePrincipal>root</
<hostIp>192.168.56.80</hos
<hostKey>5256572c-030c-fdd
<hostPort>443</hostPort>
<licenseExpiryNotification
<memoryCheckerTimeInSecs>3
<serverIp>192.168.56.100</
<serverPort>902</serverPor
</vpxa>
<workingDir>/var/log/vmwar
</config>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
DONE thanks all!
<config>
<dvs>
<portSyncBatchLimit>100</p ortSyncBat chLimit>
</dvs>
<httpNfc>
<accessMode>proxyAuto</acc essMode>
<enabled>true</enabled>
</httpNfc>
<level id="SoapAdapter.HTTPServic e">
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS ervice</lo gName>
</level>
<level id="SoapAdapter.HTTPServic e.HttpConn ection">
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS ervice.Htt pConnectio n</logName >
</level>
<log>
<level>verbose</level>
<maxFileNum>10</maxFileNum >
<maxFileSize>1048576</maxF ileSize>
<memoryLevel>verbose</memo ryLevel>
<outputToConsole>false</ou tputToCons ole>
<outputToFiles>false</outp utToFiles>
<outputToSyslog>true</outp utToSyslog >
<syslog>
<facility>local4</facility >
<ident>Vpxa</ident>
<logHeaderFile>/var/run/vm ware/vpxaL ogHeader.t xt</logHea derFile>
</syslog>
</log>
<nfc>
<loglevel>error</loglevel>
</nfc>
<task>
<completedMaxEntries>1000< /completed MaxEntries >
<maxThreads>98</maxThreads >
<minCompletedLifetime>120< /minComple tedLifetim e>
<timeout>10800</timeout>
</task>
<trace>
<mutex>
<profiledMutexes>InvtLock< /profiledM utexes>
</mutex>
<vmomi>
<calls>false</calls>
</vmomi>
</trace>
<vmacore>
<http>
<defaultClientPoolConnecti onsPerServ er>300</de faultClien tPoolConne ctionsPerS erver>
</http>
<soap>
<sessionTimeout>10800</ses sionTimeou t>
</soap>
<ssl>
<doVersionCheck>false</doV ersionChec k>
</ssl>
<threadPool>
<IoMax>9</IoMax>
<TaskMax>4</TaskMax>
<ThreadStackSizeKb>128</Th readStackS izeKb>
<threadNamePrefix>vpxa</th readNamePr efix>
</threadPool>
</vmacore>
<vpxa>
<bundleVersion>1000000</bu ndleVersio n>
<datastorePrincipal>root</ datastoreP rincipal>
<hostIp>192.168.56.80</hos tIp>
<hostKey>5256572c-030c-fdd 6-12e4-c3a 45317ae95< /hostKey>
<hostPort>443</hostPort>
<licenseExpiryNotification Threshold> 15</licens eExpiryNot ificationT hreshold>
<memoryCheckerTimeInSecs>3 0</memoryC heckerTime InSecs>
<serverIp>192.168.56.100</ serverIp>
<serverPort>902</serverPor t>
</vpxa>
<workingDir>/var/log/vmwar e/vpx</wor kingDir>
</config>
<config>
<dvs>
<portSyncBatchLimit>100</p
</dvs>
<httpNfc>
<accessMode>proxyAuto</acc
<enabled>true</enabled>
</httpNfc>
<level id="SoapAdapter.HTTPServic
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS
</level>
<level id="SoapAdapter.HTTPServic
<logLevel>info</logLevel>
<logName>SoapAdapter.HTTPS
</level>
<log>
<level>verbose</level>
<maxFileNum>10</maxFileNum
<maxFileSize>1048576</maxF
<memoryLevel>verbose</memo
<outputToConsole>false</ou
<outputToFiles>false</outp
<outputToSyslog>true</outp
<syslog>
<facility>local4</facility
<ident>Vpxa</ident>
<logHeaderFile>/var/run/vm
</syslog>
</log>
<nfc>
<loglevel>error</loglevel>
</nfc>
<task>
<completedMaxEntries>1000<
<maxThreads>98</maxThreads
<minCompletedLifetime>120<
<timeout>10800</timeout>
</task>
<trace>
<mutex>
<profiledMutexes>InvtLock<
</mutex>
<vmomi>
<calls>false</calls>
</vmomi>
</trace>
<vmacore>
<http>
<defaultClientPoolConnecti
</http>
<soap>
<sessionTimeout>10800</ses
</soap>
<ssl>
<doVersionCheck>false</doV
</ssl>
<threadPool>
<IoMax>9</IoMax>
<TaskMax>4</TaskMax>
<ThreadStackSizeKb>128</Th
<threadNamePrefix>vpxa</th
</threadPool>
</vmacore>
<vpxa>
<bundleVersion>1000000</bu
<datastorePrincipal>root</
<hostIp>192.168.56.80</hos
<hostKey>5256572c-030c-fdd
<hostPort>443</hostPort>
<licenseExpiryNotification
<memoryCheckerTimeInSecs>3
<serverIp>192.168.56.100</
<serverPort>902</serverPor
</vpxa>
<workingDir>/var/log/vmwar
</config>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks and sorry for the delay
ASKER
thanks