Closed Bug 760961 Opened 12 years ago Closed 12 years ago

Create nss-vm-win32-1.community.scl3.mozilla.com (cloned from sea-vm-win32-2)

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86_64
Windows 7
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Assigned: afernandez)

References

Details

Actions here:

IT:

  * Clone a new VM for NSS from sea-vm-win32-2.community.scl3.mozilla.com
    * Current Admin PW is the SeaMonkey password, and machine can go down at your leisure
  * Ensure IP/Hostname is proper for NSS here
  * Have someone [probably dustin] change PW's for Kaie
    * Needs Administrator/cltbld pw changed
    * Needs Autologin pw changed in registry for cltbld user
  * Might not need 80 GB E:\ kaie should be able to tell you if you can shrink that.

Kaie's TODO:
 * Tell IT what a sane E:\ drive space would be for you (E:\ is where your builds/source should live -- current is 80GB, I suggest 20 or 30 GB, likely)
 * Setup ssh keys, and do initial known_hosts connections
 * Sanity check the expected binaries/scripts are all installed (or easily installable by kaie)
 * Touch base with Callek/IT if there is any followup work needed.
 * Verify that the VM can reach all systems/services you need (ensuring that network flows are in place)
 * disable or remove the cltbld/Start Menu/startup/*.bat file that attempts to startup buildbot on the cltbld account.

Notes [for kaie]:
 * This machine is set to timesync with microsofts ntp timeserver, you can change this at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters if desired.
 * mozilla-build is in D:\mozilla-build, does have buildbot installed/etc. 
 * Python 2.5 and 2.7 are available
 * MSVC2010 is installed in d:\vs2010
 * You have ssh available (as cltbld, and dumps you into a MSDOS shell, not a unix-like bash/sh shell)
   * pro-tip: launch |D:\mozilla-build\bin\bash.exe --login| to get that functionality, but a slower response-time from this ssh session.
 * You have VNC available as cltbld as well.
 * RDP is preferred for maintenance, login as Administrator

-- It is possible that I missed something, but I don't believe so, and this should meet all your needs, feel free to contact/touch base with me if you need assistance/help/whatever.
Assignee: server-ops → afernandez
nss-vm-win32-1.community.scl3.mozilla.com is online.

:dustin will update when logins changed.

Kaie if you need E:\ reduced or need anything else changed, please let me know.
Aj's got the image done, and I reset the password to the NSS password.
I reset the autologin password, too.
Depends on: 763253
Additional TODO for (if dustin didn't), setup hostname properly on windows here. (Less important since we don't use DHCP for IP address, but still very very useful)
Kaie, you *might* need to perform the following command (but it has NO harm for us if you do, so probably simpler just to do it)

from a windows cmd shell as administrator (sorry that I missed it):

move d:\mozilla-build\vim\vim72\install.exe d:\mozilla-build\vim\vim72\vim-install.exe
I don't understand the status of this bug.

Some of your comments imply that you want me to login, but how do I login? What's the hostname? Can I use rdesktop? Should I use username "ctlbld" to login with the NSS password?
Ok, I tried to login using usernames "kaie" or "ctlbld" to nss-vm-win32-1.community.scl3.mozilla.com,
I get a prompt for a password,
I use the password that Dustin had given me (the one that works on e.g. nss-vm-darwin9-1), but this new windows box doesn't accept the password.
Summary: Clone community VM for NSS from sea-vm-win32-2 → Create nss-vm-win32-1.community.scl3.mozilla.com (cloned from sea-vm-win32-2)
I learned the rdesktop service listens on port 3389. I forwarded it, and I can indeed use rdesktop to initiate a desktop session to this new VM.

However, I cannot login, both usernames "kaie" nor "ctlbld" work with the password I have.
I was able to login using Administrator, thanks!
I'll work on the comments found in this bug.
(In reply to Kai Engert (:kaie) from comment #8)
> However, I cannot login, both usernames "kaie" nor "ctlbld" work with the
> password I have.

FYI the builder username is "cltbld" incase that wasn't a bug-only typo.

And for added sanity you'll want to run your scripts as the cltbld user, imo.
30 GB for e: would be sufficient
All looks good so far. Details:


>  * Setup ssh keys, and do initial known_hosts connections

I don't think I'll use ssh, there isn't much to be done with a DOS prompt.


>  * Sanity check the expected binaries/scripts are all installed (or easily
> installable by kaie)

I was able to run start-msvc8 and see that MSVC compilers and mozilla-build tools are installed, looks good to me for now.


>  * Verify that the VM can reach all systems/services you need (ensuring that
> network flows are in place)

I can ping the outside world, cvs, smtp, looks good to me.


>  * disable or remove the cltbld/Start Menu/startup/*.bat file that attempts
> to startup buildbot on the cltbld account.

I edited the file and put "REM" at the start of each line. Let's see if I'll use it later for automatic startup of the NSS build script.


> Notes [for kaie]:
>  * This machine is set to timesync with microsofts ntp timeserver

Should be fine


>  * mozilla-build is in D:\mozilla-build, does have buildbot installed/etc. 

Thanks. I intend to simply start a script. (I probably won't use buildbot, don't know anything about it).


>  * RDP is preferred for maintenance, login as Administrator

Ok thanks, when reading this earlier I didn't get that RDP means Remote Desktop...

Because I have RDP, I don't need VNC.
(In reply to Justin Wood (:Callek) from comment #5)
> move d:\mozilla-build\vim\vim72\install.exe
> d:\mozilla-build\vim\vim72\vim-install.exe

done
I assume I should wait until you are done with shrinking e:
Depends on: 764569
Bug 764569 was WONTFIXed.

I was able to configure the VM for NSS testing.
I documented the setup at https://wiki.mozilla.org/NSS:WindowsTinderbox

We already got a first successful build/test cycle.

Marking FIXED. Thank you!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 765013
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.