Difference between revisions of "Installation (ESX)"

Jump to navigation Jump to search
2,898 bytes added ,  10:45, 6 April 2010
→‎Procedures: Added Change Service Console IP and Timezone
(→‎Storage: Added disk and VM recovery)
(→‎Procedures: Added Change Service Console IP and Timezone)
Line 451: Line 451:
*# <code> kill <pid> </code>
*# <code> kill <pid> </code>
*# <code> vmkload_mod -u netflow </code>
*# <code> vmkload_mod -u netflow </code>
== Change Service Console IP Information ==
Logged in as root use the esxcfg-vswif command <code>esxcfg-vswif <options> [vswif] </code>
Description: Creates and updates service console network settings. This command is used if you cannot manage the ESX Server host through the VI Client because of network configuration issues.
Note that the -l command will display the names(s) of the virtual switches which must be specified on the other commands so the trailing [vswif] is not optional on most commands.
Options:
-a Add vswif, requires IP parameters. Automatically enables interface.
-d Delete vswif.
-l List configured vswifs.
-e Enable this vswif interface.
-s Disable this vswif interface.
-p Set the portgroup name of the vswif.
-i <x.x.x.x> or DHCP The IP address for this vswif or specify DHCP to use DHCP for this address.
-n <x.x.x.x> The IP netmask for this vswif.
-b <x.x.x.x> The IP broadcast address for this vswif. (not required if netmask and ip are set)
-c Check to see if a virtual NIC exists. Program outputs a 1 if the given vswif exists, 0 otherwise.
-D Disable all vswif interfaces. (WARNING: This may result in a loss of network connectivity to the Service Console)
-E Enable all vswif interfaces and bring them up.
-r Restore all vswifs from the configuration file. (Internal use only)
-h Displays command help.
Note: You set the Service Console default gateway by editing the /etc/sysconfig/network file or through the VI Client under Configuration, DNS & Routing.
Note: You set the Service Console VLAN (to 1234) using a similar command to:  <code>esxcfg-vswitch -v1234 -p"Service Console" vSwitch0></code>
== Change Timezone ==
# Log into the ESX Server service console as root.
# Find the desired time zone under the directory /usr/share/zoneinfo
# Edit <code> /etc/sysconfig/clock </code> Edit this file to show the relative path to the file representing the new time zone, and ensure that UTC and ARC are set as shown:
#* <code> ZONE="Etc/GMT" </code>
#* <code> UTC=true </code>
#* <code> ARC=false </code>
# Copy the desired time zone file to /etc/localtime
#* <code> cp /usr/share/zoneinfo/GMT /etc/localtime </code>
# Confirm that /etc/localtime has been updated with the correct zoneinfo data using the following steps:
# Reference the zoneinfo file used in step 2 and compare it to /etc/localtime, if the files are identical, your prompt will return without any output.
#* <code> diff /etc/localtime /usr/share/zoneinfo/GMT </code>
# Confirm the system and hardware clocks are correct. Use the Linux date command to check and set the correct time if necessary.
#* Set the hardware clock to match the correct system time.
#* Set the system clock to the local date and time: \\\\ date MMDDhhmmYYYY
# Update the hardware clock with current time of the system clock;
#* <code> /sbin/hwclock --systohc </code>


= Troubleshooting =
= Troubleshooting =

Navigation menu