Difference between revisions of "HyperV"

From Warwick Student Cinema
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
{{Outdated}}
  +
 
Hyper-V is running on [[Tristar]].
 
Hyper-V is running on [[Tristar]].
   
Line 13: Line 15:
 
## Additional steps
 
## Additional steps
 
# Rename the machine, add new name to LDAP:
 
# Rename the machine, add new name to LDAP:
## Visit [https://www.filmsoc.warwick.ac.uk/phpldapadmin],
+
## Visit [https://www.filmsoc.warwick.ac.uk/phpldapadmin PHP LDAP Admin],
 
## Login with LDAP admin password
 
## Login with LDAP admin password
 
## Expand ''Computers'' in the left-hand list
 
## Expand ''Computers'' in the left-hand list
Line 20: Line 22:
 
## In the ''Destination DN'' field, change the ''uid'' attribute to the name of the new machine and click ''Copy''
 
## In the ''Destination DN'' field, change the ''uid'' attribute to the name of the new machine and click ''Copy''
 
## Update the ''CN'', ''Description'', and ''displayName'' fields, click ''Save Changes'', and then click ''Commit''
 
## Update the ''CN'', ''Description'', and ''displayName'' fields, click ''Save Changes'', and then click ''Commit''
  +
# Find the MAC address of the machine
  +
## SSH into [[Dean]] or [[Pearl]]
  +
## Add the MAC address and system name into ''/etc/mac_users'' or ''/etc/mac_servers''
  +
## Restart the firewall using ''/etc/rc5.d/S18firewall restart''
 
==External Links==
 
==External Links==
   

Latest revision as of 15:15, 1 February 2019

Hyper-V is running on Tristar.

Networks

  • User network, NIC #40, IP 192.168.1.40
  • Server network, IP 192.168.1.20

Machines for general usage should be allocated to the "User network".

New machines

  1. Clone off the base image
    1. Open the Hyper-V Management Console (currently installed on Warner)
    2. Connect to Tristar
    3. Additional steps
  2. Rename the machine, add new name to LDAP:
    1. Visit PHP LDAP Admin,
    2. Login with LDAP admin password
    3. Expand Computers in the left-hand list
    4. Select the uid=XXXXX$ entry
    5. Click Copy or move this entry
    6. In the Destination DN field, change the uid attribute to the name of the new machine and click Copy
    7. Update the CN, Description, and displayName fields, click Save Changes, and then click Commit
  3. Find the MAC address of the machine
    1. SSH into Dean or Pearl
    2. Add the MAC address and system name into /etc/mac_users or /etc/mac_servers
    3. Restart the firewall using /etc/rc5.d/S18firewall restart

External Links

TechNet: Hyper-V Walkthrough